The new STM32G474RE has an ADC that can run up to 4MSPS.I'm doing a project where I need to do the sampling in 1MSPS. But the maximum sample rate achieved was 300kSPS. When I set timer 1 for the ADC trigger to 500kSPS the "while" loop simply locks. S...