1)circuit

2)VBAT waveform as below:(Vbat drop to zero keeping 5ms,then return to normal value)

3)After VBAT on motor running, then Vbat drop to zero keeping 5ms,then return to normal value
VBAT,VSUP &VCC waveform as below:

From the above waveform ,we can see VCC unstable for more than 40ms.
How to keep MCU VDDX output stable while VBAT drop 5ms?
if need to increase VSUP input capacitor value & VDDX output capacitor value, although VSUP input capacitor is 220uF and VDDX output capacitor is 10uF?