31.07.2013 Views

Usage note on Serial Sound Interface - Renesas

Usage note on Serial Sound Interface - Renesas

Usage note on Serial Sound Interface - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Date: Mar. 9, 2011<br />

RENESAS TECHNICAL UPDATE<br />

1753, Shim<strong>on</strong>umabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan<br />

<strong>Renesas</strong> Electr<strong>on</strong>ics Corporati<strong>on</strong><br />

Product<br />

Category MPU/MCU<br />

Title <str<strong>on</strong>g>Usage</str<strong>on</strong>g> <str<strong>on</strong>g>note</str<strong>on</strong>g> <strong>on</strong> <strong>Serial</strong> <strong>Sound</strong> <strong>Interface</strong><br />

Applicable<br />

Product<br />

SH7262 Group<br />

SH7264 Group<br />

SH7266 Group<br />

SH7267 Group<br />

Lot No.<br />

All<br />

Document<br />

No.<br />

Informati<strong>on</strong><br />

Category<br />

Reference<br />

Document<br />

TN-SH7-A799A/E Rev. 1.00<br />

Technical Notificati<strong>on</strong><br />

・ SH7262 Group, SH7264 Group<br />

Hardware Manual Rev.2.00<br />

(REJ09B0445-0200)<br />

・ SH7266 Group, SH7267 Group<br />

Hardware Manual Rev.1.00<br />

(REJ09B0566-0100)<br />

We would like to inform you of the notice about <strong>Serial</strong> <strong>Sound</strong> <strong>Interface</strong> included in the above-menti<strong>on</strong>ed applicable product.<br />

[Notice]<br />

Transmit operati<strong>on</strong> may not be started, even though the TEN bit in C<strong>on</strong>trol register (SSICR) is set to 1.<br />

[Workaround]<br />

To start transmit operati<strong>on</strong>, please follow the procedure in figure 1 or figure 2 below.<br />

Yes<br />

No<br />

Start<br />

Release from reset,<br />

set SSICR c<strong>on</strong>figurati<strong>on</strong> bits.<br />

Setup direct memory access<br />

c<strong>on</strong>troller to provide transmissi<strong>on</strong><br />

data as required.<br />

Enable transmit operati<strong>on</strong>,<br />

enable direct memory access<br />

c<strong>on</strong>troller,<br />

enable an error interrupt.<br />

Wait for more than<br />

1.5 cycles of SSIWS.<br />

IDST = 1 ?<br />

No<br />

Wait for an interrupt.<br />

Error interrupt?<br />

No<br />

End of DMA transfer?<br />

More data to be sent?<br />

No<br />

Disable transmit operati<strong>on</strong>,<br />

disable direct memory access<br />

c<strong>on</strong>troller,<br />

disable an error interrupt,<br />

enable an idle interrupt.<br />

Wait for an idle interrupt<br />

from this module.<br />

End<br />

Yes<br />

Yes<br />

Yes<br />

SCKD、SWSD、MUEN、<br />

DEL、PDTA、SDTA、<br />

SPDP、SWSP、SCKP、<br />

SWL、DWL、CHNL<br />

TEN = 1、<br />

TUIEN = 1、TOIEN = 1、TIE = 1<br />

Disable transmit operati<strong>on</strong>.<br />

(TEN = 0)<br />

Wait for more than<br />

<strong>on</strong>e cycle of SSISCK.<br />

Enable transmit operati<strong>on</strong> again.<br />

(TEN = 1)<br />

TEN = 0、<br />

TUIEN = 0、TOIEN = 0、<br />

IIEN = 1、TIE = 0<br />

Figure 1 Transmissi<strong>on</strong> Using Direct Memory Access C<strong>on</strong>troller<br />

(c) 2011. <strong>Renesas</strong> Electr<strong>on</strong>ics Corporati<strong>on</strong>. All rights reserved. Page 1 of 2


RENESAS TECHNICAL UPDATE TN-SH7-A799A/E Date: March 9, 2011<br />

Yes<br />

Start<br />

Release from reset,<br />

set SSICR c<strong>on</strong>figurati<strong>on</strong> bits.<br />

Enable transmit operati<strong>on</strong>,<br />

enable a data interrupt,<br />

enable an error interrupt.<br />

Wait for more than<br />

1.5 cycles of SSIWS.<br />

IDST = 1 ?<br />

No<br />

For n = ( (CHNL + 1) × 2)<br />

Loop<br />

Wait for an interrupt.<br />

Data interrupt?<br />

Next channel<br />

More data to be sent?<br />

Disable transmit operati<strong>on</strong>,<br />

disable an error interrupt,<br />

enable an idle interrupt.<br />

Wait for an idle interrupt<br />

from this module.<br />

End<br />

Yes<br />

Load data of channel n.<br />

No<br />

Yes<br />

No<br />

SCKD、SWSD、MUEN、<br />

DEL、PDTA、SDTA、<br />

SPDP、SWSP、SCKP、<br />

SWL、DWL、CHNL<br />

TEN = 1、<br />

TUIEN = 1、TOIEN = 1、TIE = 1<br />

Disable transmit operati<strong>on</strong>.<br />

(TEN = 0)<br />

Wait for more than<br />

<strong>on</strong>e cycle of SSISCK.<br />

Enable transmit operati<strong>on</strong> again.<br />

(TEN = 1)<br />

Use SSI status register bits<br />

to realign data after<br />

underflow/overflow.<br />

TEN = 0、<br />

TUIEN = 0、TOIEN = 0、<br />

IIEN = 1、TIE = 0<br />

Figure 2 Transmissi<strong>on</strong> Using Interrupt-Driven Data Flow C<strong>on</strong>trol<br />

Page 2 of 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!