LPC2148 DEV BOARD. User Manual.

Similar documents
CoiNel Technology Solutions LLP. LPC2148 ARTIST Instruction Manual LPC2148 ARTIST. Instruction manual. Revision 1

LPC1788 Mio Board. User Manual. Revision 1.0 1

LPC1788 Mio Board. The functional details of the board are as follows-

RX62N BOARD User Manual

User Manual: LPC1830-Xplorer LPC1830-Xplorer

CMSIS DAP Setup. Document Version History Document Version ngxtechnologies.com 2

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

Ethernet1 Xplained Pro

Table 1. RS232 Serial Adapter DEBUG Connector Pin Descriptions

TMS320C5535 ezdsp Quick Start Guide

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

AVR-P20 development board Users Manual

AVR-P development board Users Manual

USER GUIDE. Atmel QT6 Xplained Pro. Preface

QT2 Xplained Pro. Preface. Atmel QTouch USER GUIDE

TMS320C5502 ezdsp Quick Start Guide

The USB Debug Adapter package contains the following items: USB Debug Adapter (USB to Debug Interface) with attached 7 Ribbon Cable

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

USER GUIDE. Atmel QT1 Xplained Pro. Preface

8051 General Purpose Board

BV511 Hardware Guide ByVac ByVac Revision 1.0

USER GUIDE. Atmel Segment LCD1 Xplained Pro. Preface

BIG8051. Development system. User manual

USER GUIDE. Atmel OLED1 Xplained Pro. Preface

LPC2468 Industrial Reference Design Platform System Development Kit Version 1.2. August 2008

USER GUIDE. ATWINC1500 Xplained Pro. Preface

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

ATtiny104 Xplained Nano. Preface. AVR 8-bit Microcontrollers USER GUIDE

Intel Galileo gen 2 Board

LPC1768 Industrial Reference Design Platform System Development Kit Version 1.3. May 2009

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

January 2003 Digital Audio Products SLEU031

AC/DC. Adapter. Ribbon. Cable Serial. Serial. Adapter. Figure 1. Hardware Setup using an EC2 Serial Adapter

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

XDS220 Quick Start Guide

LPC-P1227 development board USER S MANUAL Revision B, July 2013 Designed by OLIMEX Ltd, 2011

UM User Manual for LPC54018 IoT Module. Rev November Document information

AC/DC Adapter. Figure 1. Hardware Setup

LPC-P1227 development board USER S MANUAL Initial release, March 2012 Designed by OLIMEX Ltd, 2011

Atmel AVR ATxmega384C3 microcontroller OLED display with 128x32 pixels resolution Analog sensors. Ambient light sensor Temperature sensor

Use of ISP1507-AL Evaluation Boards

No: SW1.12_4.0.2 V F

AVR- M16 development board Users Manual

Easy Kit Board Manual

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

STM32H7x3I-EVAL. Evaluation board with STM32H7x3XI MCUs. Data brief. Features

PAC5523EVK1. Power Application Controllers. PAC5523EVK1 User s Guide. Copyright 2017 Active-Semi, Inc.

GIE 8051 Professional Kit. User Manual

PIC-P28-USB development board Users Manual

Note: The Silicon Labs USB Debug Adapter is not included in this kit and is required to reprogram the board.

Future Designs, Inc. Your Development Partner LCD DEMO KITS

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

APPLICATION NOTE. Atmel QT4 Xplained Pro User Guide ATAN0114. Preface

DATASHEET 4D SYSTEMS TURNING TECHNOLOGY INTO ART. USB to Serial UART Bridge Converter. Document Date: 5 th September 2012 Document Revision: 1.

Application Note: AS3935-AN01 Demo Board Description AS3935. Franklin Lightning Sensor Demo Board. Revision 1.1 / 21/11/12 page 1/20

OMAP-L138 experimenter Kit. QuickStart Guide O

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

User s Guide. EPD EXT2 with Cypress PSoC 4 BLE module. Doc Rev. 01 (Nov 2017) Preface

1 General Description

Quick Start Installation Guide

USB-to-I2C Basic. Hardware User s Manual.

I/O1 Xplained Pro. Preface. Atmel MCUs USER GUIDE

Nuvoton 1T 8051-based Microcontroller NuTiny-SDK-N76E885 User Manual

