Hi,
How can i enable interrupts for ehrpwm in am335x-evm-sdk-07.00.00.00 ?
I believe the driver is located at drivers/pwm/pwm-tiehrpwm.c
Rakesh
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.
Hi,
How can i enable interrupts for ehrpwm in am335x-evm-sdk-07.00.00.00 ?
I believe the driver is located at drivers/pwm/pwm-tiehrpwm.c
Rakesh
Hi Rakesh,
We have to modify the board file for this,
Have you enabled EHRPWM support in board file ?
We need to modify the resource structure ".flags = IORESOURCE_IRQ" in your board file while you do "platform_device_register" for EHRPWM peripheral.
Hi Titus,
I was able to generate PWM interrupts on ARM side. But i want to recieve the PWM interrupts on PRU-ICSS. Any pointers on how can I achieve it.
-Rakesh
Hi Rakesh,
Please refer the AM335x's "PRU-ICSS" reference guide (PRU-ICSS interrupt chapter).
http://mythopoeic.org/BBB-PRU/am335xPruReferenceGuide.pdf
https://github.com/beagleboard/am335x_pru_package
http://elinux.org/Ti_AM33XX_PRUSSv2