we are using max30205 for temp monitoring. the slave is not responding pls. help.
we are using max30205 for temp monitoring. the slave is not responding pls. help.
Hey Jagannathan,
We're happy to help, but we need more information.
Cheers,
Håkon.
yes sir
Dear sir,
I am trying to interface MAX 30205 with NRF52832. On the oscilloscope I am getting the signals but still I am not getting the temperature data. Herewith I am have uploaded the video & codeSmart Temperature Band.rar
Please tell me where I am going wrong
The videos are not really giving me any information, I suggest you get access to a digital analyzer like the Saleae Logic Pro 8/16. It will translate the TWI communication into an easily readable form.
Your packet format is wrong, you're missing the 'pointer' byte. See Figure 3.a in https://datasheets.maximintegrated.com/en/ds/MAX30205.pdf.
Also you should not assume that 'm_set_mode_done' is true after a completed TWI transfer, you should verify by reading back the register value before setting the m_set_mode_done flag. Although the TWI bus relies on ACKs from the slave, it does not verify that the slave has received and responded to the data in the way that you want it to, it only ACKs when a byte has been successfully received.
PS:
Thanks for sharing a project that compiles out of the box <3
But we have sent the pointer byte in the code. Do you have the code for the same.If you have then can you please upload it. ?