I have a problem which I have found difficult to debug. I have a CC2541 which I am using as a bridge between a downstream processor and a host device. The CC2541 communicates with the processor via I2C, and the host via BLE.
The communication works great, unless the processor sends a large (~800 bytes) packet to the CC2541 via I2C. Then, in some instances (not every time) the processor halts and stops servicing the I2C interrupts. I can see the entire exchange via my logic analyzer; however, I cannot determine what is happening because the debugger loses synchronization with the device.
Anyone have any ideas? I'm using 1.4.0 of the BLE stack and IAR 8.30.1.
Regards,
Bill