Professional Documents
Culture Documents
USER MANUAL
18 October 2004
USER MANUAL
Table of Contents
SECTION 1: INTRODUCTION 1.1 STARTER KIT FEATURES: SECTION 2: GETTING STARTED 2.1 UNPACKING THE SYSTEM: 2.2 SYSTEM REQUIREMENTS: 2.3 QUICK START: 2.3.1 Connecting the Hardware: 2.3.2 Programming the Target Device: SECTION 3: HARDWARE DESCRIPTION 3.1 DESCRIPTION OF USER LEDS 3.2 DESCRIPTION OF THE USER SWITCHES: 3.3 IO PORTS 3.4 DESCRIPTION OF THE RS-232 INTERFACE 3.5 DESCRIPTION OF PWM, I2C AND SPI HEADERS 3.6 DESCRIPTION OF ON BOARD JTAG CIRCUIT: 3.7 JUMPER SETTINGS 3.8 MISCELLANEOUS 3.8.1 RESET PUSH Button 3.8.2 Main Power LED 3.8.3 Main Power Switch 3.8.4 ON-BOARD Regulators for the Target SECTION 4: TROUBLE SHOOTING GUIDE SECTION 5: TECHNICAL SUPPORT 4 4 4 5 5 5 5 6 7 8 9 9 10 11 12 13 13 14 15 15 15 15 15 16 17 17 19 19
18 October 2004
USER MANUAL
Table Of Figures
Figure 2-1 Default Setup Of Kit: Figure 2-2 Connection To SBC 2104: Figure 2-3 LPC 2000 Flash Utility: Figure 3-1 SBC 2104 Components: Figure 3-2 Connection Of User LEDS: Figure 3-3 Implementation Of LEDS and LED headers: Figure 3-4 Configuration Of switches for External Interrupts Figure 3-5 Installed Jumpers For Configuring Switches Figure 3-6 Pin out for the IO Port Headers Figure 3-7 PWM, I2C and SPI headers Figure 3-8 PWM signals connection to the User LEDS: 6 7 8 9 10 10 11 11 12 13 13
18 October 2004
USER MANUAL
Section 1:
Introduction
Thanks for your purchase of the LPC 2104 MCU Starter Kit. This is a complete starter kit and development system for the ARM-7TDMIS Flash micro controller from Philips Corporation. It is designed to give designers a quick start to develop code on the ARM and for prototyping and testing of new designs.
ARM 7TDMI-S Processor. RS-232 Interface to PC for Programming and Control Another RS-232 Port available for Full Modem Control Regulated Power Supply for 10 - 15V DC Power In Built Boot Loader. Reprogramming of ARM LPC 2104 3 Push Buttons for General Use 8 LEDs for General Use All ARM I/O Ports Easily Accessible through Pin Header Connectors On-Board JTAG WRIGGLER Circuit that can be connected to PC Parallel Port.
18 October 2004
USER MANUAL
Section 2:
Getting Started
ARM LPC 2104 Evaluation Board 9-pin RS-232 cable (FULL-MODEM) DC power Cable with Adapter (Output: 9V DC 500mA) CD-ROM with Data sheets and Software. JTAG 25-pin Parallel Port Cable.
2.2 System Requirements: The minimum hardware and software requirements are:
Pentium is recommended 16 MB RAM Windows 95/98/2000/ME and Windows NT 4.0 or higher 115200 baud RS-232 port (COM port) 10 - 15V DC power supply, 500 mA min.
18 October 2004
USER MANUAL
2.3 Quick Start: The SBC2104 (Single Board Computer 2104) starter kit is shipped with an ARM LPC 2104 micro controller. The default jumper settings will allow the micro controller to exe-cute from the clock source and voltage regulator on the SBC2104 board. The micro controller is programmed with a test program that toggles the LEDs. Use the supplied 10-pin cables to connect the header marked HD1 with the header marked HD8. An external 10 - 15V DC power supply is required. The input circuit is a full bridge rectifier. Connect the power cable between a power supply and the SBC2104. Apply 10 - 15V DC to the power connector. The power switch turns the SBC2104 main power on and off. The red LED is lit when power is on. The program running in the LPC 2104 now flashes the LEDS.
Figure 2-1 Default Setup Of Kit:
18 October 2004
USER MANUAL
Power Supply
The SBC2104 should be connected to the COM port of your PC as shown in the figure 2-2. Now Install the LPC 2000 FLASH UTILITY from the CD supplied with this kit in the folder Software Tools. To program the Target ARM LPC 2104, power off the SBC2104 kit. The jumper JP2 should be installed on the board. This enables the inbuilt BOOT LOADER code that is present on the chip. This code is set up in the ROM during the factory settings. Now power ON the Kit and send the hex file of your application through Philips LPC2000 Flash Utility.
18 October 2004
USER MANUAL
2.3.2 Programming the Target Device: The SBC 2104 is controlled from PHILIPS Flash Utility, version 2.1.0 and higher. Philips Utility is an integrated development environment (IDE) for downloading the ARM Application executables (.hex (INTEL)). To program a hex file into the target ARM device, Select he Flash Utility from the Start Menu Of Your OS. Select the target Device LPC 2104 from the Pull Down Menu. Enter the XTAL Freq to 14745 kHz. Select the COM port from the Communication Frame to which your Board is connected. Select the Baud rate. Selection Of Higher Baud Rate transfers the code in a less time to the Target. Now Press the Read Device ID Button. It will prompt to reset the Board. Now press the Reset Button on your Board and Press Ok in the Utility. If the Board is detected, you can see the Boot ID and the Part ID are filled up else the Utility presents an Error message on the Screen that Cannot communicate with the Test Board. Locate the Hex file and download the HEX file into the target using the Upload to Flash Button. For Verification of the data download, press the compare Flash Button. In both the cases, the progress bar shows the Progress of the job. To run the application, uninstall the jumper JP2 after Power Off and Turn On the Kit. If you still see any errors with the communications of the board, see the Trouble shooting section.
18 October 2004
USER MANUAL
Section 3:
Hardware Description
Figure 3-1 SBC 2104 Components:
LPC 2104 Crystal Oscillator Power Jack MAX 232 Level Converter Power Switch JTAG Port ISP PORT User LEDs
18 October 2004
USER MANUAL
The SBC 2104 includes 8 Green User LEDS and 3 Push Button Switches. The LEDS are connected to the debug headers, which are separated from the rest of the Board. They can be connected to the ARM device with the supplied 10-wire cable to the pin header of the ARM I/O ports. The ARM processor IO PORTS are also extended to the External Headers. The LEDS can be connected to any one of the Headers (HD1, HD2, HD3, HD4). The LEDS were connected to the Header 8 (HD8). The cables should be connected directly from the port header to the LED. The cable should not be twisted. A red wire on the cable indicates pin 1. Confirm that this is connected to pin 1 on each of the headers. Figure 3-2 shows how the LEDS should be connected to the User IO ports.
Figure 3-2 Connection Of User LEDS:
Note: The ARM can source or sink Current directly. The above figure descriptions of the user LEDS and how they are connected to the Header 8.
10
18 October 2004
USER MANUAL
The External Hardware Interrupts can be used in two ways. 1. By the Use of switches. 2. Can be connected to External Hardware using HD9.
11
18 October 2004
USER MANUAL
Using Switches: The jumpers JP5, JP4, Jp6 need to be installed for Operation Of External Hardware Interrupts using Switches as shown in the figure 3.5. For the External Interrupt INT0-JP4 need to be installed to the pins 1&2. SW2 switch is configured for INT0 here. For the External Interrupt INT1-JP5 need to be installed to the pins 1&2. SW3 switch is configured for INT1 here. For the External Interrupt INT2-JP6 need to be installed to the pins 1&2. SW4 switch is configured for INT2 here. When the corresponding switch is pressed, a low signal triggers the corresponding Interrupt. The HD9 header can be used if the user wants some interrupt from the outside world of the kit.
3.3 IO Ports
The pin out for the IO Port headers is explained in the figure 3.6.
HD1 is connected to P0-7 of the LPC 2104. HD2 is connected to P8-15 of the LPC 2104. HD3 is connected to P16-23 of the LPC 2104. HD4 is connected to P24-31 of the LPC 2104.
The Pin1 of all the Headers were connected to 5 V DC and the Pin 10 were connected to GND.
12
18 October 2004
USER MANUAL
Here you can use a 10-pin cable for the connection of the available PWM channels to the User LEDS. Make 13 18 October 2004
USER MANUAL
sure that you didnt connect the PWM channels to the VCC of the USER LEDS. While connecting to the PWM channels, leave the first two pins of the cable 1 & 2 and the last two pins of the cable 9 & 10 so that cable header exactly comes in the middle. SPI interface connections: The available connections in the pin header are P4, 5, 6, and 7. The alternate functions of these GPIO pins are SCK, MISO, MOSI and SSEL. You need to have an additional external Hardware for the usage of these Pins. For example you can connect these four pins to a Data Flash, which is also featured with SPI protocol. I2C Connections: The available connections in the pin header are P2 and P3. The alternate functions of these GPIO pins are SCL and SDA. You need to have an additional external Hardware for the usage of these Pins. For example you can connect these two pins to an external RTC, which is also featured with I2C protocol.
14
18 October 2004
USER MANUAL
List Of Jumper Settings and their description: JP4 - INT0 JP5 - INT1 JP6 INT2 JP1 DBSEL (Check the description of DBSEL pin in the 2104 User Manual) HD9 Used for extension of the HARDWARE Interrupts to External Interface. JP2 PROGRAM/RUN Selection HD6 Extended PWM channels HD7 Extended SPI Interface pins JP3 Extended I2C Interface pins
3.8 Miscellaneous
3.8.1 RESET PUSH Button The RESET push button resets the target ARM device when pushed. The master MCU is controlled by the RESET push button.
3.8.2 Main Power LED The red power LED is directly connected to the SBC2104 main power supply. The power LED is always lit when power is applied to SBC 2104.
3.8.3 Main Power Switch The Sliding switch allows the user to Power OFF/ON the Main Power Supply.
15
18 October 2004
USER MANUAL
3.8.4 ON-BOARD Regulators for the Target Three On-Board regulators were used to supply 3 different voltages 5V, 3.3V and 1.8V to the Target Processor. The Test Pads TP1, TP2 and TP3 can be used to test these different voltage levels. As most of the Standard TTL logic devices support 5V, all pin headers on the board are added with a 5V Pin so that the user can interface any external circuitry easily.
16
18 October 2004
USER MANUAL
Section 4:
Trouble Shooting Guide
Problem
The red power LED is not on.
Reason
The Dc Power cable is not connected. Wrong Power Supply is used Power Switch is Off
Solution
Connect the DC power Jack. Check the Dc Power Supply is of DC type 10-15V DC 500 mA Turn On the Power Switch Connect the LEDS header to the HD1 as described earlier. Connect the Kit to the PC and program it using LPC Flash Utility. Connect the serial cable to the PORT1 i.e. beside the Power section.
The LEDS are not connected to the IO ports. The Flash memory is erased.
17
18 October 2004
USER MANUAL
Power Off the kit. Install the Jumper JP2. Now Power On the kit Follow the instructions carefully given by the LPC 2000 flash Utility. Connect the Serial Cable to the Rs232 port (not to the Full modem Port) and check the power connections Disable the other Programs which are using the same COM PORT Connect the Serial Cable to other COM port, which is not in use.
Instructions not followed as per the Flash Utility Flash Utility does not detect the SBC 2104 Serial Cable is not connected or Power is off
Check the selection of the COM port in the communications window and also the crystal frequencies in kHz (14745). Check the Device Selection.
Note: User LEDS will work only by the proper connection of HD8 with any of the other IO Ports with a 10-pin cable.
18
18 October 2004
USER MANUAL
Section 5:
Technical Support
For technical support, please contact suresh@nalanda.com. When requesting technical sup-port for SBC 2104, please include the following information: Version Number Of Flash Utility. PC processor type and speed. PC COM PORTS available YES/NO PC operating System and version Target device name (LPC 2104) Jumper Settings Detailed Description of the Problem.
19
18 October 2004