PWM signwave with 50ns freq. Step

Thread Starter

Max.Otto

Joined Oct 27, 2014
7
Hi all,
i want to generate PWM step with 50ns. For this i have input signal.
The PWM Clock freq = 24Mhz.
if input is 3,25v then PWM freq = 1 µs (microsec)
if input is 0,5v then PWM freq = 250ns (nanosec).

pls share ur ideas for doing this task.
Regards
Max
 

Alec_t

Joined Sep 17, 2013
14,313
Do you want a step width of exactly 50nS? That will be tricky (to say the least) when your clock period is 1/24MHz = 41.66nS :(.
 

ScottWang

Joined Aug 23, 2012
7,400
PWM frequency = 50nS = 20 Mhz
24Mhz=41.667nS, which is right?
So you have 24 Mhz(41.667nS) frequency, but you want to get a 50nS(20Mhz) pwm?
 

ErnieM

Joined Apr 24, 2011
8,377
You say you want a PWM (Pulse width) with steps of 50nS, then give two other periods.

Something is not making sense in your question, please rephrase it, I thing something is getting lost in translation.
 

Thread Starter

Max.Otto

Joined Oct 27, 2014
7
i got 1 Problem when i set clock to 20 MHz then my Controller tell me thje wrong configuration

I explain u all my whole tast.

I have 2 PWMs. 1 Forward & other Backward. I have to set Deadtime as Input.
if i/p = 3,2v then DT = 24,
if i/p = 0,5v then DT = 2.


Same time the Duty cycle of both PWM should 47% of period.
pls share ur ideas to perform this tast.

Regards
Max
 

Alec_t

Joined Sep 17, 2013
14,313
That's a completely different 'tast' (task, test, ?) from the one in post #1. Which one do you really want help with?
 

Thread Starter

Max.Otto

Joined Oct 27, 2014
7
Hi all,
i want to generate 1 PWM Signal with deadtime Input (with A/D channel Volatege between 0.5 to 3.25)

pls help me for this.
 

Alec_t

Joined Sep 17, 2013
14,313
The task in post #11 is different again! We are unable to help you if you yourself don't know what the correct task is :(.
 
Top