Re: MOD5234 eTPU Quadrature Encoder goes to output mode?
Posted: Mon Oct 11, 2010 6:58 am
If I have my QD init'd correctly, shouldn't this give a changing result as I spin the encoder shaft? I can see in lines pulsing on my 'scope.
long pc = 100;
while (1) {
OSTimeDly(1);
pc = fs_etpu_qd_get_pc(ChanA);
iprintf("%6d ",pc);
}
Sam
long pc = 100;
while (1) {
OSTimeDly(1);
pc = fs_etpu_qd_get_pc(ChanA);
iprintf("%6d ",pc);
}
Sam