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

Uart Tx works when merge with Nrf Mesh Dimmer, but Rx is not working

I configured Uart on 23 - Rx and 24 - Tx of NRF52832.

In simple uart example it works fine with uart_event_handle for rx.

But when this code is merged with Nrf Mesh Dimmer Code, I can transmit the data via tx pin, but there is no interrupt of Uart receive via "uart_event_handle",

Please Help me to solve this.

  • Issue solved by using app_uart_fifo instead of app_uart.

    And Added:

    //==========================================================
    #ifndef APP_UART_ENABLED
    #define APP_UART_ENABLED 1
    #endif
    // <o> APP_UART_DRIVER_INSTANCE  - UART instance used
    
    // <0=> 0
    
    #ifndef APP_UART_DRIVER_INSTANCE
    #define APP_UART_DRIVER_INSTANCE 0
    #endif
    
    #ifndef APP_FIFO_ENABLED
    #define APP_FIFO_ENABLED 1
    #endif
    

    in SDK_Config.h

    Thank You

Related