M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 97

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Preliminary Specifications REV. E
Specifications in this manual are tentative and subject to change
UART0 through UART2
Table 1.27:
Note 1: ‘n’ denotes the value 00
Note 2: fEXT is input from the CLKi pin.
Note 3: If an overrun error occurs, the UARTi receive buffer will have the next data written in. Note also that the UARTi
Transfer data format
Transfer clock
Transmission/reception
control
Transmission start
condition
Reception start condition
Interrupt request
generation timing
Error detection
2.23.2 Clock asynchronous serial I/O (UART) mode
The UART mode allows transmitting and receiving data after setting the desired transfer rate and
transfer data format. Table 1.27 and Table 1.28 list the specifications of the UART mode. Figure 1.88
shows the UARTi transmit/receive mode register.
receive interrupt request bit is not set to “1”
Item
Specifications of UART Mode (1)
• Character bit (transfer data): 7 bits, 8 bits, or 9 bits as selected
• Start bit: 1 bit
• Parity bit: Odd, even, or nothing as selected
• Stop bit: 1 bit or 2 bits as selected
• When internal clock is selected (bit 3 at addresses 03A0
fi/16(n+1) (Note 1) fi = f1, f8, f32
• When external clock is selected (bit 3 at addresses 03A0
fEXT/16(n+1)(Note 1) (Note 2)
• 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 03A5
- Transmit buffer empty flag (bit 1 at addresses 03A5
- When CTS function selected, CTS input level = “L”
• To start reception, the following requirements must be met:
- Receive enable bit (bit 2 at addresses 03A5
- Start bit detection
• When transmitting
- Transmit interrupt cause select bits (bits 0,1 at address 03B0
= “0”: Interrupts requested when data transfer from UARTi transfer buffer register to UARTi
transmit register is completed
- Transmit interrupt cause select bits (bits 0, 1 at address 03B0
= “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 3)
This error occurs when the next data is ready before contents of UARTi receive buffer
register are read out
• Framing error
This error occurs when the number of stop bits set is not detected
• Parity error
This error occurs when if parity is enabled, the number of 1’s in parity and character bits
does not match the number of 1’s set
• Error sum flag
This flag is set (= 1) when any of the overrun, framing, and parity errors is encountered
16
to FF
16
that is set to the UARTi bit rate generator.
1-97
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Specification
16
16
, 03AD
, 03AD
16
16
16
, 03AD
Mitsubishi microcomputers
, 037D
, 037D
16
M30240 Group
16
, 03A8
, 03A816, 0378
16
16
16
16
16
, 037D
, bit4 at address 037D
, bit4 at address 037D
) = “1”
) = “1”
16
, 0378
16
) = “0”
16
16
= “0”):
=“1”):
16
16
)
)

Related parts for M30240ECFP