| Electronic Components Datasheet Search |
|
H8/3021 Datasheet(PDF) 394 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3021 Datasheet(HTML) 394 Page - Renesas Technology Corp |
|
394 / 712 page ![]() 11. Serial Communication Interface Rev.2.00 Mar. 22, 2007 Page 370 of 684 REJ09B0352-0200 In receiving, the SCI operates as follows. • The SCI monitors the receive data line. When it detects a start bit, the SCI synchronizes internally and starts receiving. • Receive data is stored in RSR in order from LSB to MSB. • The parity bit and stop bit are received. After receiving data, the SCI makes the following checks: ⎯ Parity check: The number of 1s in the receive data must match the even or odd parity setting of the O/ E bit in SMR. ⎯ Stop bit check: The stop bit value must be 1. If there are two stop bits, only the first stop bit is checked. ⎯ Status check: The RDRF flag must be 0 so that receive data can be transferred from RSR into RDR. If these checks all pass, the RDRF flag is set to 1 and the received data is stored in RDR. If one of the checks fails (receive error), the SCI operates as indicated in table 11.11. Note: When a receive error occurs, further receiving is disabled. In receiving, the RDRF flag is not set to 1. Be sure to clear the error flags. • When the RDRF flag is set to 1, if the RIE bit is set to 1 in SCR, a receive-data-full interrupt (RXI) is requested. If the ORER, PER, or FER flag is set to 1 and the RIE bit in SCR is also set to 1, a receive-error interrupt (ERI) is requested. Table 11.11 Receive Error Conditions Receive Error Abbreviation Condition Data Transfer Overrun error ORER Receiving of next data ends while RDRF flag is still set to 1 in SSR Receive data not transferred from RSR to RDR Framing error FER Stop bit is 0 Receive data transferred from RSR to RDR Parity error PER Parity of receive data differs from even/odd parity setting in SMR Receive data transferred from RSR to RDR |
|
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 |