Skip to main content
DYenEmbedded
Associate II
May 29, 2023
Question

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.

  • May 29, 2023
  • 1 reply
  • 1053 views

..

This topic has been closed for replies.

1 reply

OlivierK
Technical Moderator
May 31, 2023

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

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.