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

ssd1306 i2c not working with nrf51822

Hi, i am using oled ssd1306 i2c with nrf51822. I am using peripheral mode and SDK v10.0. i choose this sdk version because of length i want to sent at one go that is 1024. I have connected oled to pin 18 and pin 20 for SDA and SCL respectively.

I took twi_sensor code for reference and i merged oled code in that. first i tried led blinking and it working without problem. But oled is not at all working.

I checked on logic analyser, i found nrf chip is not communicating over i2c. i didn't see any signal changes on those pins. i have attached logic analyser screen shot. image description

i have updated code on github. github.com/.../olednrf51

Parents Reply Children
Related