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

Regarding twi sensor

Dear Sir,

I am using nrf52832 & sdk 14. When I dump your twi sensor code(SDK14\nRF5_SDK_14.2.0_17b948a\examples\peripheral\twi_scanner\pca10040\blank\arm5_no_packs) in the nrf52832 development kit there is no activity observed on the oscilloscope on the pins SCL(P0.27) & SDA(P0.26).

But when I tried the same thing on nrf51422, I got the clock pulses. 

So please tell me what is the problem with the nrf52832 & sdk 14 (I have tried this with sdk12 also).

Regards,

Manoj Hiwarkar.

Parents
  • Hi,

    As long as you haven't modified anything, the scanner example and the PCA10040 should work out of the box. Have you double checked that you are using the correct pins? The default pins are configured in pca10040.h as:

    #define ARDUINO_SCL_PIN             27    // SCL signal pin
    #define ARDUINO_SDA_PIN             26    // SDA signal pin

    which should be correct in your case. 

    Have you connecte anything else than your scope to the pins?

Reply
  • Hi,

    As long as you haven't modified anything, the scanner example and the PCA10040 should work out of the box. Have you double checked that you are using the correct pins? The default pins are configured in pca10040.h as:

    #define ARDUINO_SCL_PIN             27    // SCL signal pin
    #define ARDUINO_SDA_PIN             26    // SDA signal pin

    which should be correct in your case. 

    Have you connecte anything else than your scope to the pins?

Children
Related