Part Number: MSP430FR2311
Tool/software: Code Composer Studio
i cant get perfect duty cycle for waveform above 350 KHZ frequency
when i changed from 10%-90% the duty cycle produced will be 33% and 66%
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: MSP430FR2311
Tool/software: Code Composer Studio
i cant get perfect duty cycle for waveform above 350 KHZ frequency
when i changed from 10%-90% the duty cycle produced will be 33% and 66%
Hello Nakkiran,
Can you give us more information on your timer configuration to generate the PWM?
I also attached the example project on how to set PWM with FR2311 device. This program generates two PWM outputs on P2.6/P2.2 using Timer_B configured for up mode. The value in CCR0, 512-1, defines the PWM period and the values in CCR1-2 the PWM duty cycles. Using ~1048kHz SMCLK as TBCLK, the timer period is ~488us.
Thanks,
Yiding
**Attention** This is a public forum