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.

CC2640R2F: Two synchronous PWMs with delay

Part Number: CC2640R2F

I need two PWMs to run synchronous at different periods, well understood that both periods should be multiple. Additinally I need an adjustable delay between them.

I know that 'wait on trigger' (daisy chaining) is not supported in PWM mode, so I have tried two alternatives:

1) Starting PWM2 through a GPTimer delay: Up to a delay of 120us it works fine, but at higher values, the delay seen at oscope leaves to make sense. Additionaly, the delay set is lost when changing PWM2 period.

2) Using just one PWM with interrupt callback: If controlling pin2 output from a PWM1 callback it works fine, even I can assign a delay and change it dinamically. But precisión is horrible, output signal is dancing over a range of ±30us.

Is there any other way to get signals such those or to increase precisión?

Thank you