I'm designing my first PCB for a personal project :
I'm planning to run a Stepper motor (3.8V 670mA/phase) with the DRV8834 driver and an Atmega328P from the same power source.
The power will come from a classic USB charger (rated at 5V, 2A) plugged in my PCB.
Do I need a voltage regulator on my PCB as the power coming should be already regulated to 5V by the USB charger ?
If so, would I need two voltage regulators one for the Stepper that will draw higher amounts of current at times, and another one for the stable microcontroller, or can I use one for both ?
I believe if needed I will go for an LDO 5V - 2A regulator like those found here.
Would it be a good choice ?