Hi,
I am working on NRF52840, I want to read ADC data over I2C communication. Can you please tell me how to implement the code in nrf52840.
Thanks & I am waiting for your reply..
Hi,
I am working on NRF52840, I want to read ADC data over I2C communication. Can you please tell me how to implement the code in nrf52840.
Thanks & I am waiting for your reply..
Hello,
I would start with connecting the I2C sensor (ADC) in question to the nRF52840, add pull up resistors to CLK and DATA, and then for instance run the i2c scanner project to find if you are able to communicate with the I2C sensor in question. Once that works you need to study the I2C api along with your ADC datasheet to find which commands you want to call to configure and read data.
I2C scanner project: https://github.com/crfosse/ncs_projects/tree/main/peripheral_zephyr/i2c
Having a logic analyzer to debug the I2C communication would be very useful.
Kenneth
Hi ,
Thanks for the reply..
I need ADC concepts with I2c. I want to read some ADC data over I2C communications. Please help me on this.
You will just have to sit down and work through this.
Kenneth
Hello
Can you please tell or suggest me how to implement the code, I am new to this, thats y I made a post otherwise I will sit and do.
Can you please tell me how to read MCP3426/7/8 ADC Over I2C communication.Plzzz.