Baud Rate Generation - Infineon Technologies TC1728 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

18.1.2.7 Baud Rate Generation

The serial channel SSC has its own dedicated 16-bit baud rate generator with 16-bit
reload capability, allowing baud rate generation independent of timers. In addition to
Figure
18-2,
Figure 18-7
Figure 18-7 SSC Baud Rate Generator
The baud rate generator is clocked with
is the dual-function Baud Rate Generator/Reload register. Reading BR while the SSC is
enabled returns the contents of the timer. Reading BR while the SSC is disabled returns
the programmed reload value. In this mode, the desired reload value can be written to
BR.
Note: Never write to BR while the SSC is enabled.
The formulas below calculate either the resulting baud rate for a given reload value, or
the required reload value for a given baud rate:
Baud rate
=
------------------------------------------------------ -
SSC
2
BR_VALUE represents the content of the reload register, taken as an unsigned 16-bit
integer, while Baud rate
The maximum baud rate that can be achieved with
Master Mode (with BR_VALUE = 0000
BR_VALUE = 0001
Table 18-1
lists some possible baud rates together with the required reload values and
the resulting bit times, assuming a module clock
User's Manual
SSC, V1.41 2010-06
shows the baud rate generator of the SSC in more detail.
16-bit Reload Register
f
SSC
2
in master mode ≤
f
SCLK max
in slave mode ≤
f
SCLK max
f
SSC
×
(
BR_VALUE
+
1
is equal to
SSC
).
H
Synchronous Serial Interface (SSC)
16-bit Counter
f
/ 2
SSC
f
/ 4
SSC
f
. The timer counts downwards. Register BR
SSC
BR_VALUE
=
)
f
as shown in
SCLK
f
SSC
) and 275.0 Mbit/s in Slave Mode (with
H
f
of 110 MHz.
SSC
18-14
f
SCLK
MCA06218
f
SSC
------------------------------------------- - 1
×
2 Baud rate
SSC
Figure
18-7.
= 110 MHz is 55.0 Mbit/s in
V1.0, 2011-12
TC1728
(18.1)

Advertisement

Table of Contents
loading

Table of Contents