cancel
Showing results for 
Search instead for 
Did you mean: 

Where is updated stLinux User Manual ? UM1535,UM1538 very old, not for STM32MP157? Because want information how to access TIM12_CH1 is doing pwm okay test in sysfs, but want to use it for a timer interrupt handler in application, example code please.

DYenEmbedded
Associate III
 
1 REPLY 1
OlivierK
ST Employee

Hi DYenEmbedded (Community Member)

The User manual that you refer were transposed to our st wiki

https://wiki.st.com/stm32mpu/wiki/Main_Page. It's search engine is quite powerful.

For instance:

https://wiki.st.com/stm32mpu/wiki/PWM_overview#Sysfs_interface

Did you update your DT inside the timer node with the pwm subnode?

pwm {

compatible = "st,stm32-pwm";

#pwm-cells = <3>;

interrupts = <GIC_SPI 119 IRQ_TYPE_EDGE_FALLING>; // Example interrupt configuration

...

};

can you list it onboard ? cat /proc/interrupts ?

Rgds,

Olivier