This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Correct way to uninit libuarte

Hello there,

I am using the nRF52832 and I need to talk to 2 different UART based peripherals.

In order to do that I was thinking to use the libuarte module in time share fashion as I don't need both peripherals to be on at the same time.

My code now simply initialize the libuarte drv module, send some data and uninit the module with the nrf_libuarte_drv_uninit function. 

Unfortunately when I reinit the module I get an error:

app: ASSERTION FAILED at C:\AL2TECH\CLIENTS\TAUA\Project_TBD\4_Software\Firmware\NRF5_SDK\nRF5SDK160098a08e2\modules\nrfx\drivers\src\nrfx_gpiote.c:442

I am based on SDK 16.

What would be the right way to unit the libuarte module?

cheers,


Andrea

Parents Reply Children
Related