STM32U5 RAMCFG wait state config
Hi,
I'm currently using the STM32U575 to develop a product, and my clock configuration is set to the maximum of 160MHz because I'm dealing with a large amount of data. I have two SPI channels collecting data at a sampling rate of 20kHz, with each sampling returning 70 data points. During operation, I encounter Hardfaults on the bus, with bus fault information showing IBUSERR or PRECISERR. I suspect that the CPU and DMA are competing for the bus, causing errors. However, I found that by adjusting the wait state parameter in the RAMCFG configuration to 1 or 2, the system runs much more stably. Is RAM access unstable at 160MHz? Do you have any experience with configuring RAM wait states, or how to ensure reliable operation?
