I'm having an odd issue with libUARTe sending a TX buffer twice.
I have a custom board using an nRF52832 running an application based on SDK 15.3.0. The libUARTe code was backported from SDK 16.0.0. It's using libUARTe to communicate data with an STM32. The system has a debug interface board that provides JLink connections to both the Nordic and the STM32.
The normal operation is for the Nordic to receive some data over BLE and forward some of it to the STM32 via the UART. Once the buffer containing the data is sent, it's cleared.
What I've captured with a logic analyzer is that if the debug board is detached (I don't have any Nordic logging at this point since my only access is via RTT) is that I see the normal data getting transmitted and then about 7 ms later the cleared buffer is being transmitted. Normal operation would be to see a packet getting sent to the STM32 about every 120 ms.
I haven't been able to reproduce the issue with the debug board attached.
I'm going to try enabling logging to flash and enabling the debugging on libUARTe and see if that sheds any light on the issue.
I'm looking for suggestions as to a possible cause of an unexpected transmission from libUARTe or if anyone has seen something like this before. I don't think it's the software doing it since it's only happening with the debug board detached, but that's one of the things I hope to prove with the flash logging of debug messages.
thanks,
Jeff