AnsweredAssumed Answered

Maximum ETPU channel frequency

Question asked by Vrushali Taklikar on Aug 16, 2017
Latest reply on Aug 22, 2017 by David Tosenovjan

Hi,

 

Can someone please highlight, what is the maximum limit of etpu channel frequency?

 

In the application notes, it states 

freq (uint32_t): The frequency of the PWM output in Hz. The range of this parameter is determined by the complete system but normally should be between 1 Hz and 100 kHz.

 

However I have to generate PWM of 300Khz, and When I generate, I get a square wave in which the vertical edges are not vertical.The rise and fall in voltage should be instantaneous but here there is a distinct lengthening of the rise and fall times plus a certain amount of rounding of the waveform.

 

I tried to use different value of slew rate while configuring SIU_PCR register.

 

Please suggest.

 

Waveform generated by my code is similar to one attached.

 

Thanks

Vrushali

Attachments

Outcomes