English
Language : 

TDA8029 Datasheet, PDF (16/59 Pages) NXP Semiconductors – Low power single card reader
Philips Semiconductors
TDA8029
Low power single card reader
Summary of baud rate equations: Timer 2 is in baud rate generating mode. If timer 2 is
being clocked through T2 (P1.0) the baud rate is:
Baud rate = T----i--m-----e---r-----2-----o---v1---e6---r---f--l--o---w-------r--a----t--e-
(3)
If timer 2 is being clocked internally, the baud rate is:
Baud rate = 3----2----×-----[--6---5-O--5---s3--c-6--i--l-–-l--a-(---tR--o--C-r---A---f-P-r--e-2--q--H--u--,-e--R-n----Cc---y-A----P----2---L----)---]
(4)
To obtain the reload value for RCAP2H and RCAP2L, the above equation can be rewritten
as:
RCAP2H, RCAP2L = 65536 – 3----2----×-----b--f-a--o--u-s--dc-----r---a---t--e-
(5)
where fosc = oscillator frequency.
timer 1
overflow
OSC
÷2
T2
note fosc is divided by 2, not 12
C/T2 = 0
C/T2 = 1
control
TR2
TL2
(8-bit)
TH2
(8-bit)
reload
transition
detector
RCAP2L RCAP2H
T2EX
EXF2
control
EXEN2
timer 2
interrupt
note availability of additional external interrupt
Fig 5. Timer 2 in baud rate generator mode
÷2
0
1
1
0
SMOD
1
0
RCLK
÷ 16
RX clock
TCLK
÷ 16
TX clock
mgw425
8.2.5 Timer/counter 2 set-up
Except for the baud rate generator mode, the values given in Table 13 for T2CON do not
include the setting of the TR2 bit. Therefore, bit TR2 must be set, separately, to turn the
timer on.
9397 750 14145
Product data sheet
Rev. 03 — 22 February 2005
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
16 of 59