PIC17C42A-16/P Microchip Technology, PIC17C42A-16/P Datasheet - Page 92
![IC MCU OTP 2KX16 PWM 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC17C42A-16/P
Manufacturer Part Number
PIC17C42A-16/P
Description
IC MCU OTP 2KX16 PWM 40DIP
Manufacturer
Microchip Technology
Series
PIC® 17Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC17C42A-16P.pdf
(241 pages)
3.PIC17C42A-16P.pdf
(4 pages)
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
Company:
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Company:
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC17C4X
Steps to follow when setting up an Asynchronous
Reception:
1.
2.
3.
4.
5.
6.
FIGURE 13-8: ASYNCHRONOUS RECEPTION
TABLE 13-6:
DS30412C-page 92
Address
16h, Bank 1
13h, Bank 0
14h, Bank 0
17h, Bank 1
15h, Bank 0
17h, Bank 0
Legend: x = unknown, u = unchanged, - = unimplemented read as a '0', shaded cells are not used for asynchronous reception.
Note 1: Other (non power-up) resets include: external reset through MCLR and Watchdog Timer Reset.
(RA4/RX/DT pin)
baud rate.
the SYNC bit and setting the SPEN bit.
pletes and an interrupt will be generated if the
RCIE bit was set.
Initialize the SPBRG register for the appropriate
Enable the asynchronous serial port by clearing
If interrupts are desired, then set the RCIE bit.
If 9-bit reception is desired, then set the RX9 bit.
Enable the reception by setting the CREN bit.
The RCIF bit will be set when reception com-
Rcv buffer reg
(interrupt flag)
Read Rcv
buffer reg
OERR bit
Note: This timing diagram shows three words appearing on the RX input. The RCREG (receive buffer) is read after the third word,
Rcv shift
RCREG
reg
CREN
RCIF
Name
PIR
RCSTA
RCREG
PIE
TXSTA
SPBRG
RX
causing the OERR (overrun) bit to be set.
REGISTERS ASSOCIATED WITH ASYNCHRONOUS RECEPTION
Start
bit
Baud rate generator register
CSRC
SPEN
RBIF
RBIE
Bit 7
RX7
bit0
TMR3IF TMR2IF TMR1IF
TMR3IE TMR2IE TMR1IE
bit1
Bit 6
RX9
RX6
TX9
SREN
TXEN
Bit 5
RX5
bit7/8
CREN
SYNC
Bit 4
RX4
Stop
bit
Word 1
RCREG
Start
CA2IF
CA2IE
bit
Bit 3
RX3
—
—
bit0
7.
8.
9.
CA1IF
FERR
CA1IE
Note:
Bit 2
RX2
—
Read RCSTA to get the ninth bit (if enabled) and
FERR bit to determine if any error occurred dur-
ing reception.
Read RCREG for the 8-bit received data.
If an overrun error occurred, clear the error by
clearing the OERR bit.
bit7/8
OERR
TRMT
To terminate a reception, either clear the
SREN and CREN bits, or the SPEN bit.
This will reset the receive logic, so that it
will be in the proper state when receive is
re-enabled.
Bit 1
TXIF
TXIE
RX1
Stop
bit
Word 2
RCREG
RX9D
TX9D
RCIF
RCIE
Bit 0
RX0
Start
bit
1996 Microchip Technology Inc.
0000 0010
0000 -00x
xxxx xxxx
0000 0000
0000 --1x
xxxx xxxx
Power-on
Value on
Reset
bit7/8
Stop
Word 3
bit
other resets
Value on all
0000 0010
0000 -00u
uuuu uuuu
0000 0000
0000 --1u
uuuu uuuu
(Note1)