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

Modify NRF9160 at_client sample to run on external target PCB, with changed UART GPIO, and control through Link Monitor application.

We are moving to the stage of testing our custom PCB which has a nRF9160, from using the nRF9160 DK

We need to do initial tests on our antenna, tuning network, and layout, and our idea is to modify the at_client example to get various signal quality readings (RSRP, etc.) using the Link Monitor PC application.

To do this we need to figure out how to change the GPIO assignments in the at_client code to match our selected GPIO on the nRF9160 (TX on P0.11, and RX on P0.12).

The peripheral configuration for the part is very confusing, and I cannot figure out which files to modify in order to re-assign UART TX and RX pins.

Also, how do we interface to the Link Monitor application, since it looks like that is expecting a PCA10090 DK?

Thanks!

Parents
  • Håkon:

    Thanks for the quick reply, and the clear instructions!

    I was able to follow your steps and get our nRF9160 (with Hologram MFF2 SIM) on the network, using LTE Link Monitor.

    Once follow-up question:  Is there an easier way to change the TX/RX pin assignments, other than continually re-importing the application into SES, each time I change any peripheral pin assignrments?  It seems like a lot of work if I just change an ADC from P0.0 to P0.1.  It looks like editing the overlay files, even with a full clean/build, does not update the appropriate .dts_complied file.

    Regards,

    Jackson

     

Reply
  • Håkon:

    Thanks for the quick reply, and the clear instructions!

    I was able to follow your steps and get our nRF9160 (with Hologram MFF2 SIM) on the network, using LTE Link Monitor.

    Once follow-up question:  Is there an easier way to change the TX/RX pin assignments, other than continually re-importing the application into SES, each time I change any peripheral pin assignrments?  It seems like a lot of work if I just change an ADC from P0.0 to P0.1.  It looks like editing the overlay files, even with a full clean/build, does not update the appropriate .dts_complied file.

    Regards,

    Jackson

     

Children
Related