This cannot be fixed nicely as the OpenTitan I2C does not allow direct polling of NAKs, only awkwardly through the absence of an interrupt... TODO: * [ ] Patch OpenTitan I2C to properly expose NAK events on pollable device register. * [ ] Fix write HAL functions to use this register to wait for end of write cycle.
This cannot be fixed nicely as the OpenTitan I2C does not allow direct polling of NAKs, only awkwardly through the absence of an interrupt...
TODO: