What's the current status of the PRUs?  Has anyone produced some tutorials 
on how to do simple things on it?  I've looked at the examples in Jason's 
post, but more examples on how to do simple things would be helpful.

For example, how does on set up a double buffer between the ARM and the PRU 
with the PRU interrupting the ARM when it's finished with one buffer and is 
working on the next so the ARM can refill the buffer.

Or, examples of the PRU talking to things on the i2c or SPI buses.

Has anyone gotten the PRU to control a quadcopter?

--Mark

On Thursday, August 8, 2013 11:09:31 AM UTC-4, Charles Steinkuehler wrote:
>
> On 8/8/2013 9:53 AM, WenZhan Song wrote: 
> > Thanks for prompt reply, Charles! 
> > 
> > This is a great news for us! We are newbies of BBB. Do you know any 
> source 
> > code for us to start with, including drivers of SPI and UART and power 
> > management between PRU and main CPU? 
>
> I don't off-hand know of any power management code examples other than 
> the Linux kernel itself. 
>
> There are probably some examples available from TI if you dig around, I 
> have mostly worked only with the PRU (to do real-time step/dir 
> generation for LinuxCNC), but being a hardware designer I skimmed 
> through most of the TRM reviewing the various available features and 
> some implementation details.  I leave the power management code to the 
> Linux kernel gurus!  :) 
>
> Note that unless you are running on bare metal, you'll probably need to 
> coordinate your power management with the Linux kernel somehow.  If you 
> need help with this I would refer you to TI for part-specific support, 
> and the usual Linux channels for help with the kernel code.  I'm way 
> beyond my depth in trying to write suspend/resume code for Linux...I can 
> just tell you what power states the PRU runs in. 
>
> As for the SPI and UART, there are Linux drivers available for these, or 
> you can talk to the hardware directly via the PRU if you're trying to do 
> something while the ARM core is asleep.  Hardware details are in the 
> TRM, and while you probably won't find PRU code examples, the Linux 
> drivers for these peripherals should provide examples for proper setup 
> and operation. 
>
> Good luck on your project! 
>
> -- 
> Charles Steinkuehler 
> [email protected] <javascript:> 
>
>

-- 
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/groups/opt_out.

Reply via email to