PIC17C42A-16/P Microchip Technology, PIC17C42A-16/P Datasheet - Page 58

IC MCU OTP 2KX16 PWM 40DIP

PIC17C42A-16/P

Manufacturer Part Number
PIC17C42A-16/P
Description
IC MCU OTP 2KX16 PWM 40DIP
Manufacturer
Microchip Technology
Series
PIC® 17Cr

Specifications of PIC17C42A-16/P

Core Size
8-Bit
Program Memory Size
4KB (2K x 16)
Core Processor
PIC
Speed
16MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Type
OTP
Ram Size
232 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC17
No. Of I/o's
33
Ram Memory Size
232Byte
Cpu Speed
16MHz
No. Of Timers
4
No. Of Pwm Channels
2
Embedded Interface Type
USART
Rohs Compliant
Yes
Processor Series
PIC17C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
232 B
Interface Type
SCI, USART
Maximum Clock Frequency
16 MHz
Number Of Programmable I/os
33
Number Of Timers
4
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA17XP401 - DEVICE ADAPTER FOR PIC17C42AAC174001 - MODULE SKT PROMATEII 40DIP
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC17C4X
9.3
PORTC is an 8-bit bi-directional port. The correspond-
ing data direction register is DDRC. A '1' in DDRC con-
figures the corresponding port pin as an input. A '0' in
the DDRC register configures the corresponding port
pin as an output. Reading PORTC reads the status of
the pins, whereas writing to it will write to the port latch.
PORTC is multiplexed with the system bus. When
operating as the system bus, PORTC is the low order
byte of the address/data bus (AD7:AD0). The timing for
the system bus is shown in the Electrical Characteris-
tics section.
FIGURE 9-6:
DS30412C-page 58
Note: I/O pins have protection diodes to V
Note:
PORTC and DDRC Registers
This port is configured as the system bus
when the device’s configuration bits are
selected to Microprocessor or Extended
Microcontroller modes. In the two other
microcontroller modes, this port is a gen-
eral purpose I/O.
BLOCK DIAGRAM OF RC<7:0> PORT PINS
TTL
Input
Buffer
DD
0
1
and Vss.
Data
Port
Q
Q
R
CK
CK
S
D
D
Example 9-2 shows the instruction sequence to initial-
ize PORTC. The Bank Select Register (BSR) must be
selected to Bank 1 for the port to be initialized.
EXAMPLE 9-2:
MOVLB 1
CLRF
MOVLW 0xCF
MOVWF DDRC
PORTC
INSTRUCTION READ
INITIALIZING PORTC
;
;
;
;
;
;
;
;
;
;
to D_Bus
DATA/ADDR_OUT
1996 Microchip Technology Inc.
Select Bank 1
Initialize PORTC data
Value used to initialize
Set RC<3:0> as inputs
data direction
latches before setting
the data direction
register
RC<5:4> as outputs
RC<7:6> as inputs
WR_PORTC
RD_PORTC
WR_DDRC
RD_DDRC
DRV_SYS
Data Bus
EX_EN
IR
SYS BUS
Control

Related parts for PIC17C42A-16/P