MOD5234 eTPU Quadrature Encoder goes to output mode?

Discussion to talk about software related topics only.
barttech
Posts: 135
Joined: Fri Feb 20, 2009 12:59 pm

Re: MOD5234 eTPU Quadrature Encoder goes to output mode?

Post by barttech »

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
barttech
Posts: 135
Joined: Fri Feb 20, 2009 12:59 pm

Re: MOD5234 eTPU Quadrature Encoder goes to output mode?

Post by barttech »

It seems there is (was) a problem with the supplied eTPU sets. NB will be upgrading the eTPU sets. Once I installed the upgraded etpu_qd_auto.h I had no trouble getting set3 to work. Still not sure what is up with my custom set but I need to move on with my QD work now. I still get a trap with etpu_set4.h...
Sam
Post Reply