BLE conflict with UART

Hello everyone,

I am currently using Nordic NRF5340-DK board for development and I have run the zephyr UART driver sample that works an echo bot. This sample works fine for any UART that I configure, however when I add Bluetooth configuration to my proj.conf (CONFIG_BT=y), the sample seems to stop working as nothing is printed on the terminal.

Can you tell me if this behaviour is normal or how to solve it?

Best regards. 

Parents Reply Children
  • Hi,

    Portilha said:
    Can you reproduce this test scenario?

    Unfortunately, I cannot do this at the moment. I am out of the office.

    Please note that due to holiday season, delayed replies can be expected. I expect to get back to you during second week of January 2025. 

    Best regards,
    Dejan

  • Hi,

    If you use UART1 pins (P1.0 and P1.1) you should see TF-M log as these pins can be used to take the output from cpunet. This can be seen in nrf5340dk_nrf5340_cpunet-pinctrl.dtsi. However, if you want to send and echo commands you should connect to pins that are given in nrf5340_cpuapp_common-pinctrl.dtsi. Instead of using P1.0 and P1.1, try using P0.20 (for UART TX) and P0.22 (for UARD RX). You should also connect the grounds. At the end, just open your newly created USB-serial COM port and test your echo application.

    Best regards,
    Dejan

Related