Other Parts Discussed in Thread: C2000WARE
I tried to communicate with three connected daisy chain drivers that required 24bit control word
I'm a lazy person, so I try to avoid using writing my own code instead of using ready-made code.
I configured the spi to 10mbit speed and 8-bit data transfer. overall the spi transmits 9 bytes from the buffer, but the bytes a transmitted with a period of 2.1-2.5 us
The irony in the situation is that the byte is transferred in 750ns, after which there is a wait of 1.452us. Looks like wasted on the polling or something else ( cannot find the source code) of this function .
Tsdelay parameter is 0;
As a result, the transaction time is 20-25гs and does not depend on the baud rate.
The question is: How to decrease the waiting (or polling) time between byte transmittions?