SAU default setting
Starting CSI communication
Wait for receive completes
End of communication
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK) and set
interrupt enable (EI)
Reading receive data to
SIOp (= SDRmn [7:0])
Yes
No
Setting receive data
Setting storage area of the receive data, number of communication data
(Storage area, Reception data pointer, Number of communication data and
Communication end flag are optionally set on the internal RAM by the software)
Enables interrupt
Writing dummy data to
SIOp (= SDRmn [7:0])
Writing to SIOp makes SCKp signals out
(communication starts)
Transfer end interrupt
generated?
When transfer end interrupt is generated , it
moves to interrupt processing routine
Read receive data then writes to storage area .
Update receive data pointer and number of
communication data.
RETI
All reception completed?
Disable interrupt (MASK)
Write STmn bit to 1
Check the number of communication data
Main routineInterrupt processing routineMain routine
Note