23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

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.

fc [MHz]<br />

Under development<br />

Table 9-4 Selection of UART Baud Rate<br />

(Using the baud rate generator with SC0BRCR = 0)<br />

Input clock<br />

Divide ratio N<br />

(Set to SC0BRCR )<br />

φT1<br />

(fc/4)<br />

<strong>TMPM330</strong> (rev 0.4) 9-13<br />

φT4<br />

(fc/16)<br />

φT16<br />

(fc/64)<br />

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

φT64<br />

(fc/256)<br />

9.830400 2 76.800 19.200 4.800 1.200<br />

↑ 4 38.400 9.600 2.400 0.600<br />

↑ 8 19.200 4.800 1.200 0.300<br />

↑ 0 9.600 2.400 0.600 0.150<br />

(Note) This table shows the case where the system clock is set to fc, the clock gear is set to fc/1,<br />

and the prescaler clock is set to fperiph/2.<br />

Table 9-5 Selection of UART Baud Rate<br />

(The TMRB9 timer output (internal TB9OUT) is used with the timer input clock set to φT0.)<br />

TB0RG<br />

fc<br />

32<br />

MHz<br />

9.8304<br />

MHz<br />

8<br />

MHz<br />

1H 250 76.8 62.5<br />

2H 125 38.4 31.25<br />

3H 25.6<br />

4H 62.5 19.2 15.625<br />

5H 50 15.36 12.5<br />

6H 12.8<br />

8H 31.25 9.6<br />

AH 25 7.68 6.25<br />

10H 15.625 4.8<br />

Baud rate calculation to use the TMRB9 timer:<br />

Transfer rate =<br />

Unit: (Kbbs)<br />

14H 12.5 3.84 3.125<br />

Clock frequency selected by SYSCR0<br />

TB0RG×2×16<br />

Unit: (kbps)<br />

(When input clock to the timer TMRB9 is φT0)<br />

(Note 1) In the I/O interface mode, the TMRB9 timer output signal cannot be used internally<br />

as the transfer clock.<br />

(Note 2) This table shows the case where the system clock is set to fc, the clock gear is set<br />

to fc, and the prescaler clock is set to fperiph/4.<br />

Serial Channel (SIO)

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

Saved successfully!

Ooh no, something went wrong!