2024-01-17 08:58 AM
Hello,
I've got a setup where I put the STM32 into STOP mode, with wake-up on ADDR match on I2C.
SYSCLK is PLL 32 MHz.
APB = 32MHz.
I've configured I2C to use HSI, and enabled STOP_WUCK.
(The I2C uses DMA).
If I enable HSI16KERON then the device responds as normal to back-to-back I2C transactions.
i.e. if I want to access registers A, B, C. (Write followed by read) This is fine.
However when this is disabled it seems to only be able to respond to one transaction (i.e. A is fine, B and C are missed). Is this expected behavior?
If I put a delay of about 20us it also seems to resolve the problem.