English
Language : 

SH7764 Datasheet, PDF (748/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 18 Serial Sound Interface (SSI)
(a) Transmission Using SSI_DMAC0 and SSI_DMAC1
Start
Release reset,
specify configuration bits
in SSICR
Setup DMA
controller to provide data as
required for transmission
Enable SSI module,
enable DMA,
enable error interrupts
Wait for interrupt from DMAC
or SSI
Specify TRMD, EN, SCKD,
SWSD, MUEN, DEL, PDTA,
SDTA, SPDP, SWSP, SCKP,
SWL, DWL, CHNL
EN = 1,
DMEN = 1,
UIEN = 1, OIEN = 1
SSI
Yes
error interrupt?
No
No
Has DMAC
Tx data been
completed?
Yes
Yes
More data to be send?
No
Disable SSI module,
disable DMA
disable error interrupt,
enable idle interrupt
EN = 0,
DMEN = 0
UIEN = 0, OIEN = 0,
IIEN = 1
Wait for idle interrupt
from SSI module
Reset SSI module if required
End*
Note: * When SSI error interrupt occurs (underflow/overflow), back to start
and execute flow again.
Figure 18.19 Transmission Using SSI_DMAC0 and SSI_DMAC1
Rev. 1.00 Nov. 22, 2007 Page 692 of 1692
REJ09B0360-0100