Hi,
I'm using the cc2541 Mini development Kit and trying to transmit the packet(10 bytes) every 10ms, i.e. our sample rate should be 1000 times/s. And I'm using the accelerometer sevice in sample project KeyFobDemo now.
The problem is, every 5 transmissions (50 ms) the next packet will delay about 1s (which should be 10 ms). I changed the action of transmission to making P0_7 turn on and off to ensure that the transmission and the osal timer work fine. And the result was that the period of P0_7 signal is correct. Hence, I guess the problem lies in the receiver part. But I have no idea about why this will happen and how to solve it. Really urgent... Does anyone have any idea?
Here is part of my code,
Thanks.