Jun 8, 2009
ADC on LPC2129
As said earlier LPC2129 has 4 onboard 10-bit ADC. Also these ADC's are internally multiplexed. So here i give out a snippet of how you could access the ADC's on LPC21xx.
At the time of writing this post,i dnt believe that any further explanation is needed . In case you need please refer to the end of line comment or feel free to comment ont he post.
#include "LPC21xx.H" // LPC21xx definitions
static unsigned short ADC_Config(unsigned char channel)
{
unsigned int i;
ADCR = 0x00200300 | ch; // Init ADC (Pclk = 12MHz) and select channel
ADCR |= 0x01000000; // Start A/D Conversion
do
{
i = ADDR; // Read A/D Data Register
} while ((i & 0x80000000) == 0); // Wait for end of A/D Conversion
return (i >> 6) & 0x03FF; // bit 6:15 is 10 bit AD value
}
int main(void)
{
while (1)
{
ADC_Config(2); // Access adc corresponding to the port
ADC_Config(4);
}
}
May 28, 2009
hola ! ARM
ARM-7 LPC2129
*MCU-> Microcontroller unit
This post is meant to introduce readers to a new platform. Presented here are few of the features of LPC2129. LPC2129 is a 32 bit MCU dev by the NXP semiconductors. It’s based on ARM 7 TDMI-s architecture. LPC 2129 is a very good tool for student projects coz it is readily available, and also costs reasonable.
Here are a few features of this MCU
· High-performance 32-bit RISC Microcontroller
· Thumb extensions
· 256KB on-chip Flash ROM
· In-System Programming (ISP) and In-Application Programming (IAP)
· 16KB RAM, Vectored Interrupt Controller,
· Two UARTs,
· I2C serial interface,
· 2 SPI serial interfaces
· Two timers (7 capture/compare channels),
· PWM unit with up to 6 PWM outputs,
· 4-channels 10bit ADC,
· 2 CAN channels.
· Real Time Clock,
· Watchdog Timer,
· General purpose I/O pins.
· CPU clock up to 60 MHz,
· On-chip crystal oscillator and
· On-chip PLL.
Mar 16, 2009
Few microprocessor tools you might be interested in
This project is application based on NetBeans api providing simulation of DOP microprocessor.
Microprocessor USB Firmware
USB Firmware and Drivers for Microprocessor and 8/16 Bit Home computer.
PIC Microprocessor Simulator on Linux
Microprocessor simulator for the PIC16F84A on Linux using a GUI to allow for easier programming and debugging of PIC applications.
Features :
- memory viewer,
- browser
- register editor and mapping PIC pins to parallel port for real world interfacing.
Mar 13, 2009
Microprocessor Simulator on Linux [ Screenshot tour ]
Features:
- Easy-to-use graphical interface.
- You may use your regular IBM PC to run simulation software that controls real hardware in real time, through the parallel port on Linux.
- An open source (for non-commercial products)and easy-to-use IDE that uses the Qt graphics library to help users build effective designs.


Download the software on sourceforge.net @ Microprocessor Simulator on Linux.[Source ]
Feb 25, 2009
Embedded Linux/Microcontroller Project

The Linux/Microcontroller project is a port of Linux to systems without a Memory Management Unit (MMU). The Linux/Microcontroller Project has grown both in brand recognition and coverage of processor architectures. Today's uClinux as an operating system includes Linux kernel releases for 2.0 2.4 and 2.6 as well as a collection of user applications, libraries and tool chains.
For more: uCLinux
Jan 8, 2009
Microcontroller and Programmer Kit for Beginner buy in india
General purpose kit with all ports available to you,
some interfacing device interfaces ,like stepper motor, LCD, LED, key/keypad, relay's.
Some extra's like ADC, DAC.
they may choose any microcontroller with 8051 core , depending upon there RAM, flash requirement but 89C51RD2 is one of the good microcontroller.
In India you can buy microcontroller kit online at www.emblitz.com
If you have credit card you can shop online and deliver it to your house.
The price details are as follows
Embedded Starter Kit is for Rs. 3970 only
Embedded ARM Starter Kit Rs. 5980 only
More details can be found in there web site