Part Number: TM4C1290NCPDT
TM4C: Porting old Quadrature encoder code which is based on timers, but now is inbuilt feature, any one can help me on this how can we port it
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TM4C1290NCPDT
TM4C: Porting old Quadrature encoder code which is based on timers, but now is inbuilt feature, any one can help me on this how can we port it
Hi,
I'm not sure which MCU you had before to use timer to emulate QEI. What I will suggest is instead of porting the code from a different platform, you just start your QEI based on example. Here is one post that has the QEI example. https://e2e.ti.com/support/microcontrollers/other-microcontrollers-group/other/f/other-microcontrollers-forum/919892/tm4c123gh6pm-problems-with-qei-module. Although this example is for TM4C123, both much of the code can be reused.