Hi,
preliminary to changing the AD dividers we hooked up an oscilloscope the measurements signal and motor outputs and what we saw confused us totally!
See attached scope picture.
The first one shows the AD input which stays at 1.5 V for 50%of the time and then 50% of the time there is the "double hump" actual signal.
The second one shows one of the motor phases against ground taken with persistence mode to demonstrate that the duty cycle never goes above 50% .
But we was expecting to see signals like in the last picture which is screen cap from the InstaSpin User Guide.
Is there something wrong? If not, what are we seeing/measuring here? As it stands now it looks like we can never get above 50% duty cycles ??!
I'm pretty sure your code is right so this must be some sort of brain fart on my side or I've changed something in you code (though I don't think I've touched anything in the code, apart from the user.h stuff , only at run time via the Expressions panel) but I can't figure this one out.
br Kusti