Fujitsu FR81S User Manual

Page of 2342
CHAPTER 40: MULTI-FUNCTION SERIAL INTERFACE 
 
 
6. Operation of CSIO 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : MULTI-FUNCTION SERIAL INTERFACE 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
207 
6.2.3. SPI Transfer (I) 
 Features 
 
 
Item 
Description 
1  Mark level of serial clock (SCK) 
"H" 
2  Transmission data output timing 
SCK rising edge 
3  Reception data sampling 
SCK falling edge 
4  Data length 
5 to 9 bits 
 
 Register Settings 
The following table lists the register settings required for SPI transfer (I). 
SCR:SPI*
1
=1, SMR:MD2=0, MD1=1, MD0=0, SCINV*
1
=0 
Master operations: SCR:MS=0, SMR:SCKE=1 
Slave operations: SCR:MS=1, SMR:SCKE=0 
*1: Bit settings depend on the condition. See Table 6-3 for details. 
Note: 
Use proper usage for setting the registers other than the above. 
 
 SPI Transfer (I) Timing Chart (Serial Chip Select Pin Unused) 
Figure 6-12 SPI Transfer (I) Timing Chart (Serial Chip Select Pin Unused) 
 
 
*B 
● Transmission  
operation 
SCK 
SOUT 
TDR RW 
TXE 
D0 
D7 
D1  D2  D3  D4  D5  D6 
● Reception  
operation 
SIN 
RXE 
Sampling 
1
st
 byte 
RDRF 
TDRE 
D0  D1  D2  D3  D4  D5  D6  D7 
2
nd
 byte 
D0  D1  D2  D3  D4  D5  D6  D7  D0  D1  D2  D3  D4  D5  D6  D7 
RDR RD 
*A 
*A:More than 4 machine cycles are necessary after writing to TDR for slave transmission (MS=1, SCKE=0, SOE=1) 
*B: 
”H” when SCR:MS=0 
          D0 of the third byte when it is SCR:MS=1 and TDRE is 
”L” 
          
”H” when it is SCR:MS=1 and TDRE is ”H”  
 
MB91520 Series
MN705-00010-1v0-E
1520