Hacker News new | ask | show | jobs
by limpkin 3190 days ago
Last time I looked into this AM335X chip and its PRUs, the information required to use and program them was very scarce. The SOC as a whole is not exactly developer friendly...
2 comments

My senior project as an undergrad used them. Working on the PRUs was easy and all the information you need is in the datasheet.

Working with the linux to talk to the PRUs... that was another matter entirely. There were like 3 different ways to talk to them, none of which I understood, and they all seemed to have arbitrary limits and I couldn't figure out which one was the most modern. It was a huge clusterfuck. I ran into massive memory update problems on the linux side because I was trying to funnel way too much data to handle without knowing what I was doing.

There's this framework for the PRUs that came out recently but haven't tried it

https://github.com/nesl/Cyclops-PRU

That looks pretty neat and I'll have to try it out.

Personally, this is my bare skeleton for working with the PRU: https://gist.github.com/jadonk/2ecf864e1b3f250bad82c0eae12b7....