I'm trying to use SPI with an Xbee. However, MOSI is set high. What am I doing wrong?

h

Is your device a SPI master or Slave device? Which XBee module are you working with? What settings do you have on your XBee?

I guess some more information could be useful. The Xbee-PRO 900hp will be the slave. I used XCTU to change D1-D4, and P2 pins to the corresponding SPI settings (and disabled the UART pins). However, DIO4 (MOSI) is pulled high (opposite of what I’m used to seeing). Thanks!

This pin would be high (0xFF) if there is no data being sent.