This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Contiki SPI in SRF06-CC1310

Other Parts Discussed in Thread: CC1310

Hello,

I want to test the SPI with Contiki on the SRF06-CC1310.

I found that in Contiki sensortag has implemented board-spi.h and board-spi.c, It seems to me to be reusable for cc1310.

It is possible to use the same implementation for cc1310? Or I'll have to map the macros from (core/dev/spi.h) into calls for Texas Instruments (cpu/cc26xx-cc13xx/ti-lib.h) library?

Contiki SensorTag SPI implementation:

https://raw.githubusercontent.com/contiki-os/contiki/master/platform/srf06-cc26xx/sensortag/board-spi.c

Thanks