I was wondering if there were any good examples out there on how to connect an XBee 3 to a PIC device over SPI and send and receive commands. I do not own any of the pieces yet as I am in a discovery stage of development in a project.
The plan is to create a proof of concept in which I attach an XBee 3 to the SPI pins of an existing product. This product reads various sensor values over BACnet. I would then transmit these sensor values to a second XBee 3 running a micro python script which will take some action. My issue however is I do not fully understand how to send the data in frames over SPI.