Example Of Setting Baud Rates And U-Timer Reload Values - Fujitsu FR60 Hardware Manual

32-bit microcontroller mb91301 series
Hide thumbs Also See for FR60:
Table of Contents

Advertisement

CHAPTER 13 UART

13.5 Example of Setting Baud Rates and U-TIMER Reload Values

This section provides an example of setting baud rates and U-TIMER reload values.
■ Example of Setting Baud Rates and U-TIMER Reload Values
Table 13.5-1 shows setting values to be used in asynchronous (start-stop synchronization)
mode. Table 13.5-2 shows setting values to be used in CLK synchronous mode.
A frequency in the tables represents a peripheral machine clock frequency. UCC1 is a value to
be set in the UCC1 bit of the UTIMC register of the U-TIMER. A dash (-) in the tables means
that the baud rate cannot be used because the error exceeds plus minus 1%.
Table 13.5-1 Setting Values in Asynchronous (Start-Stop Synchronization) Mode
Baud rate
(bps)
1200
2400
4800
9600
19200
38400
57600
10400
31250
62500
Table 13.5-2 Setting Values in CLK Synchronous Mode
Baud rate
(bps)
250K
500K
1M
*: An error exceeding plus minus 1% occurs.
382
ms
34MHz
833.33
884(UCC1=1)
416.67
441(UCC1=1)
208.33
220(UCC1=1)
104.17
109(UCC1=1)
52.08
54(UCC1=1)
26.04
26(UCC1=1)
17.36
17(UCC1=1)
96.15
101(UCC1=0)
32.00
33(UCC1=0)
16.00
16(UCC1=0)
ms
34MHz
4.00
67(UCC1=0)
2.00
33(UCC1=0)
1.00
16(UCC1=0)
20MHz
17MHz
520(UCC1=0)
441(UCC1=1)
259(UCC1=1)
220(UCC1=0)
129(UCC1=0)
109(UCC1=0)
64(UCC1=0)
54(UCC1=1)
31(UCC1=1)
26(UCC1=1)
59(UCC1=0)
50(UCC1=0)
19(UCC1=0)
16(UCC1=0)
9(UCC1=0)
7(UCC1=1)
20MHz
17MHz
39(UCC1=0)
33(UCC1=0)
19(UCC1=0)
16(UCC1=1)
9(UCC1=0)
7(UCC1=0) *
10MHz
259(UCC1=1)
129(UCC1=0)
64(UCC1=0)
31(UCC1=1)
29(UCC1=0)
9(UCC1=0)
4(UCC1=0)
10MHz
19(UCC1=0)
9(UCC1=0)
4(UCC1=0)

Advertisement

Table of Contents
loading

Table of Contents