Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 149055

Forum Post: [AM335x] Unable to receive PWM interrupt on PRU

$
0
0

Setup:

ARM, PWM and PRUSS

Steps:

1. PWM configured from ARM processor for 125 usec interrupts

2. PRU interrup controller configured to received the PWM interrupt on Host interrupt 0

Issue:

I don't receive any PWM interrupt on the PRU, though  on registering ISR for PWM on  ARM i receive interrupt on ARM.

Details:

For configuration of PRU interrupt controller, i have used PRU DRV library on ARM side. I have tweeked this library to map the PWM interrupt  to Channel 0  => to host 0.

On PRU side i am polling on the Register 31's bit 30 and 31.

I can send/recieve interrupts from ARM to PRU using the examples provided in am335x_pru_package/pru_sw/example_apps) but cannot recived interrupts on PRU from peripherals eg. PWM, CAN.

It looks that for peripheral system events, something more needs to be done which is not done by PRUSS driver library(libprussdrv).

If there is any working example involving the timers interrupts to PRU, that can also help me debug it further.

Rgds,

Anil


Viewing all articles
Browse latest Browse all 149055

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>