Thanks for the reply @WizardG.
Yes, I intend to use an arduino to do the PWM, if it helps I would use pure assembly code and use AVRDUDE to flash the AVR chip or use STM32 chips without using arudino IDE since it bring a lot of latency.
Alright I will look up on application notes and see what...