Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

TDA4VM: QEP under Linux

Part Number: TDA4VM

Has anyone validated the eQEP peripheral?

I've enabled the eQEP driver using the code in the mainline Linux kernel: https://lore.kernel.org/all/20211204163409.2a4fd5c5@jic23-huawei/t/#ma6714213d0ca9e5665a28bdc9100949a0b559b1f

I then attempted to monitor the QEP.

root@TDA4VM:/sys/bus/counter/devices/counter0/count0# echo 1 > enable
root@TDA4VM:/sys/bus/counter/devices/counter0/count0# watch -n 0.1 cat count

root@TDA4VM:/sys/bus/counter/devices/counter1/count0# echo 1 > enable
root@TDA4VM:/sys/bus/counter/devices/counter1/count0# watch -n 0.1 cat count

Then, I send pulses using a Pololu quadrature encoder (https://www.pololu.com/product/3499).

I'm not seeing the value change.

Any thoughts on what I might be doing wrong? Has anyone validated this peripheral on TDA4VM?