| Electronic Components Datasheet Search |
|
H8/3337Y Datasheet(PDF) 293 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3337Y Datasheet(HTML) 293 Page - Renesas Technology Corp |
|
293 / 747 page ![]() 263 Transmitting Serial Data: Follow the procedure in figure 12.5 for transmitting serial data. Start transmitting Read TDRE bit in SSR TDRE = 1? Write transmit data in TDR End of transmission? End 1 2 3 No Yes No Yes SCI initialization: the transmit data output function of the TxD pin is selected automatically. After the TE bit is set to 1, one frame of 1s is output, then transmission is possible. SCI status check and transmit data write: read the serial status register (SSR), check that the TDRE bit is 1, then write transmit data in the transmit data register (TDR) and clear TDRE to 0. If a multiprocessor format is selected, after writing the transmit data write 0 or 1 in the multiprocessor bit transfer (MPBT) in SSR. Transition of the TDRE bit from 0 to 1 can be reported by an interrupt. To continue transmitting serial data: read the TDRE bit to check whether it is safe to write; if TDRE = 1, write data in TDR, then clear TDRE to 0. To end serial transmission: end of transmission can be confirmed by checking transition of the TEND bit from 0 to 1. This can be reported by a TEI interrupt. To output a break signal at the end of serial transmission: set the DDR bit to 1 and clear the DR bit to 0 (DDR and DR are I/O port registers), then clear TE to 0 in SCR. (a) (b) If using multiprocessor format, select MPBT value in SSR Clear TDRE bit to 0 Read TEND bit in SSR TEND = 1? No Yes Output break signal? No Yes Clear TE bit in SCR to 0 4 1. 2. 3. 4. Initialize Set DR = 0, DDR = 1 Serial transmission Figure 12.5 Sample Flowchart for Transmitting Serial Data |
|
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 |