Part Number: CC1354R10
Other Parts Discussed in Thread: SYSCONFIG
Dear TI Community,
I am working on an application for the CC1354R10 that supports two boot modes:
-
Mode A: Requires ITM logging
-
Mode B: Does not use ITM, and instead repurposes the same pin for UART TX
The ITM pin and UART TX pin are therefore shared between the two modes. Although Mode B does not call any ITM-related APIs, I am still experiencing UART issues when the same pin is assigned to both ITM and UART TX.
My questions are:
-
Is there a supported way to disable ITM functionality at runtime, either through application code or device configuration?
-
Alternatively, is there a recommended way to create a separate build configuration where ITM is disabled for that instance?
Additional details:
-
Pin configuration is done via SysConfig
- It is not possible to use different pins for ITM and UART since all of our other pins are already in use.
- Boot Mode A and Mode B are completely independent. Device will not reboot from Mode B to Mode A or vice versa; so if there is a way to disable ITM via a build configuration that would be perfect.
- I attempted calling
GPIO_resetConfig(CONFIG_GPIO_UART_DEVICE_CMD_TX);just before the application starts in Mode B, with the intention of ensuring that ITM is disabled for this boot mode. However, this did not resolve the issue.
Any guidance on the correct or recommended approach for handling shared ITM/UART pins across different boot modes would be greatly appreciated.
Kind regards,
Brenton