| Electronic Components Datasheet Search |
|
P89CV51RB2FBC Datasheet(PDF) 34 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P89CV51RB2FBC Datasheet(HTML) 34 Page - NXP Semiconductors |
|
34 / 73 page ![]() P89CV51RB2_RC2_RD2_1 © NXP B.V. 2007. All rights reserved. Product data sheet Rev. 01 — 5 October 2007 34 of 73 NXP Semiconductors P89CV51RB2/RC2/RD2 80C51 with 1 kB RAM, SPI 6.6 UART The UART operates in all standard modes. Enhancements over the standard 80C51 UART include framing error detection, and automatic address recognition. 6.6.1 Mode 0 Serial data enters and exits through RXD, and TXD outputs the shift clock. Only 8 bits are transmitted or received, LSB first. The baud rate is fixed at 1 ⁄ 6 of the CPU clock frequency. The UART configured to operate in this mode outputs serial clock on the TXD line no matter whether it sends or receives data on the RXD line. 6.6.2 Mode 1 10 bits are transmitted (through TXD) or received (through RXD): a start bit (logical 0), 8 data bits (LSB first), and a stop bit (logical 1). When data is received, the stop bit is stored in RB8 in special function register SCON. The baud rate is variable and is determined by the Timer 1/Timer 2 overflow rate. 6.6.3 Mode 2 11 bits are transmitted (through TXD) or received (through RXD): start bit (logical 0), 8 data bits (LSB first), a programmable 9th data bit, and a stop bit (logical 1). When data is transmitted, the 9th data bit (TB8 in special function register SCON) can be assigned the value of 0 or (e.g. the parity bit (P in special function register PSW) could be moved into bit TB8). When data is received, the 9th data bit goes into RB8 in special function register SCON, while the stop bit is ignored. The baud rate is programmable to either 1 ⁄ 16 or 1 ⁄ 32 of the CPU clock frequency, as determined by the SMOD1 bit in PCON. 6.6.4 Mode 3 11 bits are transmitted (through TXD) or received (through RXD): a start bit (logical 0), 8 data bits (LSB first), a programmable 9th data bit, and a stop bit (logical 1). In fact, Mode 3 is the same as Mode 2 in all respects except baud rate. The baud rate in mode 3 is variable and is determined by the Timer 1/Timer 2 overflow rate. Table 23. Timer 2-generated commonly used baud rates Rate Oscillator frequency Timer 2 RCAP2H RCAP2L 750 kBd 12 MHz FF FF 19.2 kBd 12 MHz FF D9 9.6 kBd 12 MHz FF B2 4.8 kBd 12 MHz FF 64 2.4 kBd 12 MHz FE C8 600 Bd 12 MHz FB 1E 220 Bd 12 MHz F2 AF 600 Bd 6 MHz FD 8F 220 Bd 6 MHz F9 57 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |