Renesas R5S72622 User Manual

Page of 2152
 
 
Section 16   Renesas Serial Peripheral Interface 
 
 
Page 846 of 2108 
 
R01UH0134EJ0400  Rev. 4.00 
 
 Sep 
24, 
2014 
SH7262 Group, SH7264 Group
16.4.9
 
Error Handling 
Figures 16.22 and 16.23 show the error handling. The following error handling is used to return 
from the error state after an error in master or slave mode. 
Overrun 
error occurred.
User handling
Clear the OVRF bit.
Read receive data 
before the overrun error
Check that OVRF = 0 
and SPRF = 0
End of overrun
error handing
 
Figure 16.22   Error Handling (Overrun Error) 
Mode fault error occurred.
User handling
Clear the MODF bit.
Set the SPE bit to 1.
End of mode fault
error handing
 
Figure 16.23   Error Handling (Mode Fault Error)