Hello,
I am using IAR Embedded Workbench for ARM ver 7.6. We are using nrf52 with SDK 11 and the corresponding soft device.
We are having a problem with the uart sending garbage data. In the bootloader, we send version information over the uart back to our main processor in our device. Then the bootloader runs, performing a dfu if necessary. Our application also sends its version information over the uart when it comes up.
When running the application with soft device only we receive valid data. When running the bootloader with only soft device and no app we receive valid data. When running the bootloader to load a new app we receive valid data and furthermore, the dfu packets received are valid and the application is added to the nrf52 program memory.
The problem occurs when we bring the nrf52 reset line low for some time then bring it high to restart the chip. First, we receive the bootloader version message with no problem. Then once the nrf52 runs the valid application. The applications message comes garbled. Why???
Even if I do a simple application where all it does is set up the uart and then repeatedly sends data over the uart via app_uart_put ( ) function, the first 1 or 2 are garbled and eventually the messages are fine again.
Has anyone encountered any issues like this? It appears to happen only for a short period of time after the bootloader to app transition.
Any ideas? Thanks.