Hi,
I am adding UART in my peripheral project and getting the following error. Kindly suggest.
Hi,
I am adding UART in my peripheral project and getting the following error. Kindly suggest.
Please double check if you have declare the module with NRF_LIBUARTE_ASYNC_DEFINE() and call nrf_libuarte_async_init() prior to nrf_libuarte_async_enable()
Yes, I have checked and all are declared.
Have you tried to step into the code of nrf_libuarte_async_enable() ? We can't help you if you don't try to do any debugging.
Sorry I was stepping into the code but getting an error immediately and not able to get on which line I am getting this error.
I have attached my project can you please check the issue? I am trying but not able to find issue
Hi Muqarrab,
I noticed that you flashed S140 v7.2.0 when you are on SDK v17.0.0.
Could you clarify that you also updated the header files for S140 v7.2.0 instead of the header files for S140v7.0.0 that comes with SDK v17.0.0
Please have a look at this case: Use libuarte together with SoftDevice
It seems that you are using TIMER0 for libuarte . You should not do that because it's used by the softdevice.
I attached the project I modified yours to use TIMER2 and RTC1, it seems to work.
NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 0, 2, 1, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 512, 3);