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

Runtime error in nrf9160dk ADC program "device_get_binding ADC_0 failed"

While debugging this code https://github.com/Rallare/fw-nrfconnect-nrf/blob/nrf9160_samples/samples/nrf9160/adc/src/main.c using nrf9160dk getting error "device_get_binding ADC_0 failed"

Compiling successfully.

Can anyone please suggest a solution?

Parents
  • Hi!

    Have you modified the name of the overlay file? <nrf9160_pca10090> is the old version of the board name, so if you're building for the current board name (nrf9160dk_nrf9160), the overlay file with its current name won't be included in the build, i.e the ADC note won't be set to "okay" and the device binding fails. 

    Best regards,

    Heidi

Reply
  • Hi!

    Have you modified the name of the overlay file? <nrf9160_pca10090> is the old version of the board name, so if you're building for the current board name (nrf9160dk_nrf9160), the overlay file with its current name won't be included in the build, i.e the ADC note won't be set to "okay" and the device binding fails. 

    Best regards,

    Heidi

Children
Related