2023-09-08 02:37 PM
I'm trying to use the TIM internal peripheral as an events counter on an STM32MP15. I have the ETR pin connected to a line generating pulses. When I tried to configure the trigger in STM32CubeMX,I was unable to select the ETR trigger when TIM1 was connected to Linux, only when connected to the M4 core.
Is there no linux driver capable of running the TIM internal peripheral in this mode?
https://wiki.st.com/stm32mpu/wiki/TIM_device_tree_configuration seems to indicate that `st,stm32-timer-counter` can be used as an external events counter. Do I simply need to manually create the device tree setup? If so, what do I need to do to set it up?