Renesas R5S72622 Manual De Usuario

Descargar
Página de 2152
 
 
Section 16   Renesas Serial Peripheral Interface 
 
 
Page 844 of 2108 
 
R01UH0134EJ0400  Rev. 4.00 
 
 Sep 
24, 
2014 
SH7262 Group, SH7264 Group
(f)  Transfer Operation Flowchart (CPHA = 0) 
Figure 16.20 is a flowchart illustrating a transfer in SPI operation when this module is used in 
slave mode with the CPHA bit in the command register 0 (SPCMD0) set to 0. 
Copy received data from the shift 
register to the receive buffer
Detect mode fault 
error
RSPCK cycle count
Receive buffer
status
SSL input level
Overrun error
status
SSL input level
SSL input level
MISO Hi-Z
Negate
Negate
Negate
Empty
Error occurred
Full
Assert
Assert
Assert
No error
No error
Shorter than data length
Equal to data length
Start serial transfer
End of initialization in 
slave mode
Error handling
Continue serial
transfer
End of transfer
Overrun error
status
Error
occurred
Error handling
No
Yes
 
Figure 16.20   Transfer Operation Flowchart in Slave Mode 
(CPHA = 0)