SDA, SCl pins on MDBT40


#1

Hello,
I am working with Bluz on EAGLE using the MDBT40 library obtained from this link. I am unable to understand where to connect the SDA and SCL pins for I2C communication here. Any help will be very much appreciated. Thank you.


#2

For the nrf51822, I2C/TWI and SPI are available on on any pins, so it does not matter which pins you use for most firmware. If you want to use the bluz firmware without modification, you will need to chose the same pins we did (you could always chose your own pins and modify our firmware slightly).

From the pinout here you can see that SDA and SCL are on D0 and D1 respectively. You can then reference the schematic here to see that D0 and D1 are mapped to pins 4 and 5 on the MDBT40, which correspond to pins 21 and 22 on the nrf51822.

Let me know if that makes sense or if you have any further questions. Thanks


#3

I know this is very late but thank you so much for your reply. It helped me finish and execute my circuit without any errors.