M37754 Mitsubishi, M37754 Datasheet - Page 53

no-image

M37754

Manufacturer Part Number
M37754
Description
SINGLE-CHIP 16BIT CMOS MICROCOMPUTER
Manufacturer
Mitsubishi
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M37754S4CGP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
ASYNCHRONOUS
SERIAL COMMUNICATION
Asynchronous serial communication can be performed using 7-, 8-,
or 9-bit length data. The operation is the same for all data lengths.
The following is the description for 8-bit asynchronous communica-
tion.
With 8-bit asynchronous communication, bit 0 of UARTi Transmit/
Receive mode register is “1”, bit 1 is “0”, and bit 2 is “1”.
Bit 3 is used to select an internal clock or an external clock. If bit 3 is
“0”, an internal clock is selected and if bit 3 is “1”, then external clock
is selected. If an internal clock is selected, bit 0 (TCS
(TCS
lect the clock source. When an internal clock is selected for asyn-
chronous serial communication, the CLKi pin can be used as a
normal I/O pin.
The selected internal or external clock is divided by (n+1), then by
16, and is passed through a control circuit to create the UART trans-
mission clock or UART receive clock.
Therefore, the transmission speed can be changed by changing the
contents (n) of the bit rate generator. If the selected clock is an inter-
nal clock Pfi or an external clock f
Bit Rate = (Pfi or f
Bit 4 is the stop bit length select bit to select 1 stop bit or 2 stop bits.
1
) of UARTi Transmit/Receive control register 0 are used to se-
EXT
) / {(n+1) 16}
EXT
,
M37754M8C-XXXGP, M37754M8C-XXXHP
0
) and bit 1
____
____
Bit 5 is a select bit of odd parity or even parity.
In the odd parity mode, the parity bit is adjusted so that the sum of 1s
in the data and parity bit is always odd.
In the even parity mode, the parity bit is adjusted so that the sum of
the 1s in the data and parity bit is always even.
Bit 6 is the parity bit select bit which indicates whether to add parity
bit or not.
Bits 4 to 6 must be set or reset according to the data format used in
the communicating devices.
Bit 7 is the sleep select bit. The sleep mode is described later.
The UARTi Transmit/Receive control register 0 bit 2 is used to deter-
mine whether to use CTSi input or RTSi output.
CTSi input is used if bit 2 is “0” and RTSi output is used if bit 2 is “1”.
If CTSi input is selected, the user can control whether to stop or start
transmission by external CTSi input.
Bit 4 of the UART Transmit/Receive control register 0 is used to de-
termine whether to use CTS or RTS signal. Bit 4 must be “0” when
CTS or RTS signal is used. Bit 4 must be “1” when CTS or RTS sig-
nal is not used. When CTS or RTS signal is not used, CTS/RTS pin
can be used as a normal port. The case using CTS and RTS signals
are explained below. However, when CTS and RTS signals are not
used, there are no condition of CTSi input, and there is no RTSi out-
put.
Clear UARTj Transmit/Receive control register 0 bit 7 to “1” in asyn-
chronous communication.
____
M37754S4CGP, M37754S4CHP
____
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
____
MITSUBISHI MICROCOMPUTERS
___
___
____
___
____
___
____
____
___
___
___
___
___
___
____
___
___
53

Related parts for M37754