Part Number: CC1352R
Hello,
I am using the UART2 driver within a TI-RTOS application on the CC1352R. When a processor exception occurs, I need to safely shutdown an external device via UART before restarting the system.
I have configured the UART2 driver with readMode = UART2_Mode_NONBLOCKING and designed the application to call UART2_read() periodically. When an exception occurs, the UART2 driver is continues to transmit, but only receives the first ~40 characters that are sent in reply. I am suspicious that the underlying DMA transfer does not get restarted properly after an exception occurs.
Is it possible to use the UART2 driver from the context of an exception? If not, what does TI recommend for this scenario?
I suspect that my problem is related to the "TODO: case for !HwiP_interruptsEnabled()?" message within UART2_readTimeout() in UART2.c. Are there any plans to resolve this TODO?
Thank you,
Peter