LD1117S33CTR design problem
In our company's mass production product( we desgien and produce BLDC motor driver). We stumble across that in some PCBA (about 25% of all the mass production) the LD1117S33CTR output have voltage oscillation.
Becasue of the 3.3V output is for MCU circuit(directly conect to analog VCC) , so the oscillation will cause MCU ADC sample problem which cause some noisy problem of our motor.

circuit diagram
If we reduce or increase capacity of C54, both method can solve the problem,as below shows. So i think the problem is cause by our desigen do not have margin to overcome the capactior deviation. I just want to comfrim how can we make sure the output is stable enough when we use the LD1117 in some new product. How can we find and verify the problem in pre-desigen and not bring this probmle to mass production.

