Hi Jon!

Am Mittwoch, 15. Mai 2019 02:38:00 UTC+2 schrieb [email protected]:
>
> Is there some way to halt and reset the PRU subsystem back to the idle 
> state, so it can be reloaded and started?
>

This is a bit confusing in libprussdrv. Both, prussdrv_pru_reset() and 
prussdrv_pru_disable() stop the PRU (= clear the ENABLE bit in the PRU 
CONTROL Register. But only prussdrv_pru_disable() sets the SOFT_RST_N bit 
(= performs the reset).

In any case the PRU will be stopped after one of the commands. 
prussdrv_pru_disable() will reset the program counter to 0 (zero), while 
after prussdrv_pru_reset() you can resume at the current position.

Regards

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/2147adf9-62f2-486e-aee1-ddf7beff5dca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to