| Electronic Components Datasheet Search |
|
P80CL31 Datasheet(PDF) 22 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P80CL31 Datasheet(HTML) 22 Page - NXP Semiconductors |
|
22 / 68 page ![]() 1997 Apr 15 22 Philips Semiconductors Product specification Low voltage 8-bit microcontrollers with UART P80CL31; P80CL51 13.3 Baud rates The baud rate in Mode 0 is fixed and may be calculated as: The baud rate in Mode 2 depends on the value of the SMOD bit in Special Function Register PCON and may be calculated as: • If SMOD = 0 (value on reset), the baud rate is 1⁄64 × fosc • If SMOD = 1, the baud rate is 1⁄32 × fosc The baud rates in Modes 1 and 3 are determined by the Timer 1 or Timer 2 overflow rate. 13.3.1 USING TIMER 1 TO GENERATE BAUD RATES When Timer 1 is used as the Baud Rate Generator, the baud rates in Modes 1 and 3 are determined by the Timer 1 overflow rate and the value of the SMOD bit as Baud Rate f osc 12 -------- = Baud Rate 2 SMOD 64 ----------------- f osc × = follows: The Timer 1 interrupt should be disabled in this application. The Timer itself can be configured for either ‘timer’ or ‘counter’ operation in any of its 3 running modes. In most typical applications, it is configured for ‘timer’ operation, in the Auto-reload mode (high nibble of TMOD = 0010B). In this case the baud rate is given by the formula: By configuring Timer 1 to run as a 16-bit timer (high nibble of TMOD = 0001B), and using the Timer 1 interrupt to do a 16-bit software reload, very low baud rates can be achieved. Table 8 lists commonly used baud rates and how they can be obtained from Timer 1. Baud Rate 2 SMOD 32 ----------------- Timer 1 Overflow Rate. × = Baud Rate 2 SMOD 32 ----------------- f osc 12 256 TH1 – () × {} -------------------------------------------------------- × = Table 8 Commonly used baud rates generated by Timer 1 Notes 1. Maximum in Mode 0. 2. X = don’t care. 3. Maximum in Mode 2. 4. Maximum in Modes 1 and 3. BAUD RATE (kbits/s) fosc (MHz) SMOD C/T TIMER 1 MODE RELOAD VALUE 1330.0(1) 16.000 X(2) XX X 500.0(3) 16.000 1 X X X 83.3(4) 16.000 1 0 Mode 2 FFH 19.2 11.059 1 0 Mode 2 FDH 9.6 11.059 0 0 Mode 2 FDH 4.8 11.059 0 0 Mode 2 FAH 2.4 11.059 0 0 Mode 2 F4H 1.2 11.059 0 0 Mode 2 E8H 137.5 11.986 0 0 Mode 2 1DH 110.0 6.000 0 0 Mode 2 72H 110.0 12.000 0 0 Mode 1 FEEBH |
|
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 |