fyaman66 reacted to Fmilburn in TM4C1294XL PWM for BLDC Motor without delays
You do not appear to be using analogWrite correctly. The general form is analogWrite(pin, value) where value is the duty cycle from 0 (off) to 255 (always on). When you specify HIGH you are making the value 1 or barely on. It may be you meant to use digitalWrite to create PWM. As LRA says, using delay doesn't make much sense here.
Read this thread and see if it does what you are trying to do: http://forum.43oh.com/topic/5765-analogwrite-precision-question/