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

nRF9160 external uart configuratio

Hi,
I'm using the nRF9160-DK and I need to implement an external uart communication.

Which GPIO can be configured and are available on the various connector?

I have checked the schematic but is unclear which GPIOs are free. Can uart be used without the need of the companion nRF52?


I have tried to modify the overlay file but after this configuration is there any other configuration that must be done?

BTW, can the uart be enable on all the GPIOs or there are specific ports that I must use? (the datasheet is very unclear about this point)

Thank you :)

  • Hello,

     

    Which GPIO can be configured and are available on the various connector?

     You can check the documentation about nrf9160 board controller. There you can see which pins can be routed to which external pins on the DK.

     

    Can uart be used without the need of the companion nRF52?

     I'm not sure what you mean by this.

     

    I have tried to modify the overlay file but after this configuration is there any other configuration that must be done?

     That depends. What did you write to the overlay file? What pins are you trying to use? If you are trying to use pins that are not routed to the external pin header on the DK then it won't work.

     

    BTW, can the uart be enable on all the GPIOs or there are specific ports that I must use? (the datasheet is very unclear about this point)

     Most of the GPIO pins can be used as far as I know, but some of the need to be routed differently. This can be done by changing kconfig options in zephyr\boards\arm\nrf9160dk_nrf52840\Kconfig. What pins do you intend to use?

    Also, what DK version do you have? For the newest DK versions it is not necessary to change the board control config for a lot of the pins.

Related