STM32405RG does not have extra Vref pin. For Vref Vdda is used and its coming from Vcc. I connected ferrite bead between Vcc and Vdda.
Ok, you are using the LQFP64 variant, haven't spotted that when looking into the datasheet. Indeed, that one doesn't have a separate Vref pin.
Did you follow the guidelines on decoupling VDDa, then? (
https://www.st.com/resource/en/datasheet/stm32f405rg.pdf, Page 138)
A ferrite bead won't do that much if a decoupling capacitor is missing.
Also, how did you measure the fluctuations of VDDA with your scope? Where was the ground pin connected?
Instead of VDD becoming unstable, you could also/additionally face ground-bounce if your grounding scheme is not appropriate.
There are so many options ... maybe an image of the layout around the chip would really be helpful ...