PS-LPC2138 ADK, ARM Development Kit is proposed to smooth the progress of developing and debugging of various designs encompassing of High speed 32-bit MCU from NXP. The board supports NXP’s LPC214x family devices with various memory and peripheral options. It integrates on board two UARTs, LEDs, Relays, Motor Interface, keypads, an ADC input and GLCD/LCD Display to create a stand-alone versatile test platform.
The pins to be closed for the corresponding power selection is highlighted in the below description.
The external power can be AC or DC, with a voltage between (9V/12V,1A output) at 230V AC input. The ARM board produces +5V using an LM7805 voltage regulator, which provides supply to the peripherals. +LM1117 Fixed 3.3V positive regulator used for processor & processor related peripherals. USB socket meant for power supply only, user can select either USB or Ext power supply through JP1. Separate On/Off Switch (SW1) for controlling power to the board.
The ARM Mother board is delivered with NXP’s LPC2138 64-pin PQFP package, its on-board JTAG connector is provided to debug & download code to the processor. 5. Flash Programming Utility.
NXP Semiconductors produce a range of Microcontrollers that feature both on-chip Flash memory and the ability to be reprogrammed using In-System Programming technology. We have provided the Programming Utility with the package with which you can install the software and explore our ARM LPC2138/48 Boards.
Note : Make switch SW2 (pin-1) to the ‘ON’ position while programming the
Step 1: Select Device LPC2138
Step 2: Read Device Signature
Step 3: Locate Hex File and Start Programming
The Development board comes with many interfacing options
Note: The RED Highlighted buttons indicate the position of SW31 it should be for the above described operation. We follow the same schematic representation for all switches in the following chapters of the manual.
Note: SW31 make switch positions above for GLCD. Also please note the switch positions highlighted for the ARM ADB to switch over the desired operation.
Note : Make switch positions like above, UART0(P1) & UART1(P2)
The RS232 is a promising way to communicate with the Evaluation Board. It is for that we have included the example codes, with which one can study the RS232 communication. The example code can be determined from the CD, “\ARM EVB_LPC2138\Example Codes\Example\UART0&1\”.
To test the RS232 dynamically with the Evaluation Board…
After programming the LPC2138, the user can connect the RS232 cable from the PC with the COM0/COM1 of the ARM EVB. The output from the EVB can be displayed in the PC’s HyperTerminal window as follows:
Start-> All Programs -> Accessories -> Communication -> HyperTerminal
Choose a name for the window, the COM port number and select the desired baud rateŦ.
The code can be used to check both UART0 and UART1 of the ARM LPC2138, by connecting the serial cable with COM0 or COM1 of the EVB.
Screen Shot of the HyperTerminal:
The output of the example code for UART0 of ARM LPC 2138 …
The AT24C01A/02/04/08/16 provides 1024/2048/4096/8192/16384 bits of serial electrically erasable and programmable read-only memory (EEPROM) organized as 128/256/512/1024/2048 words of 8 bits each. The device is optimized for use in many industrial and commercial applications where low-power and low-voltage operation are essential.
In Embedded module 4 nos. of common anode seven segment displays are used. The segment lines of seven segments LED is being terminated at connector CN5. The digit select lines are connected to the port pins of LPC2138 by using BC547. All the common anode displays consume very small amount of current. User can use segment lines at any port P0, in all, not (P0.8-P0.15), P1, by default digit select lines connected to Port P0 of PinP0.10 to P0.13.
Note: SW31, Make switch settings like above.
Microcontroller’s two external interrupts lines are terminated at switches SW5 (EXINT1) and SW6 (EXINT2).
Note: While using interrupt short pin 1&2 at JP9(EXINT1) and 1&2 for JP10(EXINt2)
The interrupts can be studied with the help of our example coding enclosed in the package. The code could be found from the CD,
“\ARM EVB_LPC2138\Example Codes\Example\Two_Interrupts\...”
The output of the interrupts can be visualized using UART…
The program responds to both the interrupts. Int1 increments a variable and displays in the hyperterminal and Int2 decrements the same variable and displays. The UART1 of LPC 2138 is used for the interrupt study.
The screen shots of the Interrupt program execution is as follows…
Keypads arranged by matrix format, each row and column section pulled by high or low by selection J2, all row and column lines terminated at CN3.
The ULN2803A is a high-voltage, high-current Darlington transistor array. The device consists of eight npn Darlington pairs that feature high-voltage outputs with common-cathode clamp diodes for switching inductive loads. The collector-current rating of each Darlington pair is 500 mA. The Darlington pairs may be connected in parallel for higher current capability.
ULN2803 is used as a driver for port I/O lines, drivers output connected to relay and stepper motor, user can give external supply J7 PTB connector. Stepper Motor can connect JP17 or J6 connector.
Note: Select VCC, Internal or External through JP20 header.
In ADB Board two no. Of SPDT relays and one continuous buzzer are used. Both the relays operate on 5V DC. The outputs of both the terminals of the relay are taken out on the connecter to connect the external circuitry. The relay can be connected to the Microcontroller through any of the selected port. But one has to make sure that the Relay and Buzzer interfaces to GPIO Ports(D7 – D0) is done through the Upper Nibble (D6, D5, D4) of the FRC connectors JP7, JP8, JP11, JP12, JP13, JP14.
The Relay and Buzzer are connections in the connector CN7 are highlighted as above.
The Microchip Technology Inc. MCP492X are 2.7 – 5.5V, low-power, low DNL, 12-Bit Digital-to-Analog Converters (DACs) with optional 2x buffered output and SPI interface.
The MCP492X are DACs that provide high accuracy and low noise performance for industrial applications where calibration or compensation of signals (such as temperature, pressure and humidity) is required.
Note : Make switch settings SW33 & SW34 like below
The Max485 is a differential line transceiver suitable for high speed bidirectional data communication on multipoint bus transmission lines. It is designed for balanced data transmission and complies with EIA Standards RS-485 and RS-422. The part contains a differential line driver and a differential line receiver. Both the driver and the receiver may be enabled independently.
\Examples Code\RS485\receive\out\receive.hexUser can connect PS/2 Devices like keyboard, mouse to the ARM ADB board. The ARM ADB is comprised of two PS/2 Interface circuits namely PS/2(1) and PS/2(2). PS/2’s DATA and CLK lines are connected to MCU’s Port Lines by default to
For an example, the keyboard connected to the ADB board it act as a pc keyboard, pressed key code displayed in LCD or PC’s Hyper terminal window.
The ENC28J60 is a stand-alone Ethernet controller with an industry standard Serial Peripheral Interface (SPI™). It is designed to serve as an Ethernet network interface for any controller equipped with SPI.
The ENC28J60 meets all of the IEEE 802.3 specifications. It incorporates a number of packet filtering schemes to limit incoming packets. It also provides an internal DMA module for fast data throughput and hardware assisted IP checksum calculations. Communication with the host controller is implemented via two interrupt pins and the SPI, with data rates of up to 10 Mb/s. Two dedicated pins are used for LED link and network activity indication.
Ethernet Controller Features
IEEE 802.3 compatible Ethernet controller
RJ-45 In-built Transformer
Controller–area network (CAN or CAN-bus) is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer. CAN is a message based protocol, designed specifically for automotive applications but now also used in other areas such as industrial automation and medical equipment.
CAN Interface Switch Settings
Note : For CAN Interface User Needs Two ARM7 Slicker Boards (One for Node1 and another for Node2)
CAN output terminations
ARM7 Board 1 (Node1) (CON J9) CAN - L ←→ ARM7 Board 2 (Node2) (CON J9) CAN – L
ARM7 Board 1 (Node1) (CON J9) CAN - H ←→ ARM7 Board 2 (Node2) (CON J9) CAN - H
we respect your privacy.