BeagleBone Black programmable realtime unit (PRU) Hello World – Part 2

Introduction

In this part of the series I’m going to show you how to write a very basic C Host-Application that will run a program on the PRU of the BBB. This part of the series assumes, that you have basic C skills. I’ll also include some useful links to the official ti API. All compiling can be done with the tools, that come with the BBB, no Code Composer Studio (CCS) oder Eclipse needed, but you can use them, if you want to. Continue reading BeagleBone Black programmable realtime unit (PRU) Hello World – Part 2

BeagleBone Black programmable realtime unit (PRU) Hello World – Part 1

Introduction

This part covers the device tree overlay for our little Hello-World Example. I will not cover linux device trees here or why they are useful, because other articles in the interweb already contain great articles about this topic. I will give you some links at the end of this page. Continue reading BeagleBone Black programmable realtime unit (PRU) Hello World – Part 1

BeagleBone Black programmable realtime unit (PRU) Hello World – Intro

Introduction – A warning

After I received my BBB, earlier this week, I was absolutely keen on using the Programmable Realtime (execution) Unit (or PRU), which is included in the main ARM-CPU of the BBB. But I soon realised that this is absolutely no fun topic to start with, especially if you are new to programming or embedded architectures. So this is an official warning: IF YOU ARE NEW TO EMBEDDED HARDWARE, DO NOT START WITH PRU PROGRAMMING! Start with something, that is more fun, easier to learn and where you can actually see the progress you made. Because PRU programming might be pretty frustrating in the beginning and there is almost no community support or tutorials, you must be willing to learn this, so let’s get started. Continue reading BeagleBone Black programmable realtime unit (PRU) Hello World – Intro

Using hardware PWM/CLK to get exact timings on a Raspberry Pi

Introduction

This might not be a common issue, that hobbyists run into when creating their projects, because usually the software PWM, offered by the raspberry pi’s RPi.GPIO-Module, is exact enough for dimming some lights or controlling dc-motors. But for real-time and time-critical applications, this is actually an issue: Continue reading Using hardware PWM/CLK to get exact timings on a Raspberry Pi