Other Parts Discussed in Thread: SEGGER,
Dear all,
on our custom board we have a C2642R and a STM32F407. Data is exchanged via I2C where the CC is slave and the ST is master.
The I2C implementation is done according to this example: https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/557767
The only difference is that data is handled in interrupt context and not in a while loop.
The master polls the slave every 5ms.
When no debugger is connected everything works fine and as expected. In debug mode, everything is also working but only until the application stops on break or hits a breakpoint (only HW breakpoints are used).
->slave is stopped and master is still running!
When slave is started again the application is still running but no data is receiced on I2C.
After that it is necessary to reset both devices to get a working I2C communication.
I'm using IAR Workbench 8.32.2 and SEGGER j-link. I also tried IAR I-Jet but there is no difference.
I hope someone can help me.
Cheers
Oliver