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

nrf52832 use specific pin assignment can cause twi function not working

Hi

I found a strange issue on nrf52832. And I use nRF5-SDK-v13.1.0.

When I assignment P0.7->SCL & P0.6->SDA, the twi function not working. But I change the assignment to P0.6->SCL & P0.7->SDA, it works fine.

There has a same issue on the other post. https://devzone.nordicsemi.com/question/131232/twi-scl-and-sda-pins-7-and-6-not-working-on-nrf52/

And I also try P0.8->SCL & P0.6->SDA, the twi function not working too.

Is it a nrf52832 design defect?

If can, somebody can check this setting to help me confirm the issue?

Parents
  • TWI aka I2C doesn't work out of the box, it needs external pull-ups. Sometimes you can avoid them and it works, sometimes not. Now if you are using nRF52 DK then on certain PINs you might have some external components and then some types of wired protocols may or may not work. What board are you using? What I2C speed you want to achieve? Is nRF52 Master or Slave? What device is on the other side of the wires?

Reply
  • TWI aka I2C doesn't work out of the box, it needs external pull-ups. Sometimes you can avoid them and it works, sometimes not. Now if you are using nRF52 DK then on certain PINs you might have some external components and then some types of wired protocols may or may not work. What board are you using? What I2C speed you want to achieve? Is nRF52 Master or Slave? What device is on the other side of the wires?

Children
Related