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.
Waveform generated by my code is similar to one attached.