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

i2c protocol on nrf52832 development kit.

Hi, , 

I am working on the nrf52832 development kit and want to program it as an I2C master. I have download the nRF SDK v12.3 but I am unable to understand the code written, since I am beginner in embedded systems. However, I wish to write my own code so that the development kit can act as an  I2C master, ble mesh node, and provide some DSP applications.


Can someone tell me how do I exactly "read" the code? I am going on the function definitions used in the "twi master with twi slave" project, but they seem to be never ending loops and I am getting lost to be honest. I want to write my own program for the above application and want to know which headers to include, how to write my own functions, how to set the twi slave address, clock frequency, etc.

I also want to know where the incoming data from the twi slave is stored, and how to change the location of the code.

Sorry for the broad question, would appreciate help from experts.

Thanks. :)

Parents Reply Children
No Data
Related