English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (513/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 14 SERIAL ARRAY UNIT
(1) Register setting
Figure 14-46. Example of Contents of Registers for Slave Transmission of 3-Wire Serial I/O
(CSI00, CSI01, CSI10, CSI20)
(a) Serial output register m (SOm) … Sets only the bits of the target channel.
15 14 13 12 11 10 9 8 7 6 5 4 3
SOm
CKOm2 CKOm1 CKOm0
00001×××00001
210
SOm2 SOm1 SOm0
0/1 0/1 0/1
(b) Serial output enable register m (SOEm) … Sets only the bits of the target channel to 1.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SOEm
SOEm2 SOEm1 SOEm0
0 0 0 0 0 0 0 0 0 0 0 0 0 0/1 0/1 0/1
(c) Serial channel start register m (SSm) … Sets only the bits of the target channel to 1.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSm
SSm3 SSm2 SSm1 SSm0
0 0 0 0 0 0 0 0 0 0 0 0 × 0/1 0/1 0/1
(d) Serial mode register mn (SMRmn)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SMRmn CKSmn CCSmn
STSmn
SISmn0
MDmn2 MDmn1 MDmn0
0/1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0/1
Operation mode of channel n
0: Transfer end interrupt
1: Buffer empty interrupt
(e) Serial communication operation setting register mn (SCRmn)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCRmn TXEmn RXEmn DAPmn CKPmn
EOCmn PTCmn1 PTCmn0 DIRmn
SLCmn1 SLCmn0
DLSmn2 DLSmn1 DLSmn0
1 0 0/1 0/1 0 0 0 0 0/1 0 0 0 0 1 1 0/1
(f) Serial data register mn (SDRmn) (lower 8 bits: SIOp)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDRmn
Baud rate setting
0
Transmit data setting
SIOp
Remark
m: Unit number (m = 0, 1), n: Channel number (n = 0 to 2), p: CSI number (p = 00, 01, 10, 20)
: Setting is fixed in the CSI slave transmission mode, : Setting disabled (set to the initial value)
×: Bit that cannot be used in this mode (set to the initial value when not used in any mode)
0/1: Set to 0 or 1 depending on the usage of the user
R01UH0004EJ0501 Rev.5.01
497
Jun 20, 2011