On 5/17/2016 10:16 AM, Le Costaouec Vincent wrote:
> 
> This example works very well, I observe the expected data on the pin P9_29.
> 
> However, when I tried to send two data at the same time it is not working, in 
> the way that I can't observe anything on P9_27 (but I still observed the same 
> signal on the P9_29).

The modifications you made to the code to support two channels are
just wrong, you need to set/clear both output data bits before setting
the clock pin high.  Also, you'll use far fewer cycles if you can
manage to shift out bytes or words instead of single bits, but that
will depend on how you have the PRU I/O pinned out and if you can
tolerate the extra overhead in the ARM to PRU communications.

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/573B9553.9020907%40steinkuehler.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to