Renesas R5S72623 User Manual

Page of 2152
 
 
Section 16   Renesas Serial Peripheral Interface 
 
 
Page 832 of 2108 
 
R01UH0134EJ0400  Rev. 4.00 
 
 Sep 
24, 
2014 
SH7262 Group, SH7264 Group
16.4.7
 
Initialization 
If 0 is written to the SPE bit in the control register (SPCR) or this module clears the SPE bit to 0 
because of the detection of a mode fault error, this module disables the module function, and 
initializes a part of the module function. When a power-on reset is generated, this module 
initializes all of the module function. An explanation of initialization by the clearing of the SPE bit 
follows. 
(1)  Initialization by Clearing SPE Bit 
When the SPE bit in SPCR is cleared, this module performs the following initialization:  
  Suspending any serial transfer that is being executed  
  Stopping the driving of output signals (Hi-Z) in slave mode 
  Initializing the internal state  
  Initializing the TEND bit in SPSR 
 
Initialization by the clearing of the SPE bit does not initialize the control bits of this module. For 
this reason, this module can be started in the same transfer mode as prior to the initialization if the 
SPE bit is re-set to 1.