I want to read the GSR1 and GSR2 registers of the XRA1201 using I2C. The STM32U5 family's HAL libraries have functions called HAL_I2C_Mem_Read, where you only need to pass the parameters. However, the XRA1201 requires retransmitting the device address after the register address. How can I resend the device address without sending a stop bit?
I tried to use Read_Mem, and Write_Mem on a private function, but didn´t work.