8051 Advance Trainer

LPC-H1343 development board Users Manual

Clicker 2 for Kinetis

STM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

GSM Interfacing Board

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

ATZB-SAMR21-XPRO. Preface. SmartConnect USER GUIDE

RX110H. Motherboard Layout: Board Layout:

FT232 Serial to USB Converter

Figure 1. 8-Bit USB Debug Adapter

ADSP-218x Family EZ-ICE Hardware Installation Guide

AC/DC. Adapter. Serial. Adapter. Figure 1. Hardware Setup

F²MC-8L FAMILY MB89201 SERIES FLASH PROGRAMMING 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Modules For Six Months Industrial Training On WIRELESS EMBEDDED SYSTEM DESIGN

FM3. MB9B500 Series 32-BIT MICROCONTROLLER FSS MB9BF506R EV-BOARD USER MANUAL APPLICATION NOTE FUJITSU SEMICONDUCTOR (SHANGHAI) LIMITED

USB-to-I2C. Ultra Hardware User s Manual.

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Atmel AVR1926: XMEGA-B1 Xplained Getting Started Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

VSX-6101-V2 VSX-6100-EVB (Evaluation board) DM&P Vortex86SX 300MHz DIP 48pin CPU Module

Embedded Navigation Solutions VN 100, VN 200 & VN 300 Development Board User Manual

UM LPC54018 IoT module. Document information. LPC54018, OM40007, Amazon FreeRTOS, AWS, GT1216 LPC54018 IoT module user manual

Nuvoton 4T 8051-based Microcontroller NuTiny-SDK-N78E715 User Manual

HARDWARE REFERENCE IMM-NRF51822

PremierWave 2050 Enterprise Wi-Fi IoT Module Evaluation Kit User Guide

DEV-1 HamStack Development Board

AVR Peripheral Board. Campus Component Pvt. Ltd.

February 2003 PMP EVMs SLVU081

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions.

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

AVR32901: EVKLCD100/EVKLCD101 Hardware User's Guide. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

ICP05 IBOARD LITE ICP05. - iboard lite

USB-to-I2C. Professional Hardware User s Manual.

ED40. Development Kit. Quick Start Guide

VSX-6101 VSX-6100 VSX-6100-EVB DM&P

Transcription:

LPC2148 DEV BOARD User Manual www.coineltech.com www.coineltech.com

Designed by CoiNel Technology Solutions LLP No-816, 2 nd Floor, 4 th B Cross, 9 th A Main, RPC Layout, Vijaynagar, Bangalore-560040 State: Karnataka Country: India www.coineltech.com For any questions or issues submit them to info@coineltech.com Designations used by companies to distinguish their products are often claimed as trademarks. In all instances where CoiNel is aware of trademark claim, the product name appears in initial capital letters, in all capital or in accordance with the vendor s capitalization preference. Users should contact appropriate companies for more complete information on trademark and trademark registrations. All trademarks and registered trademarks in this manual are the property of their respective holders. No part of this manual may be reproduced or distributed in any form or by any means, or stored in the database or retrieval system, without the prior written permission from CoiNel Technology Solutions LLP; with the exception that the listings may be entered, stored and executed in a computer system, but they may not be reproduced. The content in this manual are presented for instruction value. The details have been carefully tested, but are not guaranteed for any particular purpose. CoiNel Technology Solutions does not offer any warranties and does not guarantee the accuracy, adequacy, or completeness of any information herein and is not responsible for any errors or omissions. CoiNel Technology Solutions LLP assumes no liability for damages resulting from use of such information in this manual or for any infringement of intellectual property rights of third parties that would result from use of this information. This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMONSTRATION and EDUCATION OR EVALUATION PURPOSES ONLY and is not considered by CoiNel Technology Solutions LLP to be a finished end-product fit for general consumer use. Persons handling the product(s) must have electronics training and observe good engineering practice standards. As such, the goods being provided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing related protective considerations, including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards. The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the user indemnifies CoiNel Technology Solutions LLP from all claims arising from the handling or use of the goods. Due to the open construction of the product, it is the user s responsibility to take any and all appropriate precautions with regard to electrostatic discharge. EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES. CoiNel Technology Solutions LLP assumes no liability for applications assistance, customer product design, software performance, or infringement of patents or services described herein. http://coineltech.com/shop/ Revision 1 1

