Other Parts Discussed in Thread: CC2538, CC2530, Z-STACK
Hi All,
I would like to generate 4 PWM signals with one maybe two timers. I see Nalves from "https://e2e.ti.com/support/wireless_connectivity/f/155/p/454176/1692318#1692318" has a similar problem that didn't get resolved.
Im using the CC2538 with ZStack and Smart Energy. Timer A seems to be free for uses not related to the RTOS, possibly timer C too.
I successfully used code from "https://e2e.ti.com/support/wireless_connectivity/f/155/t/279509" to create one PWM signal, 300KHz, 0.9%DC step.
Does anyone know how to get four separately controllable signals from one timer? Comments in the ZStack code seem to indicate that it is possible.
I was going to try using a timer and a linked ISR, so that the match-set parameter of the function TimerMatchSet() is updated four times, and four GPIO are manually updated accordingly, all within the ISR. Would this approach work?
Thanks in advance.