PIC16C63-04I/SP Microchip Technology, PIC16C63-04I/SP Datasheet - Page 113

IC MCU OTP 4KX14 PWM 28DIP

PIC16C63-04I/SP

Manufacturer Part Number
PIC16C63-04I/SP
Description
IC MCU OTP 4KX14 PWM 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C63-04I/SP

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
192 B
Interface Type
I2C, SPI, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
3 bit
Operating Supply Voltage
4 V to 6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
- 40 C
For Use With
DVMCPA - KIT DVR BOARD EVAL SYSTEM MXDEV1
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
 Details
Steps to follow when setting up an Asynchronous
Transmission:
1.
2.
3.
4.
FIGURE 12-8: ASYNCHRONOUS MASTER TRANSMISSION
FIGURE 12-9: ASYNCHRONOUS MASTER TRANSMISSION (BACK TO BACK)
TABLE 12-6:
Address
0Ch
18h
19h
8Ch
98h
99h
Legend: x = unknown, - = unimplemented locations read as '0'. Shaded cells are not used for Asynchronous Transmission.
Note 1: PSPIF and PSPIE are reserved on the PIC16C63/R63/66, always maintain these bits clear.
Write to TXREG reg
Write to TXREG reg
1997 Microchip Technology Inc.
RC6/TX/CK (pin)
TXIF bit
(interrupt reg. flag)
RC6/TX/CK (pin)
Initialize the SPBRG register for the appropriate
baud rate. If a high speed baud rate is desired,
then set bit BRGH. (Section 12.1).
Enable the asynchronous serial port by clearing
bit SYNC and setting bit SPEN.
If interrupts are desired, then set enable bit
TXIE.
If 9-bit transmission is desired, then set transmit
bit TX9.
TRMT bit
(Transmit shift
reg. empty flag)
TXIF bit
(Transmit buffer
reg. empty flag)
TRMT bit
(Transmit shift
reg. empty flag)
2: PIR1<6> and PIE1<6> are reserved, always maintain these bits clear.
BRG output
(shift clock)
BRG output
(shift clock)
Name
PIR1
RCSTA
TXREG USART Transmit Register
PIE1
TXSTA
SPBRG Baud Rate Generator Register
REGISTERS ASSOCIATED WITH ASYNCHRONOUS TRANSMISSION
PSPIE
PSPIF
Note: This timing diagram shows two consecutive transmissions.
SPEN
CSRC
Bit 7
Transmit Shift Reg.
WORD 1
WORD 1
Transmit Shift Reg
(1)
(1)
Word 1
Word 1
Bit 6
RX9
TX9
(2)
(2)
Start Bit
Start Bit
Word 2
SREN
TXEN
RCIF
RCIE
Bit 5
CREN
SYNC
TXIE
Bit 4
TXIF
Bit 0
Bit 0
SSPIE CCP1IE
SSPIF
Bit 3
Bit 1
WORD 1
Bit 1
5.
6.
7.
WORD 1
CCP1IF
BRGH
FERR
Bit 2
Enable the transmission by setting bit TXEN,
which will also set bit TXIF.
If 9-bit transmission is selected, the ninth bit
should be loaded in bit TX9D.
Load data to the TXREG register (starts trans-
mission).
TMR2IF
TMR2IE
OERR
TRMT
Bit 1
Bit 7/8
WORD 2
Transmit Shift Reg.
TMR1IF
TMR1IE
RX9D
TX9D
Bit 7/8
Bit 0
Stop Bit
PIC16C6X
Stop Bit
0000 0000
0000 -00x
0000 0000
0000 0000
0000 -010
0000 0000
Value on
POR,
BOR
Start Bit
DS30234D-page 113
WORD 2
0000 0000
0000 -00x
0000 0000
0000 0000
0000 -010
0000 0000
Value on
all other
Resets
Bit 0

Related parts for PIC16C63-04I/SP