pic16c61 Microchip Technology Inc., pic16c61 Datasheet - Page 113
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
pic16c61
Manufacturer Part Number
pic16c61
Description
8-bit Cmos Microcontrollers Technology
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16C61.pdf
(336 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 113 of 336
- Download datasheet (2Mb)
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 pic16c61
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: