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

Cannot configure UART0 to external pins on nRF9160-DK

I followed the directions in connecting-uart1-to-a-periph-on-nrf9160-dk.

I'm using nRF Connect SDK 1.30 and have compiled the hello_world application for board "nrf9160dk_nrf52840" and downloaded to the nRF52840 with the switch in the nrf52 position.

This board accepted the CONFIG_BOARD_PCA10090_UART0_ARDUINO=y in prj.conf when it loaded into Segger Studio. 

But the UART connection seems to remain the same to the USB com port, and the pins P0.28 and P0.29 have no activity.

Documentation for "nRF9160 DK board control" claims: "Configurable code examples for the nRF52840 allowing to change the board routing can be found in the nRF Connect SDK."

But I have found no specific references other than the above link.  I have been researching an answer to this for some time now...

Parents
  • Now I have tried in v1.30 using:

    CONFIG_BOARD_NRF9160DK_UART0_ARDUINO=y
    CONFIG_BOARD_NRF9160DK_UART0_VCOM=n

    and built for the 

    Now R69 has been pulled up---FINALLY.   I just tested and I can now access the modem using P0.29, P0.28 external pins.

    So I seem to have answered my own question...

  • Now I could use some help with how to query the result of +CFUN=1 in my program.

    After issuing "AT+CGEREP=1" unsolicited codes are returned indicating an established connection: +CGEV: ME PDN ACT 0,0.

    But inside my application, I'm emulating a series of connection commands and need to know when this connection is valid, such as querying this information from the BSD library such as a get-flag command.

Reply
  • Now I could use some help with how to query the result of +CFUN=1 in my program.

    After issuing "AT+CGEREP=1" unsolicited codes are returned indicating an established connection: +CGEV: ME PDN ACT 0,0.

    But inside my application, I'm emulating a series of connection commands and need to know when this connection is valid, such as querying this information from the BSD library such as a get-flag command.

Children
Related