R01UH0823EJ0100 Rev.1.00 Page 1328 of 1823
Jul 31, 2019
RX23W Group 37. Serial Sound Interface (SSI)
(2) Reception Using Interrupts
Figure 37.21 Reception Using Interrupts
Start
Set the SSIFCR.AUCKE bit to 1 in master
mode.
Set the SSICR register
configuration bits.
Setup the interrupt controller.
Enable an error interrupt,
enable a receive interrupt,
enable receive operation.
Wait for an interrupt.
Error interrupt?
Receive more data?
Wait for an idle interrupt
from this module
End
*1
No
Yes
Read receive data,
clear the SSIFSR.RDF flag
No
Yes
Note 1. If an error interrupt (underflow/overflow) occurs, go back to the start in the flowchart again.
Disable receive operation,
disable an error interrupt,
enable an idle interrupt.