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

nRF9160 DK board controller SourceCode

Dear, 

I am using nrf9160 DK, we can download hex fiel for boardcontroller 

nRF9160 DK board controller firmware 

https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF9160-DK/Download#infotabs

nRF9160_DK_board_controller_FW.hex 

It will be programmed for nRF52 to control nRF9160 DK board

Can you share the source code?

Thanks, 

Regards, 

hng

Parents
  • Hi,

    The board controller fw is currently not available in source code. But as mentioned at this link, it's possible to route some pins differently from what is done in the preprogrammed firmware.

  • Dear Sigurd, 

    For example: the LED1234  control 

    the info from the backside of nrf9160 DK pcb

    GPIO  Function
    P0.02 LED 1
    P0.03 LED 2
    P0.04 LED 3
    P0.05 LED 4
    P0.06 Button 1
    P0.07 Button 2
    P0.08 Button 3
    P0.09 Button 4
    P0.26 CTS
    P0.27 RTS
    P0.28 RxD
    P0.29 TxD

    On the schematic, Switches are used for selection 

    example: pin P0.02 (from nRF91) will select LED1 or D2 (P0.02 on the PCB-P14), and the control pin nRF52_P1.05 (from nRF52)

    So, we need one program for nRF52 to control for GPIO: 

    nRF9160_DK_board_controller_FW.hex 

    Currently, the pin P0.02 will connect LED1 so pin D2 (P0.02 on the PCB-P14) is floating

    Do we have any option ( for example :  CONFIG_GPIO=y in  prj.conf ) to enable pin D2  (P0.02 on the PCB-P14) ?

    then I can use it as normal gpio 

    regards, 

    thanks

    hng

Reply
  • Dear Sigurd, 

    For example: the LED1234  control 

    the info from the backside of nrf9160 DK pcb

    GPIO  Function
    P0.02 LED 1
    P0.03 LED 2
    P0.04 LED 3
    P0.05 LED 4
    P0.06 Button 1
    P0.07 Button 2
    P0.08 Button 3
    P0.09 Button 4
    P0.26 CTS
    P0.27 RTS
    P0.28 RxD
    P0.29 TxD

    On the schematic, Switches are used for selection 

    example: pin P0.02 (from nRF91) will select LED1 or D2 (P0.02 on the PCB-P14), and the control pin nRF52_P1.05 (from nRF52)

    So, we need one program for nRF52 to control for GPIO: 

    nRF9160_DK_board_controller_FW.hex 

    Currently, the pin P0.02 will connect LED1 so pin D2 (P0.02 on the PCB-P14) is floating

    Do we have any option ( for example :  CONFIG_GPIO=y in  prj.conf ) to enable pin D2  (P0.02 on the PCB-P14) ?

    then I can use it as normal gpio 

    regards, 

    thanks

    hng

Children
No Data
Related