Monday, March 28, 2011

LPC1768 ADC has too many glitches

The on-chip ADC in the Atmega lineup was so easy to use compared to the one on LPC1768. Last time I had tried, the Atmega ADC didn't need much filtering to give reasonable results. But the ADC module on LPC1768 seems unusable without filtering.

Thursday, March 10, 2011

UART to USB converter using LPC1768 and AVR 8-bit UART library

While working on a project on the Atmega8 for school, the FT232 chip being used as a UART - USB converter failed. Well, actually its the board that failed, or rather broke...

Saturday, February 19, 2011

LPC17xx Virtual COM port - A USB CDC Class device library

With physical COM ports non-existent in laptops and fast disappearing on desktops, its a matter of immense convenience to embedded programmers if a chip has the USB interface.

Friday, January 14, 2011

Code Sourcery g++ Lite and Programmer's Notepad for LPC1768 development

Eclipse is a fantastic IDE but some may prefer the light weight Programmer's Notepad. This post will show you how easy development for LPC1768 on a Windows box using CodeSourcery g++ Lite and Programmers notepad is.

Wednesday, January 12, 2011

Interrupts, Software Interrupts and Interrupt Priority in LPC1768

The cortex-m3 core which the LPC1768 uses has an extremely flexible interrupt controller called the NVIC (Nested Vectored Interrupt Controller). The NVIC has several distinguishing features.

Thursday, November 25, 2010

Using the PLL on LPC17xx

The Phase Locked Loop is a peripheral on the LPC17xx that can be used to obtain various frequencies from the frequency sources available. It can multiply and divide the reference frequency to obtain a wide range of CPU frequencies. This tutorial describes how PLL0 can be used.

Wednesday, November 17, 2010

Hello Word ( LED blinker ) on LPC1768 explained. GPIO tutorial

Traditionally, blinking an LED has been the first program written for almost any embedded system and LPC1768 is no exception. Here's a detailed description of all the software tools needed to get started. The LPC1768H schematic is available in the NGX website. The schematics show that TEST_LED is connected to P1.29. Now, for the register description, we'll need the LPC1768 manual.