Which STM32? They make hundreds of different ones at this point.
Lot of code in HAL that blocks, has interrupt dependencies or creates races conditions.
What are you doing when the overruns occur? Is the RX DMA continuous/circular in nature? Or do you keep initializing the transfers? How large is the buffer?
Are you writing to FLASH?
Are you blocking in interrupt/callback code?
Everything was working fine until the past 7 or 8 months and this error is something new
What has changed immediately before the error occured?
Can we please not delete posts, it damages the forum and will get you black listed.
Retrieving data ...