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