I have a custom part that can only run as a SPI master device. I would like the CC2640 to act as SPI slave to receive data from it. I've been able to get it work but I have to have the main processor in active mode. The timing is still sketchy and the BLE seems to also cause problems. I would like to have it in idle mode at least most of the time and really fine tune the timing. It seems like I would have to program a custom SPI interface into the GPIO controllers. It seems like this can be done with a SPI driver. Has any one done this? Would anyone like to do this? Is it possible to write a SPI driver for the CC2640 so that the main processor can be in idle while it is acting as a slave?
Thanks,
Nad