| Electronic Components Datasheet Search |
|
P83CL782HDP Datasheet(PDF) 31 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P83CL782HDP Datasheet(HTML) 31 Page - NXP Semiconductors |
|
31 / 76 page ![]() 1997 Mar 14 31 Philips Semiconductors Product specification Low voltage 8-bit microcontrollers with UART and I2C-bus P83CL781; P83CL782 14.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. 14.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 follows: Baud Rate f osc 12 -------- = Baud Rate 2 SMOD 64 ----------------- f osc × = Baud Rate 2 SMOD 32 ----------------- Timer 1 Overflow Rate. × = 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 24 lists commonly used baud rates and how they can be obtained from Timer 1. Baud Rate 2 SMOD 32 ----------------- f osc 12 256 TH1 – () × {} -------------------------------------------------------- × = Table 24 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 (kb/s) fosc (MHz) SMOD C/T TIMER 1 MODE RELOAD VALUE 1000.0(1) 12.000 X(2) XX X 375.0(3) 12.000 1 X X X 62.5(4) 12.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 |