|
M37735MHBXXXFP Datasheet, PDF (35/90 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER | |||
|
◁ |
PRELIMINARY NSootimcee: pTahriasmisentroict alimfinitsalasrpeescuifbicjeactitotno. change.
MITSUBISHI MICROCOMPUTERS
M37735MHBXXXFP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
The internal/external clock polarity is selected with bit 6 (CPL) of the
UARTj transmit/receive control register 0. When bit 6 is â0â, transmit
data is output at the CLKjâs falling edge in transmitting, received data
is input at the CLKkâs rising edge in receiving, and the CLKi level is
âHâ not in transferring (transmitting/receiving). When bit 6 is â1â,
reversely, transmit data is output at the CLKjâs rising edge in
transmitting, received data is input at the CLKkâs falling edge in
receiving, and the CLKi level is âLâ not in transferring. Bit transfer
order of transmit/received data, which is LSB first or MSB first (Note),
is selected with bit 7 (TFM) of the UARTj transmit/receive control
register 0. LSB first is selected when bit 7 is â0â, and MSB first is
selected when bit 7 is â1â. However, UART2âs function is fixed to the
function specified by TxS=CPL=TFM=â0â, and it cannot be changed.
Note that, only in the UART0 transmission mode, the transmission
clock can be output not only from the CLK0 pin but also from the
other output pins (CLKS0, CLKS1). Transmission clock output multiple-
selection mode is set with the serial transmit control register and
others. For details, refer to the section on transmission.
Note. When LSB first is selected, data is transmitted/received
beginning at the least significant bit (LSB). When MSB first is
selected, data is transmitted/received beginning at the most
significant bit (MSB).
Transmission
Transmission is started when the bit 0 (TEj flag) of the UARTj transmit/
receive control register 1 is â1â, bit 1 (TIj flag) of one is â0â, and the
CTSj input is âLâ.
Transmit data is output each time when the transmission clock (CLKj)
level changes from âHâ to âLâ with bit 6 (CPL) of the UARTj transmit/
receive control register 0 â0â or is output each time when the CLKj
level changes from âLâ to âHâ with CPL â1â. For details, refer to Figure
42. In addition, transmit data is output beginning at the least significant
bit (LSB) with bit 7 (TFM) of the UARTj transmit/receive control register
â0â or is output beginning at the most significant bit (MSB) with TFM
â1â.
The TIj flag indicates whether the transmission buffer register is empty
or not. It is cleared to â0â when date is written in the transmission
buffer register and set to â1â when the contents of the transmission
buffer register is transferred to the transmission register.
Transmission
clock
TEj
1 / fi ! ( n + 1 ) ! 2
TIj
CTSj
(CPL =
â0â )
CLKj
(CPL =
â1â )
Write in transmission buffer register Transmission register Transmission buffer register
1 / fi ! ( n + 1 ) ! 2
Stopped because TEj = â0â
TENDj
(TFM =
â0â )
TXDj
(TFM =
â1â )
D0 D1 D2 D3 D4 D5 D6 D7
D0 D1 D2 D3 D4 D5 D6 D7
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
D0 D1 D2 D3 D4 D5 D6 D7
D7 D6 D5 D4 D3 D2 D1 D0
TXEPTYj
Fig. 42 Clock synchronous serial I/O timing
35
|
▷ |