Datasheet
XTR108
26
SBOS187C
www.ti.com
COMMUNICATIONS WITH THE XTR108 USING A
MICROCONTROLLER
When communicating with the XTR108, special care must
be taken to avoid getting a false clock. When CS1 is driven
low, the false clock is generated because the microcontroller
clock pin is in high-impedance state, which forces the clock
pin to a logic high. Immediately after CS1 is driven low, the
microcontroller drives the clock pin low. This sequence
creates a glitch that the XTR interprets as a clock; see Figure
16. This condition can be avoided by driving the SCLK pin
low just prior to applying CS1 low; see Figure 17. A series
resistance should be placed between the microcontroller and
the XTR108 because driving SCLK low before CS1 can
create a bus contention; see Figure 18.
SCLK
SCLK is in High Z mode
(Pulled high by the pull-up
in the XTR108)
SCLK will be high immediately
after CS1 is driven low. This is
seen by the XTR108 as an
false clock.
CS1
FIGURE 16. False Clock.
SCLK
SCLK is in High Z mode
(Pulled high by the pull-up
in the XTR108)
SCLK is driven low by the
microcontroller just before
CS1 is driven low.
CS1
FIGURE 17. Proper Method to Drive the XTR108 to Avoid
False Clock.
FIGURE 18. Resistor Protects XTR108 and Microcontroller
During Bus Contention.
1kΩ
SCLK
Memory
Microcontroller
DIOCS
SCLK
CS1
DIO
SCLK
DIO
XTR108
CS2
V
CC