I have an xbee3 that communicates via SPI with a pic microcontroller. I have the following problem: the pic is sending data to the xbee correctly (CLK, chip select and MOSI pins are correctly written, checked with an oscilloscope), but the xbee is not transmitting this data via RF. I am in API mode, mode 0 and the serial pins are disabled.