Monthly Archives: February 2015

LPC812 on a 20MHz External Crystal

Because the NXP LPC800 clock options and the setup are somewhat confusing, I thought I would post this example. Here is my LPC812 dev board running on a 20MHz external crystal. The frequency counter is reading the clockout pin which … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , | Leave a comment

LPC810 Breakout Board

This basic Arm Cortex-M0+ NXP LPC810 breakout board features a FTDI programming header, USB (mini-B) connector for power only, a LM117-3.3v voltage regulator, power LED, ISP and Reset buttons and a standard 2×5-pin 0.05″ SWD debug connector. All pins are … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

LPC812 Switch Matrix

One unique feature of the LPC8xx µC is the ability to swap pin functions. Want an UART TX on pin #10 and RX on #2? No problem. You can assign the pin functions via the Switch Matrix. This allows great … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

NXP LPC812 Clocks and Timers

Oscillators and Clocks The System Oscillator, not to be confused with the System Clock, can be fed by an external source (XTAL pins or CLKIN pin) or from the 12MHz Internal Oscillator. The external sources are limited to a maximum … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

ARM NXP LPC 812 (SysTick) IRQ Blnk

SysTick IRQ Blink Program:

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

An ARM Up

On a recent project I needed a µC in a SOIC-20 package to fill a spot on a self-designed PCB. The project started with an ATtiny4313, but the software quickly outgrew the limited 4K flash program memory. I upgraded to … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

Converting a Float to a Char Array

Surprisingly, this question pops up often. While the technique used here is not really a conversion, it does allow access to the individual byte values of a float variable by constructing a union. A union is a data structure that … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment