cancel
Showing results for 
Search instead for 
Did you mean: 

timer as counter in stm32mp257f

srinivas_mv
Associate II

How can I enable a timer as a counter in the device tree? When checking the status using cat, the result shows 'OK', and a counter device file is created in /dev, but no corresponding counter entry appears in sysfs.

2 REPLIES 2
srinivas_mv
Associate II

WhatsApp Image 2025-06-12 at 3.03.58 PM.jpeg

PatrickF
ST Employee

Hi,

please have a look to :

https://wiki.st.com/stm32mpu/wiki/TIM_Linux_driver 

https://wiki.st.com/stm32mpu/wiki/TIM_device_tree_configuration

 

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.