5 ms·
The PRU is a fantastic bit of hardware. With two of these running at 200MHz, and direct register-mapped access to GPIO pins, there's a lot of cool stuff you can
by nneonneo 10y ago
The PRU is a fantastic bit of hardware. With two of these running at 200MHz, and direct register-mapped access to GPIO pins, there's a lot of cool stuff you can do with them.
For example, in a recent project, I used one of the PRUs to generate a precise 40MHz square wave clock signal with 40% duty cycle, and the other to read the signal pin of a camera module into shared RAM. It worked extremely well, allowing me to obtain camera data at hundreds of FPS, and freed up the main CPU to do some fairly heavy image processing - all without involving an expensive camera capture rig or an external PC.
- chrissnell 10y agoNeat! Is the source available?
- nneonneo 10y agoIt's for an academic project which is ongoing (the camera control is just one part of the system). When it's done, I'd be happy to share source (and indeed we may simply open-source everything related to the project to accompany the publication).
- derekja 10y agoHmm, I wish HN had reddit's remindme bot! Sounds great.