cancel
Showing results for 
Search instead for 
Did you mean: 

About the PWM minimum duty cycle time in SPC58EC

SLEE.6
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

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

View solution in original post

2 REPLIES 2
Erwan YVIN
ST Employee

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

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