when trying to initialize the nrf52...little bit confused how to specifically address a pin for i2c....can anyone help me with a piece of code. Thank you in advance.
when trying to initialize the nrf52...little bit confused how to specifically address a pin for i2c....can anyone help me with a piece of code. Thank you in advance.
Hi,
There are multiple TWI (I2C-compatible) examples in our SDK:
Best regards,
Jørgen
If you want to setup the peripheral on the register-level, you need to look in the nRF52832 product specifications. There are both legacy TWI and TWIM with EasyDMA support in the nRF52832. This example on GitHub show setup of TWIM peripheral using registers only.
If you want to setup the peripheral on the register-level, you need to look in the nRF52832 product specifications. There are both legacy TWI and TWIM with EasyDMA support in the nRF52832. This example on GitHub show setup of TWIM peripheral using registers only.