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

TWI SCL and SDA pins 7 and 6 not working on NRF52

Hello,

I built a simple I2C application for the LMP91000 and I was successfully able to configure it to read the status register.

However, I tested to see if I could use pin 6 and 7 for SCL and SDA respectively. However, when I did, nothing happened. When I tested it on other GPIO pins it worked well.

I then saw that P0.06 and P0.07 is used for TXD and CTS respectively from the guide on the back on the NRF52. Is there any way to go around this?

Thanks.

Parents
  • Hi

    I have the same problem. The twi pin assignment like yours. The only difference is I use pure nrf52832, not development kit. P0.7->SCL, P0.6->SDA, and the setting not working.

    But when I switch pin assignment, P0.7->SDA, P0.6->SCL. And it works!!

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

    I guess it is a defect on nrf52832. Can any body confirm this issue?

Reply
  • Hi

    I have the same problem. The twi pin assignment like yours. The only difference is I use pure nrf52832, not development kit. P0.7->SCL, P0.6->SDA, and the setting not working.

    But when I switch pin assignment, P0.7->SDA, P0.6->SCL. And it works!!

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

    I guess it is a defect on nrf52832. Can any body confirm this issue?

Children
Related