|
M306H2MC-XXXFP Datasheet, PDF (102/210 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER | |||
|
◁ |
MITSUBISHI MICROCOMPUTERS
M306H2MC-XXXFP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
with DATA ACQUISITION CONTROLLER
2.11.2 Clock synchronous serial I/O mode
The clock synchronous serial I/O mode uses a transfer clock to transmit and receive data. Tables
2.11.2 and 2.11.3 list the specifications of the clock synchronous serial I/O mode. Figur 2.11.10 shows
the UARTi transmit/receive mode register.
Table 2.11.2 Specifications of clock synchronous serial I/O mode (1)
Item
Transfer data format
Transfer clock
Transmission/reception control
Transmission start condition
Reception start condition
Interrupt request
generation timing
Error detection
Specification
⢠Transfer data length: 8 bits
⢠When internal clock is selected (bit 3 at addresses 03A016, 03A816, 037816
= â0â) : fi/ 2(n+1) (Note 1) fi = f1, f8, f32
⢠When external clock is selected (bit 3 at addresses 03A016, 03A816, 037816
= â1â) : Input from CLKi pin
_______
_______
_______ _______
⢠CTS function/RTS function/CTS, RTS function chosen to be invalid
⢠To start transmission, the following requirements must be met:
_ Transmit enable bit (bit 0 at addresses 03A516, 03AD16, 037D16) = â1â
_ Transmit buffer empty flag (bit 1 at addresses 03A516, 03AD16, 037D16) = â0â
_______
_______
_ When CTS function selected, CTS input level = âLâ
⢠Furthermore, if external clock is selected, the following requirements must also be met:
_ CLKi polarity select bit (bit 6 at addresses 03A416, 03AC16, 037C16) = â0â:
CLKi input level = âHâ
_ CLKi polarity select bit (bit 6 at addresses 03A416, 03AC16, 037C16) = â1â:
CLKi input level = âLâ
⢠To start reception, the following requirements must be met:
_ Receive enable bit (bit 2 at addresses 03A516, 03AD16, 037D16) = â1â
_ Transmit enable bit (bit 0 at addresses 03A516, 03AD16, 037D16) = â1â
_ Transmit buffer empty flag (bit 1 at addresses 03A516, 03AD16, 037D16) = â0â
⢠Furthermore, if external clock is selected, the following requirements must
also be met:
_ CLKi polarity select bit (bit 6 at addresses 03A416, 03AC16, 037C16) = â0â:
CLKi input level = âHâ
_ CLKi polarity select bit (bit 6 at addresses 03A416, 03AC16, 037C16) = â1â:
CLKi input level = âLâ
⢠When transmitting
_ Transmit interrupt cause select bit (bits 0, 1 at address 03B016, bit 4 at
address 037D16) = â0â: Interrupts requested when data transfer from UARTi
transfer buffer register to UARTi transmit register is completed
_ Transmit interrupt cause select bit (bits 0, 1 at address 03B016, bit 4 at
address 037D16) = â1â: Interrupts requested when data transmission from
UARTi transfer register is completed
⢠When receiving
_ Interrupts requested when data transfer from UARTi receive register to
UARTi receive buffer register is completed
⢠Overrun error (Note 2)
This error occurs when the next data is ready before contents of UARTi
receive buffer register are read out
Note 1: ânâ denotes the value 0016 to FF16 that is set to the UART bit rate generator.
Note 2: If an overrun error occurs, the UARTi receive buffer will have the next data written in. Note also
that the UARTi receive interrupt request bit does not change.
Rev. 1.0
101
|
▷ |