1) transmission using dma controller, Figure 26.21 transmission using dma controller – Renesas SH7781 User Manual

Page 1359

Advertising
background image

26. Serial Sound Interface (SSI) Module

Rev.1.00 Jan. 10, 2008 Page 1329 of 1658

REJ09B0261-0100

(1)

Transmission Using DMA Controller

No

Yes

Yes

Start

End*

Release reset,

specify configuration bits

in SSICR

Setup DMA controller to provide data

as required for transmission

Wait for interrupt from DMAC or SSI

Enable SSI module,

enable DMA,

enable error interrupts

Disable SSI module,

disable DMA

disable error interrupt,

enable Idle interrupt

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

Wait for idle interrupt

from SSI module

SSI

error interrupt?

Has DMAC

Tx data been

completed?

More data to be send?

EN = 1,
DMEN = 1,
UIEN = 1, OIEN = 1

Specify TRMD, EN, SCKD,
SWSD, MUEN, DEL, PDTA,
SDTA, SPDP, SWSP, SCKP,
SWL, DWL, CHNL

Figure 26.21 Transmission Using DMA Controller

Advertising