English
Language : 

CP3BT23 Datasheet, PDF (77/260 Pages) Texas Instruments – CP3BT23 Reprogrammable Connectivity Processor with Bluetooth and Dual CAN Interfaces
Write Operation
When the R/W bit is clear, the 16 bits of the data field are
shifted out of the CP3BT23 on the falling edge of SCLK.
Data is sampled by the radio chip on the rising edge of
SCLK. When SLE is high, the 16-bit data are copied into the
radio chip register on the next rising edge of SCLK. The
data is loaded in the appropriate radio chip register depend-
ing on the state of the four address bits, Address[4:0].
Figure 17 shows the timing for the write operation.
SDAT
H2 H1 H0 W A4 A3 A2 A1 A0 D15 D14
D0
used to address the write-only registers of the radio chip.
Fast writes load the same physical register as the corre-
sponding normal write operation.
For the power control and CMOS output registers of the RF
chip, it is only necessary to transmit a total of 8 bits (3 ad-
dress bits and 5 data bits), because the remaining eight bits
are unused.
While the FW bit is set, normal Read/Write operations are
still valid and may be used to access non-time-critical con-
trol registers. Figure 19 shows the timing for a 16-bit Fast-
Write transaction, and Figure 20 shows the timing for an 8-
bit Fast-Write transaction.
SCLK
SDAT
A2 A1 A0 D12 D11 D10 D9 D8 D7 D6
D1 D0
SLE
SCLK
DS012
SLE
Figure 17. Serial Interface Write Timing
te Read Operation
DS014
When the R/W bit is set, data is shifted out of the radio chip
on the rising edge of SCLK. Data is sampled by the
CP3BT23 on the falling edge of SCLK. On reception of the
read command (R/W = 1), the radio chip takes control of the
serial interface data line. The received 16-bit data is loaded
le by the CP3BT23 after the first falling edge of SCLK when
SLE is high. When SLE is high, the radio chip releases the
SDAT line again on the next rising edge of SCLK. The
CP3BT23 takes control of the SDAT line again after the fol-
lowing rising edge of SCLK. Which radio chip register is
read, depends on the state of the four address bits, Ad-
o dress[4:0]. The transfer is always 16 bits, without regard to
the actual size of the register. Unimplemented bits contain
undefined data. Figure 18 shows the timing for the read op-
eration.
Figure 19. Serial Interface 16-bit Fast-Write Timing
SDAT
A2 A1 A0 D12 D11 D10 D9 D8
SCLK
SLE
DS015
Figure 20. Serial Interface 8-bit Fast-Write Timing
s32-Bit Write Operation
SDAT Floating
Master drives SDAT
Slave drives SDAT
b SDAT
H2 H1 H0 R A4 A3 A2 A1 A0 D15
D1 D0
On the LMX5252, a 32-bit register is loaded by writing to the
same register address twice. The first write loads the high
word (bits 31:16), and the second write loads the low word
(bits 15:0). The two writes must be separated by at least two
clock cycles. For a 4-MHz clock, the minimum separation
time is 500 ns.
SCLK
The value read from a 32-bit register is a counter value, not
O the contents of the register. The counter value indicates
which words have been written. If the high word has been
SLE
written, the counter reads as 0000h. If both words have
been written, the counter reads as 0001h. The value re-
DS013 turned by reading a 32-bit register is independent of the
Figure 18. Serial Interface Read Timing
contents of the register.
Fast-Write Operation
An enhanced serial interface mode including fast write ca-
pability is enabled when the FW bit in the radio chip is set.
This bit activates a mode with decreased addressing and
control overhead, which allows fast loading of time-critical
registers during normal operation. When the FW bit is set,
the 3-bit header may have a value other than 101b, and it is
Figure 21 and Figure 22 show the timing for 32-bit register
writing and reading.
The order for accessing the registers is from high to low: 17,
15, 14, 12, 11, 10, 9, 8, 7, 6, 5, 4, 2, and 1. These registers
must be written during the initialization of the LMX5252.
www.national.com
76