Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
I'm developing a project based on TM4C1294NCPDT, where I checking the TI-RTOS for proper implementation to generate configurable frequency clock (used to drive switch cap filter circuit) up to 100KHz.
I initially wired up to have 4 different clock frequency (fixed 50% duty cycle) on PWM4,5,6,7, no more than 100KHz.
However, I found in the datasheet, it not possible to have a separate clock between PWM module 4 and 5 as well as 6 and 7. Thus the wiring is then changed to PWM0,2,4 and 6 so different frequency is possible. However, this upset the SPI bus (I have not used PINMUX yet to optimise).
The plan B is to use Timer in PWM mode and have TxCCPx GPIO out.I can choose T0CCP0, T0CCP1, T1CCP0, T1CCP1 each for a different frequency, no ISR needed (free running between timer and GPIO), no distraction from firmware or ISR service to toggle the GPIO. I guess this is a better option than using PWM.
However, I need to know how to use TI-RTOS to setup timer and how to make TI-RTOS aware not to use Timer 0 and Timer 1.
I could not find demo code for this configuration.
R.