Unbound Silicon

RFM12 / RFM12B

A portable C driver for the HopeRF RFM12 and RFM12B ISM-band transceivers.

The goal of my RFM12 driver is to provide a modern, hardware-independent, and well-documented C library that abstracts the device’s low-level command interface into a clean, intuitive API.

Overview

The RFM12 and RFM12B are highly configurable ISM-band transceivers controlled through a 16-bit SPI command interface. While the devices provide considerable flexibility, using them directly requires an application to manage command encoding, configuration fields, operating modes, and device status.

The RFM12 driver moves those device-specific details into the library and exposes them through a higher-level C API. Platform-specific operations, such as SPI communication, remain outside the driver so the same library can be used with different microcontrollers and hardware environments.

Features

Tested Platforms

The hardware abstraction layer allows the RFM12 driver to be used across different microcontroller and hardware platforms. Development and testing have currently been performed on:

Resources

Examples