Hi All,
My system mainly utilizes two functionalities: UART SPI and RF
When my end device polled at 1000 ms intervals (100 ms - queued poll rate; 100 ms - response poll rate), my SPI communications (CC2530 is slave- 375 KHz SPI clock) seem to operating properly.
However, we have been fighting issues in which we are trying to speed up the system throughput because each "request" requires about 395 98-byte packets. Therefore, I started playing with the poll rates and as I started speeding up the queued poll rates to an extreme of 1 ms.... it seems that my SPI data is becoming corrupt (ie dropping bytes)...
Therefore I am trying to understand what really occurs when an ED polls for data and how much CPU time is taken up... My theory is that each poll request from the ED takes a certain time for the coordinator to process, and that during that time, the CPU is held up and cannot process the SPI IRQs in time....
Any insight into this problem would be greatly appreciated.
Thank you.