Hi!

I would like to notify my host program that PRU1 has reached the end of its 
execution.

On PRU1, I have:

MOV     R31.b0, PRU1_ARM_INTERRUPT+16

where PRU1_ARM_INTERRUPT = 20.

On host side, I have (using python binding):

prussdrv.init()
prussdrv.open(prussdrv.PRU_EVTOUT_1)

...

prussdrv.pru_wait_event(prussdrv.PRU_EVTOUT_1)
prussdrv.pru_clear_event(prussdrv.PRU_EVTOUT_1, prussdrv.PRU1_ARM_INTERRUPT)

but it does not work; my host never comes out from pru_wait_event()...

I have to admit that I don't understand yet very well how interrupts work!

Thanks,

Frédéric

-- 
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