Change Log The version of the development: Revision LPC2148DEVBRD1.1 Document Version: Manual_LPC12148DEVBRD1.1 http://coineltech.com/shop/ Revision 1 2

TABLE OF CONTENTS 1. INTRODUCTION 4 2. HANDLING WARNINGS 5 3. KIT DELIVARABLES 5 4. BOARD USE REQUIREMENTS 6 5. FUNCTIONAL BLOCK DIAGRAM 7 6. BOARD LAYOUT 8 7. HARDWARE RESOURCES 9 8. IO CONNECTOR DESCRIPTION 10 9. VALIDATING LPC2148 DEV BOARD 16 10. STEPS TO DOWNLOAD HEX FILE THROUGH SERIAL PORT 20 http://coineltech.com/shop/ Revision 1 3

1. INTRODUCTION ARM7 LPC2148 is a 16/32 bit ARM7TDMI-S Core Microcontroller from Philips (NXP). LPC2148 includes built in peripherals such as USB, ADC, DAC, Timer/Counter, PWM, Capture, RTC, I2C, SPI, UART etc. LPC2148 Dev Board is optimized to save development time in typical embedded control applications. The Dev Board is an extension of a basic header board and has an important peripheral interface assembled for evaluation and testing. About 20 IO are connected via standard 2.54mm berg connectors (This can be used to connect graphical LCD, 4x4 Matrix Keyboard or other interface as required). The functional details of the board are as follows: 16/32 Bit ARM7TDMI-S MCU No.LPC2148 from Philips (NXP) Has RS232 Communication Circuit for 2 Channels (UART0 and UART1). Has micro SD card connectivity. USB device Option. Has EEPROM interface using I2C. Has PS2 keyboard interface. Has audio Interface. Analog input via AD0.1 I/O pin out for different interfaces. Onboard 16*2 LCD. Onboard 7 segment displays via I2C. On Board Graphical LCD Connectivity option. (Can also be used as GP IO) On Board 4x4 matrix keypad Connector. (Can also be used as general purpose IO) On Board Temperature Sensor connected to AD0.2. On Board Buzzer and Relay. Onboard Reset and ISP Switches. On Board Power Supply Circuit for +5V and +3.3V (USB or external power Source input options) On Board 12 MHz Oscillator. http://coineltech.com/shop/ Revision 1 4

32.768 KHz Clock for RTC. Option for a CMOS Battery. Onboard 20 pin JTAG connector for debugging/programming applications. LED for Power Supply, USB and Test LED. Power Supply DC input 7.5-9V/ 500mA - 1A. Board Dimensions 125 x 139 mm2. Material: FR4, Finish: ENIG. 2. HANDLING WARNINGS The Kit must not be subjected to high electrostatic potentials. General practice for working with static sensitive devices should be followed when working with the LPC2148 DEV Board. Board must always be handled at properly designated work areas. When not being worked on, the board must be enclosed in the box and stored safely. Avoid touching the circuits or components. Stacking of circuit boards and assemblies should be avoided to prevent physical damage. 3. KIT DELIVERABLES LPC2148 DEV Board. USB Cable. CD that contains, KEIL evaluation version installer, Flash Magic Installer, H JTAG installer schematics, user manual and related documents, hex files for various peripherals, Keil project and workspace for implementing peripherals and few example project codes. http://coineltech.com/shop/ Revision 1 5

4. BOARD USE REQUIREMENTS To test and evaluate the board, we recommend the following configurations PC with 2.0 GHz or higher CPU, 512 MB or above RAM, USB Port, Serial Port. (Will need a Parallel Port if a Parallel JTAG is being used) Operating System (We recommend Windows XP, since most of our testing is done on same platform, although other OS can also be used) Integrated Development Environment (We recommend Keil 4. Other compatible IDE can be used). Debugging/Programming Tool (We recommend HJTAG if Parallel Port JTAG is used, CoiNel ARM USB JTAG has been checked on Rowley Crossworks). Known Issue: CoiNel ARM USB JTAG does not work for LPC2148 on Kiel UVision To test all the features of the board, you would also require a USB Cable (A to B), a Micro SD Card, Speakers or Headphones, PS2 Keyboard, Serial cable and DC power adapter (7.5V-9V/1Amp DC). The board can also be powered by USB and hence use of DC power adapter is not always required. 4x4 matrix keyboard and graphical LCD can also be tested. These boards are sold separately and can be purchased at www.coineltech.com/shop http://coineltech.com/shop/ Revision 1 6

