I2C Restart Bit with RUI API

HI There,

I’m interfacing RAK4200 with a MAX31726 Temperature sensor, and the I2C reads are not a regular single read but a write address + restart bit + read sequence. See picture attanched.

How do I accomplish this with the RUI API? it only has a choice of READ/WRITE with an required register address and payload?

Thanks.

I was able to solve this by calling the HAL’s HAL_I2C_Mem_Read() function. Hope this helps.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.