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

TWI Scanner Example problem

Hi,

I´m trying to work with the "TWI Scanner" example, provided by SDK 16. I Use nRF52833 DK (PCA10010), unfortunaly there is no solution for PCA 10010 in the SDK. This is why I flashed PCA10040 to my nRF52833 DK.

And I got the message "TWI scanner started." from UART terminal, so I think the example also works on nRF52833 DK.

So, I´ve done just one modification to the example: I change SCL and SDA Pin to 33 and 34 (P1.02 and P1.03 of nRF52833 DK) as shown in screenshot attached (here I´m not sure with!).

Unfortunaly, I can´t find my I2C device. With another I2C scanner I can found the I2C device. I connect it to the nRF52833 DK with two pullups, 3k3 Ohm and another try without pullups - both isn´t working.Do I also have to connect AREF_PI ?What else can be the reason?

For information: As I2C device I just use a small Sensor developer board with I2C interface.

Thanks in advance

Simon

Parents Reply
  • Hi,

    after doing this, I got an error when trying to compile.

    I also looked at this thread

    But the steps are the same like you described. When I successful build and run the example without modification I have tried to set an digital output to high - it doesn´t work. So it seems that the Pin´s are not mapped correctly. Can you help me with this error and have a look to my configuration? I just show you the modified rows attached.

    thanks in advance

    Simon

Children
Related