Other Parts Discussed in Thread: CC1350
Tool/software: Code Composer Studio
Hi,
I have a TIRTOS test application running on the CC1350 sensortag, that reads data from the accelerometer over I2C. This application is built using the Simplelink cc13x0 sdk (1_40_00_10) using CCS v7.1. I am seeing a strange behavior where the time taken to read data over I2C doubles when I am not connected to the target with the debugger.
For example, when I flash and run the code from CCS, my debug output shows that it takes about 1980us to read 60 bytes of data. When I terminate the debugger connection to the target, the same debug output shows that it took about 3850us to read the same 60 bytes of data. It takes the same double speed when I cycle power to the board and let it run without the debugger.
Has anyone seen this or have any idea why I2C transaction speed would be affected by whether the debugger is attached or not? Could it be clocking differences or interrupt latencies or anything else?
I am new to CCS and TIRTOS and this is my first post. Please excuse me if I completely overlooked something.
Thanks!
