Part Number: CC2642R
Other Parts Discussed in Thread: SIMPLELINK-CC13XX-CC26XX-SDK, SYSCONFIG
Hi,
I am trying to use 1 of the SPIs on the MCU to send commands to an ADC and I receive data back using another SPI as slave
I am experiencing the following issues:
1. Master SPI transaction timing takes longer than it should, the Master clock is set to 6M and I am sending 76 bytes, the transfer (looking at the clock pin) takes about 110us, however, the time between initiating the transfer up to receiving a callback takes extra 32us, why is that ? and if this is a normal behavior, do i need to wait for the callback to be received to get the data and send new transfers?
in the following picture in blue (CS pin) in red GPIO turned on before the transfer and off first thing inside the spi callback

2. the data is send t through a fiber optic cable and received back with a small delay, and we have to send back the clock and cs with the MISO data to compensate that delay and all this is recieved by a slave SPI
the slave transfer is initiated before the Master, and slave callback is received most of the time before the callback of the master, however, it happens too frequently that the callback does not return at all and everything crashes after a short while
what i am trying to do is send 76 bytes with the MASTER SPI and receive back 76 bytes using the slave SPI every 200us which I am not able to do
