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

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

$
0
0

Hi Anil,

FYI, there is a new TI released PRU software package: http://www.ti.com/tool/pru-swpkg. The PRU software package includes an example (PRU_IEP) that uses the PRU IEP timer.

Note the examples in this package use the new PRU C compiler (available through CCSv6) and a new Linux driver based on remoteproc.

Also, here are the general steps that should be taken to configure the PRU INTC for the PWM interrupt:

HIEISR = 0; //Enable host 0
HMR0 |= 0; // Ch0 -> host0
CMR10 |= 0 << 24; // Evt43 -> Ch0
SICR = 43; // Clear evt43 (HRPWM0)
EISR = 43; // Enable evt43 (HRPWM0)
GER = 1; // Enable global interrupts

Regards,
Melissa


Viewing all articles
Browse latest Browse all 149015

Trending Articles



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