Other Parts Discussed in Thread: MSP430WARE, MSP430FR2433
Hi
MSP430G2433 has two timers.
Is it possible to generate two PWM output with controlling them individually?
(Is it possible as many as the number of the timers?)
BestRegards
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.
Hi
MSP430G2433 has two timers.
Is it possible to generate two PWM output with controlling them individually?
(Is it possible as many as the number of the timers?)
BestRegards
Hi,
Is it possible to generate two PWM output with controlling them individually?
Yes, you can control them individually, depending on your requirments there are different options:
1) If you need to have two PWM output on different Timer basis, i.e. clock frequencies, you'll need to use the two different Timer modules which are on chip.
2) In case you need the different PWM to just have different duty cycles you can use the same Timer modules but different capture/compare registers. Both Timers on MSP430G2433 have three capture compare registers.
(Is it possible as many as the number of the timers?)
Depending on the package you use you'd have up to six individually controllable PWM outputs (for PW28 for example) as those depend on the number of capture/compare registers rather than Timer modules. For the different scenarios, please see comment above.
Please refer to the MSP430x2xx Family User's Guide Section 12 Timer_A for the details of PWM configuration or otherwise have a look at the code examples in MSP430Ware.
Best regards,
Britta
Hi Bruce,
Per Data Sheet [SLASE59B]
You are highlighting th MSP430FR2433 datasheet here, however, the correct datasheet for MSP430G2433 is SLAS734.
As per Block diagram and pin diagrams there are only two modules present on chip TA0 and TA1.
Also, depending on the package either 2 CCR outputs or all 3 are routed out (in case of PW28 for example).
Nonetheless yes, you'd need CCR0 to set the output frequency, so this results in 2 possible PWM outputs per Timer module.
Best regards,
Britta
**Attention** This is a public forum