Are there any I2C examples for the nRF51822 ( write/ read functions) ? If not, can anyone suggest a good starting point for I2C? I am using Eclipse kepler for development. Thank you for all suggests.
Are there any I2C examples for the nRF51822 ( write/ read functions) ? If not, can anyone suggest a good starting point for I2C? I am using Eclipse kepler for development. Thank you for all suggests.
Hi,
There is an example project using I2C on the nRF51822 - they refer to it as a "Two Wire Interface" (TWI) in the PS and RM, please see Section 27 of the RM 2.1 for a complete description.
The example program of an I2C master can be found in the stack example path below:
\Nordic Semiconductor\nRF51 SDK_v5.1.0.36092\Nordic\nrf51822\Board\nrf6310\twi_sw_master_example
Cheers, Steve
Hi, Thank you for you Answering. I've seen the example of Nordic, but for me it does not explain very well for me how it implemnts the read/write frame.
Hi, Thank you for you Answering. I've seen the example of Nordic, but for me it does not explain very well for me how it implemnts the read/write frame.