TTP259
TonTouchTM
Preliminary
FST is set, frequency shift function will be activated. Swing shift back and forth
from the center frequency. Set FST=0 to off frequency shift function. When
frequency shift function is executing, OSCHADJF will be set 0. Then user can
not change OSCHADJ and FST, but only can be set 0 to off function. Frequency
shift function will not immediately stop, when FST is set to 0, the need to wait
until the frequency back to the original frequency, while OSCHADJF will be set
to 1.
OSCHADJ use ranges from 1 to 8, do not use the value out of range.
P-2: Time Base
The time base has 2 interrupt sources and both of them come from
the peripheral internal RC oscillator. The time base 1st overflow output
(TB1OV) can cause interrupt and the period is selected by TB1S2~TB1S0
in TBC register. The time base 2nd overflow output (TB2OV) also offers
two sample frequency options by TB2S bit in the TBC register.
TBCK/128
128Hz
TBCK/256
64Hz
TBCK/512
32Hz
16Hz
8Hz
4Hz
2Hz
1Hz
TB1OV
TB2OV
TBCK/1024
TBCK/2048
TBCK/4096
TBCK/8192
TBCK/16384
TBCK
8-bit
7-bit
Counter
Counter
clear
TBLDR
reload
Write TBRB to
TB2S
TB1S2~TB1S0
reload 8-bit counter
and clear 7-bit counter
2015/05/25
Page 28 of 81
Ver: 1.1