Tag Archives: arm

Arduino Due Assembly Language Listing of Compiled Sketch (Windows)

1) Compile your sketch with verbose output turned on during compilation. 2) Find the ELF file – One of the last commands in the output window will be an “avr-objcopy” targetting the compiled (.elf) file of your sketch. Find and … Continue reading

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

Arduino Due Inline Assembly Blink

Very basic inline assembler example of the blinky program. A good place to start learning ARM assembly language is through this online book. You will find a concise summary of ARM GCC inline assembly here. Interesting to note, the Arduino … Continue reading

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

STM32F411RE Nucleo PCD8544/Nokia5110 Simplistic Chronograph (Timer) Program

A very simplistic timer implemented on an STM32 Nucleo board using a PCD8544 controller/Nokia 5110 LCD for display output. The display uses a memory buffer to construct the screen display, and sends the complete buffer to the LCD instead of … Continue reading

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

STM32F411RE Nucleo 40MHz SPI with Cypress FM25CL64B FRAM

Previously, I tested a Cypress FRAM memory chip with the Arduino. A feature of FRAM memory is the speed at which it can be accessed. Cypress claims the FM25xxx chips can operate at 40MHz, however the maximum speed for SPI … Continue reading

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

LPC81x ARM Cortex-M0 Basics

ARM Cortex-M0+ Architecture Basics Based upon Harvard Architecture, the LPC812 uses an ARM Cortex-M0+ processor. This means it has separate instruction (flash) and data (SRAM) memory. The basic architecture includes the core components and peripherals. The core consists of: Processor … Continue reading

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

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 , , , , , , , , , , | 1 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