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

How to run "Nordic Thingy: 52" Demo on nrf52832 (pca10040) board?

Dear all

I am on the pca10040 board (nrf52832), and I see the "Thingy_bridge" program is pca20020 board, as shown in Figure 1;

I am in the burning process, the simulation is always wrong, as shown in Figure 2, I do not know what caused the Yes, please help me

Parents
  • Hi,

    In your image you can see that you get an error at line 209 in drv_ext_gpio.c. If you look it up you can see that it is the function called drv_sx1509_reset() that returns the error. If you dig further you can see that this function tries to reset the sx1509 by writing a few command bytes to it using TWI. So my guess is that you haven't connected an sx1509 to your PCA10040 causing the TWI write operation to fail and return an error.

Reply
  • Hi,

    In your image you can see that you get an error at line 209 in drv_ext_gpio.c. If you look it up you can see that it is the function called drv_sx1509_reset() that returns the error. If you dig further you can see that this function tries to reset the sx1509 by writing a few command bytes to it using TWI. So my guess is that you haven't connected an sx1509 to your PCA10040 causing the TWI write operation to fail and return an error.

Children
Related