1) reception using dma controller, Figure 26.23 reception using dma controller – Renesas SH7781 User Manual
Page 1362

26. Serial Sound Interface (SSI) Module
Rev.1.00 Jan. 10, 2008 Page 1332 of 1658
REJ09B0261-0100
(1)
Reception Using DMA Controller
Start
End*
Release reset,
specify configuration bits
in SSICR
Setup DMA controller to transfer data
from SSI module to memory
Wait for interrupt from DMAC or SSI
Enable SSI module,
enable DMA,
enable error interrupts
Wait for idle interrupt
from SSI module
Disable SSI module,
disable DMA
disable error interrupt,
enable Idle interrupt
SSI
Error interrupt?
Has DMAC Rx data
been completed?
More data
to be received?
Specify TRMD, EN, SCKD,
SWSD, MUEN, DEL, PDTA,
SDTA, SPDP, SWSP, SCKP,
SWL, DWL, CHNL
Note: * When SSI error interrupt occurs (underflow/overflow), back to start
and execute flow again.
EN = 0,
DMEN = 0
UIEN = 0, OIEN = 0,
IIEN = 1
EN = 1,
DMEN = 1,
UIEN = 1, OIEN = 1
Yes
Yes
No
No
No
Yes
Figure 26.23 Reception Using DMA Controller