I’m using XBee with an UART device powered by ON/SLEEP pin.
The problem is that whenever I connect my XBee to the device it forces SPI connection and according to the manual that is because I’m asserting DOUT low during reset, but maybe that is because the device is waiting for power up.
When forcing SPI the pins D1,D2,D3,D4 and P2 get changed to SPI parameters and I cannot revert to Disable because of Status Error (wirelessly)
Is possible to force UART operation wirelessly after SPI operation was forced?
Make sure that you have not disabled the internal pull up on the Dout line (PR bit 14). If you are continent that this line is high, you can always issue a remote AT commands via the API interface that does a reset (ATFR). This will tell the module to reset and should if the Dout line is not held low, disable the SPI port.