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

change sda and scl pin for i2c1 on nrf5340

Hi,

I am using i2c driver available with zephr as i2c master. This is working fine.

I want to change the pins to P0.02 for SCL and P0.03 for SDA. I see multiple questions on similar line that indicates that this configuration should be possible.

However, when I try, the i2c transfer() call is getting stuck.

Since i2c driver from zephyr just binds to an existing i2c device, i am changing the sda and scl pin for i2c1 in "nrf5340pdk_nrf5340_cpuapp_common.dts" file. Let me know if i am missing any setting.

Regards,

Divya

 

Parents Reply Children
Related