Part Number: CC2652P
Other Parts Discussed in Thread: BLE-STACK
Dear TI-Team,
We had the following setup:
- BLE nodes running the CC2652P with an application based off simple_peripheral, BLE SimpleLink-SDK version 5.10
- A so called "relay" consisting of the LAUNCHXL-CC1352P-4 dev-board running an application based off the simple_central, BLE SimpleLink-SDK version version 4.10
- We implemented a time-sync mechanism which used the RTC channels 1 and 2 to time-stamp the
RFC_GPO3 signal which we routed through a pin. That signal indicates when the radio is transmitting.Now I attempted to update the relay firmware to SDK version 8.31. Unfortunately the time-sync mechanism doesn't work anymore. When I run it, the CPU seems kind of stuck: Not in the error-spin handler but it seems to constantly get interrupts. Whenever I halt it, it is mostly in the Hwi_asm_gcc.s file or in some other Hwi-related system files. Also, the timeout-Clock that we set doesn't get called even though the time has elapsed.As a test, I commented out all AONRTC-functions and now the timeout does get hit.This leads me to the suspicion, that the old SDK (4.10) only used RTC channel 0 and was okay with us using channels 1 and 2. The new SDK (8.31), however, seems to be disturbed by us using RTC channels 1 and 2.Can you please confirm that there is a change in how the SDK uses the RTC? Is there still a way to use parts of the RTC module for precise timestamping alongside the BLE-Stack? And if so, how should we implement precise timestamping, ideally without interrupts and code-execution-latency being involved?Kind regards,Raphael Fischer