# SPI configuration on XBee S6

**URL:** <https://forums.digi.com/t/spi-configuration-on-xbee-s6/12716>\
**Category:** XBee & XBee Gateway\
**Tags:** s6, spi, xbee\
**Created:** [March 24, 2014, 7:49am UTC](https://forums.digi.com/t/spi-configuration-on-xbee-s6/12716 "2014-03-24T07:49:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![burakin23](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@burakin23](https://forums.digi.com/u/burakin23)\
**Post date:** [March 24, 2014, 7:49am UTC](https://forums.digi.com/t/spi-configuration-on-xbee-s6/12716/1 "2014-03-24T07:49:37Z")

</div>

Hi Folks,

I am using Texas Instrument-DSP chip (C5515). I did SPI configuration (I did pin connection between SPI pins and XBee pins) and the XBee is ready for AT commands. However i could not connect the device to a modem. How can I connect the XBee to a modem? Do you have any flow chart or any basic code in order to start communication or data transfer? Because the module is ready for communication but does not know how to communicate.

Regards,

Burak

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [May 7, 2014, 10:32am UTC](https://forums.digi.com/t/spi-configuration-on-xbee-s6/12716/2 "2014-05-07T10:32:52Z")

</div>

When using SPI mode, you must use API frames and send 0xFF characters to read data from the SPI port.

---

<div class="post-metadata">

**Author:** ![lachlanp](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lachlanp](https://forums.digi.com/u/lachlanp)\
**Post date:** [August 29, 2014, 8:25am UTC](https://forums.digi.com/t/spi-configuration-on-xbee-s6/12716/3 "2014-08-29T08:25:06Z")

</div>

If you want to connect the Xbee to a modem, use the UART mode. If you want to communicate to the DSP chip, where does the modem come into the picture?
