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

unable to see device three on aws_fota and asset_tracker to change UART pin.

Hello,

I am working on SDK 1.3.0, I have an NRF9160DK and I am migrating to a custom NRF9160, I would like to output the log by moving the pins of the UART. However, it is impossible for me to see device three with application asset_tracker and aws_fota. (see image with asset_tracker application)


Can anyone help me?

Best regards,

Lecozahu

Parents
  • Hi! 

    This is unfortunately a known bug that we're working on fixing. Hopefully, it will be fixed with the release of NCS 1.4.0. 

    You don't need the device tree GUI to change the UART pins though. You can add an overlay file in the application code to change them. For example, take a look at the overlay file in the SLM sample, see here.

    Best regards,

    Heidi

  • Hi!

    Thank you for your answer.

    I created an overlay in the following way:

    & uart0 {
    compatible = "nordic, nrf-uarte";
    current-speed = <115200>;
    status = "okay";
    tx-pin = <8>;
    rx-pin = <5>;
    rts-pin = <0xffffffff>;
    cts-pin = <0xffffffff>;
    hw-flow-control;
    };

    But I have no result. Is there an error?
    I put it in the same folder as the Kconf file and I named it: nrf9160_pca10090ns.overlay

    Best regards,

    Lecozahu

  • Hi,

    "nrf9160_pca10090n"s is the old board name, so please change the name to "nrf9160dk_nrf9160ns". However, there should be backwards compatibility, so I don't think this is the issue.

    I think the problem is that you add "hw-flow-control" but then don't specify rts-pin or cts-pin. Either remove hardware flow control or define the HW flow control pins (rts and cts). 

    Best regards,

    Heidi

Reply
  • Hi,

    "nrf9160_pca10090n"s is the old board name, so please change the name to "nrf9160dk_nrf9160ns". However, there should be backwards compatibility, so I don't think this is the issue.

    I think the problem is that you add "hw-flow-control" but then don't specify rts-pin or cts-pin. Either remove hardware flow control or define the HW flow control pins (rts and cts). 

    Best regards,

    Heidi

Children
Related