I am new to nRF52832, i am facing problem to establish communication between nRF52832 and ds3231 RTC can any on ehelp me in this.
I am new to nRF52832, i am facing problem to establish communication between nRF52832 and ds3231 RTC can any on ehelp me in this.
Hi,
It looks like the ds3231 chip is interfaced though TWI/I2C interface. There is an TWI_sensor example in our SDK showing how to interface TWI/I2C sensors. You can use the TWI_scanner example to find the address of the slave if you are unsure of this.
Best regards,
Jørgen
Hi,
It looks like the ds3231 chip is interfaced though TWI/I2C interface. There is an TWI_sensor example in our SDK showing how to interface TWI/I2C sensors. You can use the TWI_scanner example to find the address of the slave if you are unsure of this.
Best regards,
Jørgen
I have changed the DEVICE_ADDR and defined the registers from where i need to read the data. what are the things that need to be done to make that data to be displayed on the tera term.
What data do you want to send on UART? You need to parse the reply from the TWI slave in twi_handler and then you can send the result over UART using NRF_LOG_INFO macro, etc.