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

UART P0.01 pin stays low

Hi all,

I am trying to set up UART communication on the nrf9160. I am using the nrf9160 DK and zephyr.

I have selected device UART_1 and after I cal functions device get_binding() and uart_configure() I can send data over the the virtual port VCOM2.

However TX pin P0.01 stays LOW all the time. Does anybody know anything about this issue?

nrf9160_pca.dts_compliled snippet

proj.config snippet:

Parents
  • I tested your example, and was able to see the output ("AWAKE"), which means the TX pin is not low all the time. Are you able to see the serial output? How did you measure it? If you are measuring on P0.01 on the DK you will not see the activity on the TX pin, since the GPIO is routed to the interface MCU instead.

    Best regards,

    Simon

  • Hello Simon,

    I do see the output 'AWAKE' through the COM port.  I am also measuring the P0.01 pin with a scope probe and it always stays low. How can I reroute to the GPIO instead?

    Best regards,

    Varouzan

  • Here is a thread that explains how to do that. If you have any questions beyond that, please ask and I will assist you.

    Best regards,

    Simon

Reply Children
No Data