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.

PWM signal in TI-RTOS

Other Parts Discussed in Thread: MSP430WARE

Hello everyone!

MSP430f5438A

tirtos_msp430_2_00_02_36

Does TI-RTOS support PWM signals? If yes then can anyone share an example program.

Thanks!

Arslan

  • TI-RTOS does not currently have a PWM module to support PWM.   We will include PWM support in a future release.  Your best near term solution is to use the timer or PWM peripheral directly.   We might have some preliminary code that you can review.  I'll check.

    Regards,
    -Karl-

  • Arslan,

    MSP430Ware has some PWM APIs you can use in the meantime. Keep in mind that the kernel also uses a timer for the System Tick. You may need to change the Timer ID for the Clock module.

    MSP430F543x

    Timer IDTimer NameBase AddressInterrupt
    0 Timer0_A5 0x340 54
    1 Timer1_A3 0x380 49
    2 Timer0_B7 0x3C0 60