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.

DRV103: PWM to control dutycycle

Part Number: DRV103

Hello everyone,

In our application we want to control the dutycycle of the DRV103 with a microcontroller but it has no DAC. Is it possible to drive it with a low pass filtered PWM signal? Also: Can it lead to problems, if a high switched GPIO has to sink current?

I made this to play around with the idea: 

https://falstad.com/circuit/circuitjs.html?ctz=CQAgjCAMB0l3BWcMBMcUHYMGZIA4UA2ATmIxAUgoqoQFMBaMMAKAEsQAWQz8FPLjxBoBVGPEhgMeBCwBOg3iMXC8okNlzwWAJWEolnKmEJUDY4TTjhohJGFtJj8-YarY0wo1GQSWAYw1PcyCzNR8HCSjosEZybGhiSANOMDxTbmxCMAQnWEkWAHdQ1QFuJXDIIpKQ8uF8KBYAcxV+MqEPCyqWzmJCPjK+8FMfKuLe-rB+FSnRFgAHGu86tvBRlgB7ZBAhKiNiATyIZy2UHd5jBByEcjyJMjtCFHtLM+wWbAEzgDEIJ18QEwQAARACuABcAJ4AHQAzgBhSH+AA2dA+AmwIF+EQkvnggIgOjosLYsPBAEMAHb+NFAA

The resistors are calculated to almost span the entire DRV103 duty cycle range with a control duty cycle between 0 and 100%.