Quick question regarding MCPWM
Posted: Tue Aug 17, 2021 2:02 pm
Hi guys, all good?
I need to measure the time between two pulses to calculate the frequency of a flow meter, and was thinking on use MCPWM compare to get that time. Also, i need to control 6 valves using pwm, wich i'm doing now using LEDC api. My question is, can i control 6 diferent DC motor using MCPWM? i know they got 6 pair of PWM, but i can control those chanel independently??
Also, any tips about time measure between pulses?
Best regards.
I need to measure the time between two pulses to calculate the frequency of a flow meter, and was thinking on use MCPWM compare to get that time. Also, i need to control 6 valves using pwm, wich i'm doing now using LEDC api. My question is, can i control 6 diferent DC motor using MCPWM? i know they got 6 pair of PWM, but i can control those chanel independently??
Also, any tips about time measure between pulses?
Best regards.