
444
Chapter 13
3-Wire Serial Interface (CSIB)
User’s Manual U16702EE3V2UD00
13.7.2 Single transfer mode (master mode, reception mode)
Figure 13-10 shows the transfer timing when data is transferred with the MSB first (CBnDIR bit of
CBnCTL0 register = 0), when the CBnCKP bit of the CBnCTL1 register = 0, when the CBnDAP bit of
the CBnCTL1 register = 0, and when the transfer data length is 8 bits (CBnCL3 to CBnCL0 bits of the
CBnCTL2 register = 0, 0, 0, 0).
Figure 13-10:
Single Transfer Timing (Master Mode, Reception Mode)
(1)
Clear the CBnPWR bit of the CBnCTL0 register.
(2)
Specify the transfer mode by setting the CBnCTL1 and CBnCTL2 registers.
(3)
Specify the transfer mode by using the CBnDIR bit of the CBnCTL0 register and, at the same time,
enable reception by setting the CBnRXE and CBnCSE bits of the CBnCTL0 register to 1.
(4)
Enable CSIB operating clock supply by setting the CBnPWR bit of the CBnCTL0 register to 1.
(5)
Read dummy data from the CBnRX register (reception start trigger).
(6)
The reception complete interrupt request signal (INTCBnR) is generated to inform the CPU that
the CBnRX (CBnRXL) register can be read.
(7)
Get the last receive data ready by clearing the CBnSCE bit of the CBnCTL0 register to 0.
(8)
Read the CBnRX register before clearing the CBnPWR bit to 0.
(9)
Confirm that the CBnTSF bit of the CBnSTR register = 0, and stop clock supply to CSIB by clear-
ing the CBnPWR bit to 0 (end of reception).
To transfer more data, repeat (5) and (6) before (7) (at this time, read receive data that is also used as a
reception trigger, instead of dummy data).
Remark:
The processing in (3) and (4) can be set simultaneously.
(AAH)
1
0
1
1
0
1
55H (receive data)
SCKBn
CBnRX
CBnRX read (55H)
Shift
register
CBnSCE
INTCBnR
SIBn
SOBn
0
0
L
(1) - (4)
(5)
(6)
(7)
(9)
(8)
CBnRX read (AAH)
AAH
00H
ABH
56H
ADH
5AH
B5H
6AH
D5H
AAH
00H
CBnTSF
electronic components distributor
Содержание V850E/RS1
Страница 6: ...6 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 206: ...206 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 232: ...232 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 366: ...366 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 402: ...402 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 684: ...684 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 766: ...766 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 798: ...798 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 832: ...832 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 834: ...834 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 848: ...848 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 852: ...Downloaded from Elcodis com electronic components distributor...