Lance.
That's right, the reported value is calculated. It doesn't make a lot of sense to use up an input to monitor an output channel (otherwise we would be cutting the useful I/O in half, and these are already scarce and precious).
Yes I fully agree but this is just to highlite that what you see in a log might not be the reality, I used to work as a technical trainer for construction equipment and they also have quite a few ECU today and same thing there, diagnostic tools that we used is only showing a calculation not any actuals...
I did some more testing since I was thinking that maybe the small DC motor somehow was disturbing the electronics so I hooked up a normal lightbulb instead.
What I can see is that I cant get any voltage lower then about 3,5V so it jumps from zero to there...
Voltage is very irratic and will jump all over the place making it almost impossible to get a good reading, it will however get better after about 7-8volts.
Frequence, I understood that this would be set by PWM Period under "spare port PWM set up" and frequnce is then fixed and then the pulsewidth will be 0-100%?
Now when starting at about 3,5V I have about 4kH and at 10V I have about 1,5kH
There is no difference when changing PWM period.
The above apply for both DC motor and lightbulb.
BR//Tobmag