DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AT90PWM2B-16SU 查看數據表(PDF) - Atmel Corporation

零件编号
产品描述 (功能)
生产厂家
AT90PWM2B-16SU Datasheet PDF : 365 Pages
First Prev 211 212 213 214 215 216 217 218 219 220 Next Last
AT90PWM2/3/2B/3B
The EUSART supports more serial frame formats than the standard USART interface:
• Asynchonous frames
– Standard bit level encoded
– Manchester bit encoded
• Synchronous frames
– In this mode only the Standard bit level encoded is available
19.3 Serial Frames
A serial frame is defined to be one character of data bits with synchronization bits (start and stop
bits), and optionally a parity bit for error checking.
19.3.1
Frame Formats
The EUSART allows to receive and transmit serial frame with the following format:
• 1 start bit
• 5, 6, 7, 8, 9, 13, 14,15,16,17 data bits
• data bits and start bit level encoded or Manchester encoded
• data transmition MSB or LSB first (bit ordering)
• no, even or odd parity bit
• 1 or 2 stop bits:
– Stop bits insertion for transmition
– Stop bits value read access in reception
The frame format used by the EUSART can be configured through the following
USART/EUSART registers:
• UTxS3:0 and URxS3:0 (EUCSRA of EUSART register) select the number of data bits per
frame
• UPM1:0 bits enable and set the type of parity bit (when configured in Manchester mode, the
parity should be fixed to none).
USBS (UCSRC register of USART) and EUSBS (EUCSRB register of EUSART) select the num-
ber of stop bits to be processed respectively by the transmiter and the receiver. The receiver
stores the two stop bit values when configured in Manchester mode. When configured in level
encoded mode, the second stop bit is ignored (behavior similar as the USART).
19.3.2
Parity Bit Calculation
The parity bit behavior is similar to the USART mode, except for the Manchester encoded mode,
where no parity bit can be inserted or detected (should be configured to none with the UPM1:0
bits. The parity bit is calculated by doing an exclusive-or of all the data bits. If odd parity is used,
the result of the exclusive or is inverted. The relation between the parity bit and data bits is as
follows:
Peven = dn 1    d3 d2 d1 d0 0
Podd = dn 1    d3 d2 d1 d0 1
Peven Parity bit using even parity
Podd Parity bit using odd parity
dn
Data bit n of the character
If used, the parity bit is located between the last data bit and first stop bit of a serial frame.
4317K–AVR–03/2013
213

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]