CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U12688EJ4V0UM00
295
10.2.5 Operation
(1) Data format
Transmission and reception of full duplex serial data are performed.
As shown in Figure 10-2, 1 data frame consists of a start bit, character bits, a parity bit, and a stop bit as the
format of transmit/receive data.
Specification of the character bit length within 1 data frame, parity selection and specification of the stop bit
length are performed by the asynchronous serial interface mode register (ASIMn0, ASIMn1) (n = 0, 1).
Figure 10-2. Transmission/Reception Data Format of Asynchronous Serial Interface
1 data frame
Start
bit
D0
D1
D2
D3
D4
D5
D6
D7
Parity/
expansion
bit
Stop bit
Character bits
INTSRn interrupt
INTSTn interrupt
•
Start bit ...........................1 bit
•
Character bits ...............7 bits/8 bits
•
Parity/expansion bit ........Even parity/odd parity/0 parity/no parity/expansion bit
•
Stop bit ...........................1 bit/2 bits
Remark
n = 0, 1
(2) Transmission
Transmission starts when data is written to the transmit shift register (TXSn or TXSnL). With the transmission
complete interrupt (INTSTn) processing routine, the next data is written to the TXSn or TXSnL register (n = 0,
1).
(a) Transmit enable state
This is set with the TXEn bit of the ASIMn0 register.
TXEn = 1: Transmit enabled state
TXEn = 0: Transmit disabled state
However, when setting the transmit enabled state, be sure to set both the CTXEn and CRXEn bits of the
clocked serial interface mode register (CSIMn) of the channel in use to 0.
Note that since UARTn does not have CTS (transmit enabled signal) input pins, when the opposite party
wants to confirm the reception enabled state, use a port.
Содержание V850E/MS1 UPD703100
Страница 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Страница 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Страница 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Страница 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Страница 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Страница 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Страница 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Страница 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Страница 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...
Страница 422: ...User s Manual U12688EJ4V0UM00 422 MEMO ...