I use the poll method to send Data on SPI, as follow:
while(1)
{
while(SPI send data regs is empty)
{
SPI send data regs = newSendData;
}
}
The result is every two send data, there is a idle time 2us, which make the SPI send data very low efficently, send time very long
and can not satify my command. My config is CPU(6747):300Mhz, SPI: 50Mhz.
the question confuse me very much? why idle time is 2us? anyone, help me!thank you!