2024-08-25 09:51 PM
I have been working on interfacing a Realtek switch and the Realtek configuration was done by i2c bit banging. I am currently trying to change to HAL I2C and am in need of performing a read operation as shown.
Here the read operation is performed such that the read address write is done as the part of read operation. In STM32H5 Hal I2C driver, I tried making modifications to mimic this sequence, but in all the cases, the address write is only done as part of a write operation only. Is there any way to modify the driver such that the exact same signal generation sequence occurs.