Rev. 1.10
94
October 23, 2020
Rev. 1.10
95
October 23, 2020
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
Compact Type TM Register Description
Overall operation of the Compact TM is controlled using a series of registers. A read only register
pair exists to store the internal counter 16-bit value, while a read/write register pair exists to store
the internal 16-bit CCRA value. The CTMRP register is used to store the 8-bit CCRP value. The
remaining two registers are control registers which setup the different operating and control modes.
Register
Name
Bit
7
6
5
4
3
2
1
0
CTMC0
CTPAU
CTCK2
CTCK1
CTCK0
CTON
—
—
—
CTMC1
CTM1
CTM0
CTIO1
CTIO0
CTOC
CTPOL
CTDPX CTCCLR
CTMDL
D7
D6
D5
D4
D3
D2
D1
D0
CTMDH
D15
D14
D13
D12
D11
D10
D9
D8
CTMAL
D7
D6
D5
D4
D3
D2
D1
D0
CTMAH
D15
D14
D13
D12
D11
D10
D9
D8
CTMRP
D7
D6
D5
D4
D3
D2
D1
D0
16-bit Compact TM Register List
• CTMC0 Register
Bit
7
6
5
4
3
2
1
0
Name
CTPAU
CTCK2
CTCK1
CTCK0
CTON
—
—
—
R/W
R/W
R/W
R/W
R/W
R/W
—
—
—
POR
0
0
0
0
0
—
—
—
Bit 7
CTPAU
: CTM counter pause control
0: Run
1: Pause
The counter can be paused by setting this bit high. Clearing the bit to zero restores
normal counter operation. When in a Pause condition the CTM will remain powered
up and continue to consume power. The counter will retain its residual value when
this bit changes from low to high and resume counting from this value when the bit
changes to a low value again.
Bit 6~4
CTCK2~CTCK0
: CTM counter clock selection
000: f
SYS
/4
001: f
SYS
010: f
H
/16
011: f
H
/64
100: f
SUB
101: f
SUB
110: CTCK rising edge clock
111: CTCK falling edge clock
These three bits are used to select the clock source for the CTM. The external pin
clock source can be chosen to be active on the rising or falling edge. The clock source
f
SYS
is the system clock, while f
H
and f
SUB
are other internal clocks, the details of which
can be found in the oscillator section.
Bit 3
CTON
: CTM counter on/o
ff control
0: Off
1: On
This bit controls the overall on/off function of the CTM. Setting the bit high enables
the counter to run while clearing the bit disables the CTM. Clearing this bit to zero
will stop the counter from counting and turn off the CTM which will reduce its power
consumption. When the bit changes state from low to high the internal counter value
will be reset to zero, however when the bit changes from high to low, the internal
counter will retain its residual value until the bit returns high again. If the CTM is in