- Thu May 14, 2009 10:50 am
#72787
Hi there,
Does anyone know how to generate PWM from MSP430 by using either Timer_A or Timer_B?
Well i need 2 PWM Signal, where their frequency are adjustable.
The first PWM Signal, PWM_1, i need is 300Hz and the other, PWM_2, is 8 times of the first signal.
And also can anyone tell me how to calculate the value of CCR0 and CCR1?
Apart of that, how can the frequency be adjusted? do i need to use anither CPU Registers?
By the way, i am using ACLK for both Timers and The output mode for both are Mode7.
I am using ASSEMBLY CODE
Thank you very much
Does anyone know how to generate PWM from MSP430 by using either Timer_A or Timer_B?
Well i need 2 PWM Signal, where their frequency are adjustable.
The first PWM Signal, PWM_1, i need is 300Hz and the other, PWM_2, is 8 times of the first signal.
And also can anyone tell me how to calculate the value of CCR0 and CCR1?
Apart of that, how can the frequency be adjusted? do i need to use anither CPU Registers?
By the way, i am using ACLK for both Timers and The output mode for both are Mode7.
I am using ASSEMBLY CODE
Thank you very much