You cannot interrupt the PRU like traditional CPUs. The interrupt controller 
sets a flag and your code has to poll for that flag. The following material may 
help you:

https://training.ti.com/sitara-processors-building-blocks-for-pru-development-summary
 
<https://training.ti.com/sitara-processors-building-blocks-for-pru-development-summary>

http://software-dl.ti.com/public/hpmp/sitara/debug_pru_using_ccs/index.html 
<http://software-dl.ti.com/public/hpmp/sitara/debug_pru_using_ccs/index.html>

The PRU examples include monitoring for interrupts. 

Regards,
John




> On Jan 11, 2016, at 6:01 AM, hllpc <[email protected]> wrote:
> 
> Hi everybody,
> I'm completely new to PASM and Beaglebone and I'm curently having some 
> trouble understand the TRM and PRU reference Guide. 
> I'd like to know if is it possible to send an interrupt to one of the two 
> pru's using the IEP timer interrupt.
> 
> What I want to do is set a different compare register value every tot hours 
> and use it to send an interrupt to the PRU0 which is busy reading and storing 
> the ADC samples.
> I've found very few examples using the IEP and mostly it is used to send and 
> interrupt to. the ARM.
> 
> Regards
> 
> 
> 
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <http://beagleboard.org/discuss>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to