Hello David,
I had a doubt in your DAC sample example:
1. What is the significane of the MACRO "scale" in the 256 points lookup table? Does this control the voltage level of the output PWM wave? What is the difference between PWM_VOLTAGE & AMPLITUDE?
2. The lookup points are of type "unsigned int (15-bit)", but the multiplcation with the "scale" would cause overflow. Is this as expected?
3. What is the ideal value of "MEP_ScaleFactor"? I am using 90MHz sysclock for generating 50KHz pwm wave.
regards,
Hemanth
↧
Forum Post: RE: How to control ePWM output speed?
↧