| 전자부품 데이터시트 검색엔진 |
|
AT90SCR100 데이터시트(PDF) 234 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT90SCR100 데이터시트(HTML) 234 Page - ATMEL Corporation |
|
234 / 433 page ![]() 234 TPR0327AY–SMS–30Jan09 AT90SCR100 Table 18-1 contains equations for calculating the baud rate (in bits per second) and for calculat- ing the UBRR0 value for each mode of operation using an internally generated clock source. Some examples of UBRR0 values for some system clock frequencies are found in Table 18-9 on page 254. 18.4.2 Double Speed Operation (U2X0) The transfer rate can be doubled by setting the U2X0 bit in UCSR0A. Setting this bit only has effect for the asynchronous operation. Set this bit to zero when using synchronous operation. Setting this bit will reduce the divisor of the baud rate divider from 16 to 8, effectively doubling the transfer rate for asynchronous communication. Note however that the Receiver will in this case only use half the number of samples (reduced from 16 to 8) for data sampling and clock recovery, and therefore a more accurate baud rate setting and system clock are required when this mode is used. For the Transmitter, there are no downsides. Table 18-1. Equations for Calculating Baud Rate Register Setting Operating Mode Equation for Calculating Baud Rate (1) 1. The baud rate is defined to be the transfer rate in bit per second (bps) BAUD Baud rate (in bits per second, bps) f OSCSystem Oscillator clock frequency injected in UART block: clk IO UBRRn Contents of the UBRRH0 and UBRRL0 Registers, (0-4095) Equation for Calculating UBRR Value Asynchronous Normal mode (U2X0 = 0) Asynchronous Double Speed mode (U2X0 = 1) Synchronous Master mode BAUD f OSC 16 UBRR01 + () ------------------------------------------ = UBRR0 f OSC 16BAUD ------------------------ 1 – = BAUD f OSC 8 UBRR01 + () --------------------------------------- = UBRR0 f OSC 8BAUD -------------------- 1 – = BAUD f OSC 2 UBRR01 + () --------------------------------------- = UBRR0 f OSC 2BAUD -------------------- 1 – = |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |