SPI operation SPI parameters
XBee®-PRO 900HP/XSC RF Modules
44
SPI parameters
Most host processors with SPI hardware allow you to set the bit order, clock phase and polarity. For
communication with all XBee-PRO 900HP RF Modules, the host processor must set these options as
follows:
n Bit order: send MSB first
n Clock phase (CPHA):sample data on first (leading) edge
n Clock polarity (CPOL): first (leading) edge rises
All XBee-PRO 900HP RF Modules use SPI mode 0 and MSB first. Mode 0 means that data is sampled on
the leading edge and that the leading edge rises. MSB first means that bit 7 is the first bit of a byte
sent over the interface.