23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

5.4.4 System Clock Pin Output Function<br />

Under development<br />

<strong>TMPM330</strong> (rev0.4) 5-12<br />

<strong>TMPM330</strong><br />

The <strong>TMPM330</strong> enables to output the system clock from a pin. The PK1/SCOUT pin can output the low<br />

speed clock fs, the system clock fsys and the prescaler input clock for peripheral I/O φT0. By setting the<br />

port K registers, the PKCR and PKFR1 to “1”, the PK1/SCOUT pin (pin number 51)<br />

becomes the SCOUT output pin. The output clock is selected by setting the SYSCR3.<br />

SCOUT<br />

selection<br />

SYSCR2<br />

Table 5-5 shows the pin states in each mode when the SCOUT pin is set to the SCOUT output.<br />

Mode<br />

= “00” Output the fs clock.<br />

= “10” Output the fsys clock.<br />

= “11” Output the ΦT0<br />

clock.<br />

Table 5-5 Scout Output State in Each Mode<br />

Low power consumption mode<br />

NORMAL SLOW IDLE SLEEP STOP<br />

(Note) The phase difference (AC timing) between the system clock output by the SCOUT and the<br />

internal clock is not guaranteed.<br />

5.5 Prescaler Clock Control<br />

Each internal I/O (TMRB0-9, SIO0-2 and SBI0-2) has a prescaler for dividing a clock. As the clock φT0<br />

to be input to each prescaler, the "fperiph" clock specified in the SYSCR1 can be divided<br />

according to the setting in the SYSCR1. After the controller is reset, fperiph/1 is selected as<br />

φT0.<br />

5.6 Clock Multiplication Circuit<br />

Fixed to “0” or “1”.<br />

This circuit, which is included in the PLL, outputs the fpll clock that is quadruple of the high-speed<br />

oscillator output clock, fosc. This lowers the oscillator input frequency while increasing the internal clock<br />

speed.<br />

Clock/ Mode Control

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

Saved successfully!

Ooh no, something went wrong!