Tutorial

Writing a Linux Kernel Module — Part 2: A Character Device

Introduction
In this series of articles I describe how you can write a Linux loadable kernel module (LKM) for an embedded Linux device. This is the second article in the series — please read “Writing a Linux Kernel Module — Part 1: Introduction” before moving on to this article, as it explains how to build, load and unload loadable kernel modules […]

By |April 18th, 2015|Beaglebone, Blog, Linux|20 Comments

Writing a Linux Kernel Module — Part 1: Introduction

Introduction
In this series of articles I describe how you can write a Linux kernel module for an embedded Linux device. I begin with a straightforward “Hello World!” loadable kernel module (LKM) and work towards developing a module that can control GPIOs on an embedded Linux device (such as the BeagleBone) through the use of IRQs. I will add further follow-up […]

By |April 14th, 2015|Beaglebone, Blog, Linux|28 Comments

Analog Discovery: Getting Started with the Logic Analyzer and Digital Pattern Generator

Introduction
I recently purchased the Digilent Analog Discovery (Revision C). In this post I am looking at the Digital features, in particular the Pattern Generator and Logic Analyzer functionality.
Test Circuit Setup
For this test circuit I am going to use a JK Flip-Flop, in this case a negative-edge triggered JK Flip-Flop, the 74HCT112N, which is manufactured by NXP/Philips. Like all JK Flip-Flops, it […]

By |January 12th, 2014|Blog, Digital Electronics, Tools|0 Comments