| Electronic Components Datasheet Search |
|
M32C83T Datasheet(PDF) 322 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M32C83T Datasheet(HTML) 322 Page - Renesas Technology Corp |
|
322 / 527 page ![]() Page 299 8 8 4 f o 6 0 0 2 , 1 3 . n a J 1 3 . 1 . v e R 1 3 1 0 - 4 3 0 0 B 9 0 J E R 21. Intelligent I/O (Group 0, 1 Communication Function) ) T 3 8 / C 2 3 M , 3 8 / C 2 3 M ( p u o r G 3 8 / C 2 3 M 21.4.2 Clock Asynchronous Serial I/O Mode (UART) (Groups 0 and 1) In clock asynchronous serial I/O mode (UART), data is transmitted at a desired bit rate and in a desired transfer data format. Table 21.22 lists specifications of UART mode groups 0 and 1. Table 21.23 lists registers to be used and their settings. Tables 21.24 to 21.27 list pin settings. Figure 21.40 shows an example of transmit operation. Figure 21.41 shows an example of receive operation. Table 21.22 UART Mode Specifications Item Specification Transfer Data Format • Character Bit (transfer data) : 8 bits long • Start bit : 1 bit long • Stop bit : select length from 1 bit or 2 bits Transfer Clock(1, 2) When the CKDIR bit in the GiMR register (i=0, 1) is set to "0" (internal clock) : n : setting value of the GiPO0 register, 000016 to FFFF16. • The GiPO0 register determines the bit rate. Transmit clock is generated in phase-delayed waveform output mode of the chan- nel 3 waveform generation function. Receive clock is generated with the channel 2 time measurement function. Transmit Start Condition Set the registers associated with the waveform generation function, the GiMR register and GiERC register. Then, set as written below after at least one transfer clock cycle. • Set the TE bit in the GiCR register to "1" (transmit enable) • Set the TI bit in the GiCR register to "0" (data in the GiTB register) Receive Start Condition Set the registers associated with the waveform generation function, the GiMR register and GiERC register. Then, set as written below after at least one transfer clock cycle. • Set the RE bit in the GiCR register to "1" (receive enable) • Detect the start bit Interrupt Request • While transmitting, one of the following conditions can be selected to set the SIOiTR bit to "1" (see Figure 10.14): _ The IRS bit in the GiMR register is set to "0" (no data in the GiTB register) and data is transferred to the transmit register from the GiTB register. _ The IRS bit is set to "1" (transmission completed) and data transfer from the transmit register is completed • While receiving, the following condition can be selected to set the SIOiRR bit to "1" (see Figure 10.14) : Data is transferred from the receive register to the GiRB register (data reception is completed) Error detection • Overrun error(3) This error occurs when the final stop bit of the next data is received before reading the GiRB register • Framing Error This error occurs when the number of the stop bits set is not detected Selectable function • Stop bit length The length of the stop bit is selected from 1 bit or 2 bits • LSB first/MSB first Select either bit 0 or bit 7 to transmit/receive data NOTES: 1. The transfer clock must be fBTi divided by six or more. 2. Set the GiPOCR2 register and the GiTMCR2 register. 3. When an overrun error occurs, the GiRB register is indeterminate. fBTi 2(n+2) |
|
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 |