Blog

The joy of writing.The power of preserving.Revenge of a mortal hand. -Wislawa Szymborska

BeagleBone:GPIO Subsystem

GPIO subsystem is a very important subsystem that allows the users to interface the board with sensors and other peripherals and allow interaction with real world.Pocket Beagle and Beaglebone black are the two most popular variants among the enthusiasts.

Logging Boot Messages

There might be situations when your Beaglebone image might not bootup or you might be playing around with uboot , MLO/SPL or might have added a new static module to kernal that might be stopping the image to boot. In all such cases you might want to peek inside the messages sent on the serial console.

Mapping PRU pins

There are 2 variants of compilers namely clpru and pru-gcc available which allows the user to write a c, c++ code to interface peripherals with PRU. There are 2 32 bit registers namely R30 and R31 writing value to the bits of these resistors controls the output value on the pin.

A quick Guide to Shared Memory Space

There are two improtant sub systems in the AM335X the ARM subsystem and the PRU sub system To get the best out of both the worlds one need to setup a communication mechanism between two.

Internet Access on Pocket Beagle

While using a pocket beagle you would quickly realise that you would need access to internet connection on it. But since it doesnot have a wifi chip onboard nor does it have a ethernet RJ45 port . You are need to go extra mile to get the internet working.

Whats Next

So far it has been a intresting journey. I could make the Shift registers apper as gpio lines, acces through character driver and control the ICs. But it is a crutial juncture , I need to figure out the next sets. I have been thinking of a SPI interface since what i am doing in the PRU is bitbanging SPI