Tool/software: TI-RTOS
I have just started exploring the 802.15.4 stack implementation for CC13x0. So far I can successfully compile and run both Sensor and Collector project, receive the temperature of the sensor node in collector, and print using UART interface.
I am looking forward to transmit these received data, from collector to a another device (NXP FRDM board) over SPI interface. I tried a basic approach, but it did not work. Here is what I did:
In collector.c, I called a function for transmitting over SPI (transmitSPI) inside processSensorData(ApiMac_mcpsDataInd_t *pDataInd). The function transmitSPI() is described in the csf.c, just below the Csf_deviceSensorDataUpdate() function. I am tried calling the SPI using both blocking and callback mode, but it is not working. Basically what happens, the collector does not even show the joined node. I am suspecting the nodes are not even joining. The code is probably stuck somewhere before the joining part. I made sure that the PermitJoin is enabled in the collector.
I would really appreciate if someone could help me understanding the right approach to implement this solution. Please let me know if you have any question.
Thanks!