Other Parts Discussed in Thread: SYSCONFIG
I am using cc3235 as SPI master( GPIO14, 15, 16 and 17 as SPI_DIN, SPI_DOUT, SPI_CLK, SPI_CS ).
The whole protocol works on a command ack kind of flow. Sometimes there is a delay in response from the slave device.
At that time, I get below error on SimpleLinkFatalErrorEventHandler(SlDeviceFatal_t *slFatalErrorEvent) and all the simple link apis start throwing errors.
FATAL ERROR: No Cmd Ack detected [cmd opcode = 0x8432]
I tried setting the priority of SL_task lower than the task waiting on the SPI semaphore.
I have a question: is CC3235 device internally using this SPI for interacting with a simple link device? If so, how to share the port properly among both tasks? The application task uses this port for a bitrate of about 3Mbps.
What should be the priority of sl_task()? lower or higher than application tasks?
Regards