English
Language : 

SH7263 Datasheet, PDF (934/1862 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 18 Serial Sound Interface (SSI)
(1) Reception Using DMA Controller
Start
Release from reset,
define SSICR configuration bits.
Setup DMA controller
to transfer data
from SSI module to memory.
Enable SSI module,
enable DMA,
enable error interrupts.
Wait for interrupt from DMAC or SSI
Define TRMD, EN, SCKD, SWSD,
MUEN, DEL, PDTA, SDTA, SPDP,
SWSP, SCKP, SWL, DWL, CHNL.
EN = 1,
DMEN = 1,
UIEN = 1, OIEN = 1
Yes
SSI error interrupt?
No
No
DMAC:
End of Rx data?
Yes
Yes
More data to be send?
No
Disable SSI module,
disable DMA,
disable error interrupts,
enable Idle interrupt.
EN = 0,
DMEN = 0
UIEN = 0, OIEN = 0,
IIEN = 1
Wait for idle interrupt
from SSI module.
End*
Note: * If the SSI encounters an error interrupt underflow/overflow,
go back to the start in the flowchart again.
Figure 18.22 Reception Using DMA Controller
Rev. 2.00 Mar. 14, 2008 Page 900 of 1824
REJ09B0290-0200