5. FUNCTIONAL BLOCK DIAGRAM OF LPC2148 DEV BOARD http://coineltech.com/shop/ Revision 1 7

6. BOARD LAYOUT TOP VIEW http://coineltech.com/shop/ Revision 1 8

7. HARDWARE RESOURCES http://coineltech.com/shop/ Revision 1 9

8. IO CONNECTOR DESCRIPTION The details of the IO connections are as follows 8.1. DC Power Input The Power supply to be used has to be 7.5V to 9V DC, 1Amp. The DC jack connectivity details are shown in the figure. A slide switch is provided for power ON/OFF control. The slide switch is useful only when an external DC adapter is used. When USB is used to power the board, the switch condition will not have any effect on the power input. When using the adapter, sliding the switch towards the arrow shown in figure will turn the board ON. http://coineltech.com/shop/ Revision 1 10

8.2. JTAG 20 Pin Box Header The box header will be used to connect the JTAG for Debug/Programming. A 20 Pin IO Cable can be connected here which connects from a Parallel/USB JTAG. You can buy the Parallel or USB JTAG at http://www.coineltech.com/shop 8.3. Micro SD Card Connector The correct way of inserting the SD card is given below. Pressing the card in the direction shown will lock the card. Make sure the card is properly inserted. Note: To remove the card, press the card gently in the same direction shown above and then letting it loose. The card will easily pop out and can be removed. http://coineltech.com/shop/ Revision 1 11

8.4. AUDIO JACK Audio jack is provided for plug & play audio. The audio connectivity is via internal DAC. The DAC has a jumper (J9) just in case you want to connect the DAC output to other devices. 8.5. USB CONNECTIONS The USB provided can be used as an End Device. http://coineltech.com/shop/ Revision 1 12

8.6. Analog Input The POT is connected to AD0.1 8.7. Reset and ISP Switch The reset switch can be used for resetting the CPU and ISP (In system programming) switch will be used during external interrupt/programming. The details of programming LPC2148 in ISP mode is given in detail in programming section. http://coineltech.com/shop/ Revision 1 13

8.8. 4x4 Matrix Keypad connector bergs Note: Apart from connecting 4x4 matrix keypad, these bergs can also be used as IO pins for other applications. 8.9. Graphical LCD connector bergs http://coineltech.com/shop/ Revision 1 14

Note: Apart from connecting Graphical LCD, these bergs can also be used as IO pins for other applications. 8.10. Jumper connections for TEST LED, BUZZER and RELAY The test led, buzzer and relay are connected via port pin P0.10. http://coineltech.com/shop/ Revision 1 15

9. VALIDATING LPC2148 DEV BOARD 9.1. Powering the Board The board can be powered using an adapter or through the USB. Connect the adapter (7.5V- 9V/ 1 Amp) to the DC Jack provided and slide the switch towards ON Position. The details are shown below. You can also power the board using USB by connecting the USB A to B Connector as shown. The other side of the cable is connected to PC. When the Power is applied, the POWER LED (D11 beside the DC Jack) will turn ON indicating board power up. 9.2. TESTING FOR BOARD WORKING The LPC2148 DEV Board comes with the preloaded program to test various peripherals. When you power the board for the first time, 1. After about 3 seconds. LCD will be initialized and will Display CoiNel on first line and coineltech.com on second line. Note: There is a delay of 3 seconds as there is a code written for graphical LCD initialization before 16x2 LCD initialization. If you have brought a graphical LCD, you can shift pins of J2, reset the controller by pressing reset switch and check data displayed on graphical LCD. http://coineltech.com/shop/ Revision 1 16

