20.01.2015 Views

M32C/83 Group Hardware Manual - TE-EPC-LPC

M32C/83 Group Hardware Manual - TE-EPC-LPC

M32C/83 Group Hardware Manual - TE-EPC-LPC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>M32C</strong>/<strong>83</strong><br />

<strong>Group</strong><br />

8. Clock Generating Circuit<br />

8.3.3 fC32<br />

fC32 is the sub clock divided by 32. fC32 is used for as a count source for the timers A and B. fC32 is<br />

available when the sub clock is running.<br />

8.4 Clock Output Function<br />

The CLKOUT pin outputs fC, f8 or f32.<br />

In memory expansion and microprocessor modes, a clock having the same frequency as the CPU clock<br />

can be output from the BCLK pin as BCLK.<br />

Table 8.4 lists CLKOUT pin function in single-chip mode. Table 8.5 lists CLKOUT pin functions in memory<br />

expansion and microprocessor modes.<br />

Table 8.4 CLKOUT Pin in Single-Chip Mode<br />

PM0 Register (1) CM0 Register (2)<br />

PM07 CM01 CM00<br />

1<br />

1<br />

1<br />

0<br />

0<br />

1<br />

1<br />

0<br />

1<br />

0<br />

1<br />

CLKOUT Pin Function<br />

P53 I/O port<br />

Outputs fc<br />

Outputs f8<br />

Outputs f32<br />

- : Can be set to either "0" or "1"<br />

NO<strong>TE</strong>S:<br />

1. Rewrite the PM0 register after the PRC1 bit in the PRCR register is set to "1" (write enable)<br />

2. Rewrite the CM0 register after the PRC0 bit in the PRCR register is set to "1" (write enable)<br />

Table 8.5 BLCK/CLKOUT Pin in Memory Expansion Mode and Microprocessor Mode<br />

PM1 Register (1)<br />

PM15<br />

PM14<br />

002, 102, 112,<br />

PM0 Register (1) CM0 Register (2)<br />

PM07 CM01 CM00<br />

0<br />

1<br />

1<br />

0 (3)<br />

0<br />

0<br />

0 (3)<br />

0<br />

1<br />

1<br />

1<br />

1 1<br />

Outputs BCLK<br />

Outputs "L" (not P53)<br />

Outputs fc<br />

Outputs f8<br />

0 1<br />

0 (3)<br />

Outputs ALE<br />

- : Can be set to either "0" or "1"<br />

NO<strong>TE</strong>S:<br />

1. Rewrite the PM0 and PM1 register after the PRC1 bit in the PRCR register is set to "1" (write enable)<br />

2. Rewrite the CM0 register after the PRC0 bit in the PRCR register is set to "1" (write enable)<br />

3. When the PM07 bit is set to "0" (selected in the CM01 to CM00 bits) or the PM15 to PM14 bits are set<br />

to "012" (P53/BCLK), set the CM01 to CM00 bits to "002" (I/O port P53)<br />

8.5 Power Consumption Control<br />

Normal operation mode, wait mode and stop mode are provided as the power consumption control.<br />

All mode states, except wait mode and stop mode, are called normal operation mode in this document.<br />

Figure 8.14 shows a block diagram of status transition in wait mode and stop mode. Figure 8.15 shows a<br />

block diagram of status transition in all modes.<br />

0<br />

1<br />

0 (3)<br />

CLKOUT Pin Function<br />

Outputs f32<br />

Rev. 1.20 Jun. 01, 2004<br />

REJ09B0034-0120Z<br />

Page 82 of 477

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

Saved successfully!

Ooh no, something went wrong!