04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - 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.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 12 SERIAL ARRAY UNIT<br />

(5) Higher 7 bits of the serial data register mn (SDRmn)<br />

SDRmn is the transmit/receive data register (16 bits) of channel n. When operation is stopped (SEmn = 0), bits 15<br />

to 9 are used as the division setting register of the operating clock (fMCK). During operation (SEmn = 1), bits 15 to 9<br />

are used as a transmission/reception buffer register.<br />

If the CCSmn bit of serial mode register mn (SMRmn) is cleared to 0, the clock set by dividing the operating clock<br />

by the higher 7 bits of SDRmn is used as the transfer clock.<br />

See 12.2 Configuration of Serial Array Unit for the functions of SDRmn during operation (SEmn = 1).<br />

SDRmn can be read or written in 16-bit units.<br />

Reset signal generation clears this register to 0000H.<br />

Figure 12-10. Format of Serial Data Register mn (SDRmn)<br />

Address: FFF10H, FFF11H (SDR00), FFF12H, FFF13H (SDR01), After reset: 0000H R/W<br />

FFF14H, FFF15H (SDR10), FFF16H, FFF17H (SDR11)<br />

FFF11H (SDR00) FFF10H (SDR00)<br />

Symbol 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

SDRmn 0 0 0 0 0 0 0 0 0<br />

SDRmn[15:9] Setting of division ratio of operation clock (fMCK)<br />

0 0 0 0 0 0 0 fMCK<br />

0 0 0 0 0 0 1 fMCK/2<br />

0 0 0 0 0 1 0 fMCK/3<br />

0 0 0 0 0 1 1 fMCK/4<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

1 1 1 1 1 1 0 fMCK/127<br />

1 1 1 1 1 1 1 fMCK/128<br />

<br />

<br />

<br />

Cautions 1. When operation is stopped (SEmn = 0), be sure to clear bits 8 to 0 to “0”.<br />

2. Setting SDRmn[15:9] = 0000000B is prohibited when simplified I 2 C is used. Set SDRmn[15:9]<br />

to 0000001B or greater.<br />

3. Do not write eight bits to the lower eight bits if operation is stopped (SEmn = 0). (If these bits<br />

are written to, the higher seven bits are cleared to 0.)<br />

Remarks 1. For the function of during operation (SEmn = 1), see 12.2 Configuration of Serial Array Unit.<br />

2. m: Unit number (m = 0, 1), n: Channel number (n = 0, 1)<br />

R01UH0317EJ0004 Rev. 0.04 573<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!