UARTE1 at 921600 baud rate doesn't receive more than 5 bytes if CONFIG_LOG is enabled.

I am using the nrf5340 audio example project. The main problem is that I can not receive more than 5 bytes on UARTE1 at 921600 if logging is enabled. There is no event if I try to send more than 5 bytes of data. I guess that log module somehow crashes. If I disable the CONFIG_LOG macro from the .conf file everything starts working fine. But at a 115200 baud rate, UARTE1 receiving works fine while receiving big amounts of data, even if logging is enabled.

This is my device tree configuration:

This is my pins configuration:

I thought that the reason could be easyDMA but couldn't find enough information about it. What do you think can be the cause of this trouble?

Parents
  • Hello, and sorry about the wait

    This is odd. I am looking into it.

    I guess that log module somehow crashes.

    If that was the case it should give some assert, could you try to debug it and see what happens?

    Regards,

    Elfving

  • Hi Elfving, any updates?

    Regards,

    Mercer

Reply Children