This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UART and SDK 10

I have migrated a new project from SDK 9 to 10, and now I seem to be having issues.

I'm using the uart_fifo to read data from a GPS, so the data shows up every 1 Second.

I believe everything is going okay, until I put a breakpoint in and stop the code, I then get an overrun error, which I believe I've handled in my uart_callback function. by clearing the interrupt and event_error which the SDK should be doing already. The error seems to persist, and I cannot get any new data out of the hardware fifo.

In version 9 of the SDK there wasn't an issue with the error interrupt, the code would continue to run as if no problem occurred. Is this an issue with v9 or v10, which is now causing me problems.

and what do I need to do to ignore the over run error.

Parents Reply
  • make sure your include folders only have one nrf_drv_config.h file, as it has include blocks it won't include more than one copy. I think in the SDK it is located in ..../components\drivers_nrf\config, so if you have a copy elsewhare (say in your project folder), it could be included from there first.

Children
No Data
Related