STUDY OF ARM 7 EVALUATION SYSTEM
AIM: To study the ARM 7 Evaluation LPC2141/2/4/6/8.
WS-LPC2148_V1.0 KIT FEATURES:
LPC2141/2/4/6/8 is the Single-chip 16-bit/32-bit 60 MHz microcontroller, 32 kB to 512
kB Flash / 32kB SRAM, 10-bit ADC / DAC, SPI, Timers, RTC, I2C, UART and Integrated Full
& Low speed USB 2.0
PIN DETAILS OF LPC2148:
BLOCK DIAGRAM OF LPC2148:
LPC2148 KIT OVERVIEW:
SOFTWARE:
KEIL COMPILER
Create new project and click on NXP
Select LPC2148 and then the Target file will be created- type the program- save the file
as filename.c
Click on Add files to Group Source Group 1.
Click on create HEX.file to options for Target.
To compile, click on Translate and check for errors- Build and Rebuild the program.
FLASH MAGIC:
1. Configure the settings.
2. Click on Erase all flash+code Rd Prot.
3. Browse for the created HEX file.
4. Keep the kit in Program mode.
5. Click on Start to transfer the program to the LPC2148 kit.
6. After transferring the program keep the kit in Run mode and press Reset button to get
the output.
REGISTER DESCRIPTION:
1. PINSEL: Pin selection
PINSEL0: P0.0 TO P0.15
PINSEL1: P0.16 TO P0.31
PINSEL2: P1.16 TO P1.31
2. IOxDIR: I/O Direction
x = 0 or 1 depending upon the ports (P0 or P1) used.
Used to configure the port as either input or output.
For Input pin value 0.
For Output pin value 1.
3. IOxPIN: To read the input values.
4. IOxSET: To set the input or output values to pin. SET means that pin value will be 1.
5. IOxCLR: To clear the input or output values to pin. CLEAR means that pin value will
be 1.
RESULT :
Thus the study of ARM 7 Evaluation is completed.