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

TWI: P0.30(SCL) and P0.31 (SDA) I2C with nRF52832

Hi,

I'd just start developping with the nRF52832 and I would like to communicate with a sensor using the I2C protocol. Has I am a stranger with the nordic uC, I would like to know if I can choose any pin available on the nRF52832. I mean I saw ont the datasheet the PSEL.SDA and PSEL.SCL register and it looks like you can choose every pin you want, it will works ... Is it good ?

I'm used to work with STM32 and PIC microcontroller and you have to choose the good pin for the good serial protocol (I2C,SPI,UART)

Thanks for your help !

Parents
  • Yes you can choose any pin you want. Please check the documentation which recommends avoiding high speed communications on the pins next to the antenna pins and note that two pins are used by default for the NFC and need to be disabled and the chip reset before you can use them for other purposes. However, with those caveats aside, you can use any pin you like.

Reply
  • Yes you can choose any pin you want. Please check the documentation which recommends avoiding high speed communications on the pins next to the antenna pins and note that two pins are used by default for the NFC and need to be disabled and the chip reset before you can use them for other purposes. However, with those caveats aside, you can use any pin you like.

Children
No Data
Related