2021-01-05 10:08 PM
Hello!
I have a SPC58EC-DISP; I set the PWM frequency 20KHz and duty cycle 1%,then it's not output,
when set 8%,it's output 2us time;
I found that the minimum PWM output time seems to be 2us.
now I want PWM frequency 20KHz(50us) and 1%(0.5us) ouput,what should I do?
Solved! Go to Solution.
2021-01-06 06:41 AM
Hello SLEE ,
i recommend to go in chapter 46 for PWM implementation Enhance Modular IO Subsystem (EMIOS) in the RM407.
Did you try o configure the driver in SPC5Studio (PWM configuration Settings)
Best regards
Erwan
2021-01-06 06:41 AM
Hello SLEE ,
i recommend to go in chapter 46 for PWM implementation Enhance Modular IO Subsystem (EMIOS) in the RM407.
Did you try o configure the driver in SPC5Studio (PWM configuration Settings)
Best regards
Erwan
2021-01-19 07:25 PM
Hello Erwan,
I know how to solve this problem,In low level drivers,set eMIOS0 internal counter frequency to max(eMIOS0 global prescaler =1).
Now, I have another question,in the SPC58EC clock tree : EMIOS_CLK is 40MHz(Default),if i set it to 80MHz,then PWM is no signal output,
why?
Best regards
SLEE