AnsweredAssumed Answered

K20 FTM synchronization by PDB

Question asked by Vaclav Grim on Jun 3, 2018
Latest reply on Jun 6, 2018 by Jing Pan

I am trying to make a BLDC controller. Commutation period is set by PDB0 in continuous mode, PWM with appropriate masking is done by FTM0, which is reloaded and restarted synchronously with PDB0 overflow.

I was able to set up trigger signal generation by enabling PDB channel 1, pretrigger 0.

However, now it is necessary that ADC1 is powered up and waiting for interrupt to read R[0], otherwise COCO remains set, PDB detects sequence error and halts trigger generation.

Is there any way to use PDB for FTM synchronization while ADC1 is off, or is used for other unrelated tasks?

Thanks for any suggestions

Outcomes