Dear Nordic team.
We have to add new sensors using I2C protocol on our previous project.
Can i configure WDIO and SWDCLK pin to I2C pin?
If possible, i will reuse my old PCB.
Another case, i think we need layout new PCB :(
thanks.
Dear Nordic team.
We have to add new sensors using I2C protocol on our previous project.
Can i configure WDIO and SWDCLK pin to I2C pin?
If possible, i will reuse my old PCB.
Another case, i think we need layout new PCB :(
thanks.
SWD pins are dedicated pins, cannot be remapped.
You can have multiple devices on the same I2C pins only requirement is that each device has a different I2C 7bits address.
Thanks Hoàng.
I understand. May be i need make new PCB :(
By the way, i check nRF52811 don't have Hw internal configure for I2C.
Datasheet also said that: "The TWI master is compatible with I2 C operating at 100 kHz and 400 kHz ".
It seem we can define GPIO for I2C pin by firmware, right?
But check on pca10056.h, can't find I2c or TWI pin define.
Do you know BLE peripheral example using I2C for nRF52811?
Thanks Hoàng.
I understand. May be i need make new PCB :(
By the way, i check nRF52811 don't have Hw internal configure for I2C.
Datasheet also said that: "The TWI master is compatible with I2 C operating at 100 kHz and 400 kHz ".
It seem we can define GPIO for I2C pin by firmware, right?
But check on pca10056.h, can't find I2c or TWI pin define.
Do you know BLE peripheral example using I2C for nRF52811?
Unlike other MCU, the nRF series GPIO pin are totally programmable. Any pin can be configured to be used by any peripherals such as I2C, SPI, UART, ... Except a a few dedicated one such as the SWD. However, I don't recommend using NFC and reset pins as GPIO.