| Electronic Components Datasheet Search |
|
T83C5121 Datasheet(PDF) 86 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
T83C5121 Datasheet(HTML) 86 Page - ATMEL Corporation |
|
86 / 110 page ![]() 86 T8xC5121 4164E–SCR–02/04 Reception (Mode 0) To start a reception in mode 0, write to SCON register clearing SM0, SM1 and RI bits and setting the REN bit. As shown in Figure 39, Clock is pulsed and the LSB (D0) is sampled on the RXD pin. The D0 bit is then shifted into the shift register. After eight sampling, the MSB (D7) is shifted into the shift register, and hardware asserts RI bit to indicate a completed recep- tion. Software can then read the received byte from SBUF register. Figure 39. Reception Waveforms (Mode 0) Baud Rate Selection (Mode 0) In mode 0, baud rate can be either fixed or variable. As shown in Figure 40, the selection is done using M0SRC bit in BDRCON register. Figure 41 gives the baud rate calculation formulas for each baud rate source. Figure 40. Baud Rate Source Selection (Mode 0) Figure 41. Baud Rate Formulas (Mode 0) Write to SCON TXD RXD RI D0 D1 D2 D3 D4 D5 D6 D7 Set REN, Clear RI 0 1 M0SRC BDRCON.0 PER CLOCK ÷ 6 To Serial Port IBRG CLOCK Baud_Rate = 6 (1-SPD) ⋅ 32 ⋅ (256 -BRL) 2 SMOD1 ⋅ F PER BRL = 256 - 6 (1-SPD) ⋅ 32 ⋅ Baud_Rate 2 SMOD1 ⋅ F PER a. Fixed Formula b. Variable Formula Baud_Rate = 6 FPER |
|
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 |