This code example show how to configure the Counter and Timer blocks in ADSP-CM40x for a typical incremental encoder application. The code example is designed to run on a standard ADSP-CM408 EZ-kit without any Motor Control extender boards.
The main features of the example are:
For more information see the Release Note found in the zip-file.
thank you , I have found the reason. I use the motor with (5v,0v) feedback. but the circuit of LV-motor-board is not suitable for the signal . only 1.76V is measured in the GPIO.
The next step. I perpare to design a converting circuit for 5v to 3.3v.
counter0 doesn't work
I have some problems in running this program. I use counter0 and timer0_TMR6 . and use the LV-motor-board ( CM408 Motor Control Platform ).