Unable to provision by configuring asynchronous UART

I have starting working with UART. I see that there are two options for configuring it: UART_0_ASYNC and UART_0_INTERRUPT_DRIVEN. I want to use ASYNC option for my UART, but when I enable this option, the device is unable to be provisioned anymore. It means if I just enable this configuration in the chat example, it breaks the application for provision.

I also tried to initialize the UART only when the device is provisioned, but it has no effect. 

Parents
  • Hi Ashish!

    Have you tried doing it using a prj.conf configuration?

    I also tried to initialize the UART only when the device is provisioned, but it has no effect. 

    Could you expand a bit on this? Are you provisioning the device and then re-flashing it?

    Best regards,

    Elfving

  • Hi 

    Yes, I tried with the prj.conf also by adding following

    CONFIG_SERIAL=y

    CONFIG_UART_ASYNC_API=y

    CONFIG_UART_0_INTERRUPT_DRIVEN=n

    CONFIG_UART_0_ASYNC=y

    Simple explanation is just by adding the above code in prj.conf or enabling the UART from nrf configure tool, the application is disabled for Mesh provisioning.

    The issue is somewhere with UART_0_ASYNC because if you configure prj.conf with following, it is okay:

    CONFIG_UART_ASYNC_API=y
    CONFIG_SERIAL=y
    CONFIG_UART_0_INTERRUPT_DRIVEN=y

     

    I use chat example in nrf Connect SDK v1.7.1. 

    I am not provisioning and then reflashing but everytime I erase all to check the sanity.

Reply
  • Hi 

    Yes, I tried with the prj.conf also by adding following

    CONFIG_SERIAL=y

    CONFIG_UART_ASYNC_API=y

    CONFIG_UART_0_INTERRUPT_DRIVEN=n

    CONFIG_UART_0_ASYNC=y

    Simple explanation is just by adding the above code in prj.conf or enabling the UART from nrf configure tool, the application is disabled for Mesh provisioning.

    The issue is somewhere with UART_0_ASYNC because if you configure prj.conf with following, it is okay:

    CONFIG_UART_ASYNC_API=y
    CONFIG_SERIAL=y
    CONFIG_UART_0_INTERRUPT_DRIVEN=y

     

    I use chat example in nrf Connect SDK v1.7.1. 

    I am not provisioning and then reflashing but everytime I erase all to check the sanity.

Children
Related