Professional Documents
Culture Documents
INDEX
1. MYARM7 FEATURES.
2. POWER SUPPLY OPTIONS.
3. IO POTRS.
3.1 PORT_0.
3.2 PORT_1.
4. SERIAL PORTS.
4.1 COM_0.
4.2 COM_1.
5. ADC OPTIONS.
5.1 ADC_0_2:
5.2 ADC_0_3:
6. ON BOARD IO DEVICES..
6.1 BUZZER
6.2 LCD.
1. MYARM7 FEATURES
for external devices which has low current ratings and also
Generally LPC2148 has IO port pins of 45 pins and are divided into
8 bit pin out mode with pull up of 10 k provided.
3.1 PORT_0:
MYARM-7 board has total 29 port_0 I/O pins. In which three 8 bit
pin mode and the remaining five pins left as 5 bit pin has no pull up. As
3.1 PORT_1:
MYARM-7 board has total 16 port_1 I/O pins. In which two 8 bit
pin mode with pull up. As the pin configuration can be available in
One set of 8 bit pins of P1 are connected to LCD 8 bit data and
While programming the LCD we should not use the LCD data and
control pins.
Some pins are given to switches and buttons which we discuss later
4. SERIAL PORTS
Introducing a fractional baud rate generator for both UARTs,
data lines, the LPC2148 UART1 also provide a full modem control
handshake interface.
MY ARM-7 has two com ports which UART0 and UART1 with DB9
female connectors.
4.1 COM_0.
UART_0 has TTL pins P0.0 (TX_0), P0.1 (RX_0) has the additional
4.2COM_1
UART1 has TTL pins P0.8 (TX_1), P0.9 (RX_1) also provides a full
5.ADC OPTIONS
The LPC2148 contain two analog to digital converters. These
digital converters. While ADC0 has six channels, ADC1 has eight
LPC2148 is 14.
MY ARM-7 board has the 2 ADC in put one is POT (10 k) and
5.1 ADC_0_2
To ADC_0 the channel2 to which pin P0.29 POT is
connected(POT: ADC_0_2)
POT Meter has the variable voltage is from 0 to 3.3 volts as per
5.2 ADC_0_3
To ADC_0 the channel3 to which pin P0.30 temperature sensor
The LM35 which is of plastic package has the variation from -50
6.1 BUZZER:
6.2 LCD:
MY ARM-7 has LCD which is of 2 lined and 16 character liquid crystal
One set of 8 bit pins from P1.18to P1.25 given to LCD 8 bit data
P1.18 to p1.21 to LCD 4 bit data and P1.16,P1.17, are given to RS, EN
respectively.
While programming the LCD we should not use the LCD data and
control pins.
7. SOFTWARE PROGRAMMIG DEVLOPMENT
As there are many tools are available for the development of
the application program.keilUversion 3 is mostly used
following are the steps for developing the project
Step3: save the project with the required name and click save button
Step:4 select the device from NXP options the window which comes after
saving the project.
Step 7: select the new file from the file options to write the C code
Step 8: a new text file will open which we have to write the following code
Step 11: Add the saved .C file p by right clicking the Source Group Option1 and u
will get drop down window in that select Add Files to Group
Step 12: select the saved .c file from the window which is showing to add the file
by clicking the add tab.
Step 13: thus .C file is added to the Source Group is clearly seen
Step 14: press the icon that shows Translate Current File after pressing it will
shows errors if present which is compiling the code
Step 15: press the icon that shows Rebuilt Target which proceeds for the Linking
if the .C file.
Step 16:Re-built All Target files for complete process of assembling->Compiling -
>linking-> generating .hex file
Step 17: press the start/stop debug icon for debugging of the code which
written. Following are debugging windows press F11 for step by step debug
Window:1
Window2
Step 3: select the type of the device ur using to dump the file .select the device
(LPC 2148) and press ok button
STEP4: select the com port which the serial cable connected to the system to
development board
Step6: select the baud rate of 9600 which is the standard and preferred
STEP8: Select the oscillator (MHz) as the crystal that present on the MY ARM7
development board
Step9: click on the browse options for selecting the .hex file used to dump on
the development board
Step9: .Hex file dumping process is clearly seen in the at right side bottom of
the window