Need help working around USB OTG Errata (STM32L4S5VI)
Rev 4 of "STM32L4Rxxx and STM32L4Sxxx device errata" states that
"Data FIFO gets corrupted if the write sequence to the transmit FIFO is interleaved with other OTGFS register access"
and to work around it,
"Ensure that the transmit FIFO write accesses cannot be interrupted by a procedure performing accesses to the USB cell registers."
I'm attempting to implement USB CDC on STM32L4S5VI and I'm having trouble identifying exactly which sequences to prevent from being interrupted. Could you point me towards which registers and/or events I should be focusing on?