In case you have checked for graphical LCD working, switch off the board, shift J2 back for 16 x 2 LCD and restart the board. This is done as other peripheral checking information is displayed only on 16 x 2 LCD. 2. EEPROM Data will be checked and the corresponding messages will be displayed on 16 x 2 LCD. Note : If the EEPROM read/write is correctly executed, the Test LED also turns ON provided J18 is connected to Test LED 3. 7 Segment Test message will be displayed. An up counter from 0 to 10 will be displayed on 7 segment displays. 4. SD Card Check Process will be displayed If the card is not inserted, a card not detect message will be displayed and the SD Card process is completed. If the card is inserted, card detect message will be displayed and sample text file will be written and read from the SD card. This would confirm the SD card initialization and communication. Note: You can use a card reader and see if a text file is created in the SD Card for confirmation. 5. Press Any key message will be displayed followed by which the TEST LED will blink for some time. Press key is for PS2 keyboard interface. 6. The TIME data is displayed continuously and will keep updating starting from 00:00:00. Make sure you have a CMOS Battery connected. http://coineltech.com/shop/ Revision 1 17

Note: 1. If you enter any data using PS2 Keyboard, the same will be displayed on LCD. 2. If you connect a speaker or a headphone to the audio jack, you will hear a repetitive beep sound. 3. Checking Serial Port a. Make sure your serial port of PC is working. If you are using 9 core cable, make sure J23 jumper on LPC2148 DEV Board is removed. Note: J23 is used during AUTO code download mode on UART0 and is used to make the microcontroller enter into programming mode. Having J23 connected and using UART0 can reset the board. The second option is to use a 3 core cable which uses TX, RX and GND and J23 jumper connectivity will not be a issue at all. b. Open Hyper terminal and have the following setting for COM Port http://coineltech.com/shop/ Revision 1 18

Make sure you have selected proper working COM port. c. Connect the serial cable to UART1 of the LPC2148 Dev Board and you will see the following data displayed on hyper terminal continuously d. Connect the serial cable to UART0 of the LPC2148 Dev Board and you will see the POT value and LM35 temperature value displayed continuously. Following is the image of the same. http://coineltech.com/shop/ Revision 1 19

Note: `You can vary the R24 and you will see that the variations are displayed on the hyper terminal. The same is true for temperature. 10. Steps to Download Hex File through serial port You can download the hex file in Manual mode or Auto mode 10.1. Manual ISP Programming You need to have LPC2148 DEV Board, Serial cable (3 core or 9 core), Desktop PC, Flash Magic Software. Follow the Steps is below: Power ON LPC2148 DEV Board. Connect Serial Cable Between UART0 of LPC2148 DEV Board and PC. Make sure jumper (J8) is connected towards Manual Mode. Make sure jumper (J23) is removed. Enter into the ISP Programming mode by following procedure. http://coineltech.com/shop/ Revision 1 20

http://coineltech.com/shop/ Revision 1 21

Open Flash Magic Software in PC. Click on Options and select Advance Options. In Advance Options, make sure Use DTR and Assert DTR are unchecked. Click on OK after making changes if required. http://coineltech.com/shop/ Revision 1 22

Keep the Settings as below in Flash Magic and Click on Start to program. COM Port may not be COM1 in every PC, Check it in Ports (COM & LPT) in Device Manager. Make sure you have connected to the proper COM port that is selected. If All the Settings are proper, the programming will be successful. http://coineltech.com/shop/ Revision 1 23

10.2. AUTO Programming You need to have LPC2148 DEV Board, Serial cable (9 core), Desktop PC, Flash Magic Software. Follow the Steps is below: Connect full Serial Cable (9 Core) Between UART0 of LPC2148 DEV Board and PC Serial Port. Make sure jumper (J8) is connected towards Auto Mode. Make sure jumper (J23) is connected. Power ON LPC2148 DEV Board. Open Flash Magic Software in PC. Click on Options and select Advance Options. In Advance Options Keep the Settings as shown below. Click ok to save settings and go back to Flash Magic main page option. http://coineltech.com/shop/ Revision 1 24

Keep the settings as below in Flash Magic. After browsing the appropriate file to be loaded, click start. If All the Settings are proper, the programming will be successful. Important Note: You need to remove jumper (J23) so that the code loaded starts executing. If required, you can also reset the board. http://coineltech.com/shop/ Revision 1 25

AFTER-SALE SERVICE CoiNel is at your service, and we have special Technical Support Engineers to provide support and consultation in forms of telephone and E-mail. TEL: +91-80-23154423 Technical Support E-mail: support@coineltech.com For any questions or concerns submit them to info@coineltech.com http://coineltech.com/shop/ Revision 1 26