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

I'm having problems with Libuarte

Hello,

I tried to implement libuart in my code but i'm facing some problems i think it's because the legacy layer and the nrfx layer,it's configuiration problem as i think ,everytime i  enable libuarte1,uarte1and uart0 i get the error(static assertion failed: "UARTE instance not enabled") and then if i try to enable either libuarte0,uarte0,uart0 i get always the error( multiple definition of `UARTE0_UART0_IRQHandler NRF")

i 've readed all the previous tickets concerning this problem but none of them has helped me .

Best regards,

6471.sdk_config.h

Parents
  • I don't get those errors any more after disabling UART , enabling UARTE1 and libuarte0 in the SDK_CONFIG

    but the problem now is that it crashes everytime i initialize the libuarte with this function "nrf_libuarte_async_init()" and it gives mes the

    error :

    <error> app: ERROR 0 [NRF_SUCCESS] at C:\homeV7\xm122\nRF5_SDK_15.3.0_59ac345\components\libraries\experimental_libuarte\nrf_libuarte_async.c:289
    PC at: 0x0002D687
    <error> app: End of error report

    and it points to the  NRF_BREAKPOINT_COND in the app_error_weak.c

  • This points to line 289 in nrf_libuarte_async.c:

        {
            NRF_LOG_ERROR("No timer or rtc defined");
            APP_ERROR_CHECK_BOOL(false);
        }

    I was not able to reproduce it. Can you send the updated sdk_config.h file that you are using?

    Also, I notice that you have several sdk_config.h included in your project. You should remove the include path to the one you are not intentionally using (which I guess is the SDK\examples\peripheral\experimental_libuarte_pca10056\blank\config\sdk_config.h)

  • it 's already in attachements

Reply Children
Related