Hi Everyone, I am trying to drive a valve by using eTPU functions. The main purpose is to control the duty cycle of PWM signal loaded on the valve with current control.
My way is to control PWMMDC function to output a PWM signal, which is adjusted by CC function with a ASDC function measuring current, however it did not work.
Does ASDC function need a external AD converter? or it has internal AD converter? or can I use eQADC module instead?
I have also checked the ASAC function, it seems have bit relationship with eQADC, but it confused me about how to link the eQADC and eTPU.
Appreciate your help, it would be better to example codes.