Hi there,
I'm developing with the nRF52832 right now.
I want to communicate nrf52832 (as master) with MP2723 to read and write data with TWI.
Hi there,
I'm developing with the nRF52832 right now.
I want to communicate nrf52832 (as master) with MP2723 to read and write data with TWI.
Here's the functional description of the hardware:
You can use either of these two drivers:
http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/peripherals/i2c.html
http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfx/drivers/twi/driver.html
okay.
I've tried the twi example of sdk but I'am facing issue to read the register data.
Ok, that's what you want to do, but what is your issue? What isn't working as expected?
If you are unfamiliar with I2C or NCS and not sure how to get started, I would recommend having a look at the Nordic DevAcademy:
https://academy.nordicsemi.com/lessons/lesson-6-serial-com-i2c/
Thanks for the references.
I'm able to communicate with the slave.
Sorry for late response.
The problem is that slave register's value is changed after writing to it. I don't know that I should write it again or what should be done to get back to the default value.
( slave register with address 0x00 had default value 0x48. But now its showing 0x00 )
Sushi_27 said:value is changed after writing to it.
I don't understand, is this not expected?
Sushi_27 said:value is changed after writing to it.
I don't understand, is this not expected?