User Manual http://coineltech.com Revision 1.0 1
Designed by CoiNel Technology Solutions LLP No-32, 2 nd Floor, HAPBCO Tower, 9 th Main, RPC Layout, Hampinagar, Bangalore-560040 State: Karnataka Country: India 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 Revision 1.0 2
Log: The version of the development: Revision 1 Document Version: Manual_ 1 http://coineltech.com Revision 1.0 3
TABLE OF CONTENTS: 1. INTRODUCTION 5 2. HANDLING WARNINGS 6 3. KIT DELIVARABLES 6 4. BOARD USE REQUIREMENTS 6 5. FUNCTIONAL BLOCK DIAGRAM 7 6. BOARD LAYOUT 8 7. HARDWARE RESOURCES 10 http://coineltech.com Revision 1.0 4
1. INTRODUCTION: The LPC1788 Mio is based on Cortex M3 Core, running at up to 120MHz. The Mio lets you quickly start with your development on LPC1788 based designs. This user guide describes how to use. The functional details of the board are as follows- MCU: LPC1788. o Package: BGA-208. o Pin Compatible with ARM7 LPC2478 and Cortex M4 LPC4088 External SDRAM MT48LC64M4A2 (256 MBits X 2) FLASH AT25DF641, Interface SPI (optional) 20 PIN 2.54 mm JTAG Header, 10 pin 1.27mm SWD/JTAG Connectivity options. On Board Reset and ISP On Board 12 MHz Clock On Board 32.768 KHz Clock for RTC Micro SD Card Interface via MCI Option to connect Graphical LCD (TM12864H6CCOWA) Part of MiO Package Option to connect Graphical LCD (TM12864A8CCWGWA1) (Optional) On Board Test LED and Buzzer USB Device (USB1) USB Host (USB1 and USB2) On Board POT connected via ADC 0.0 On Board CAN Transceiver (MCP2551) CAN1 2 x UART (RS232) UART0 and UART2 + TTL Outputs for UART0 and UART2 (Any one at a time) Unloading component (MAX232) may be required for take TTL logic outputs. On Board PS2 Keyboard Connectivity Option Two switches via GPIO Ethernet Connectivity via DP83848 PHY 40 PIN TFT (24 Bit data lines) Header including SPI and I2C on same header Audio Amplifier. Connected via DAC Out with 3.5mm audio jack. Pin Outs for GPIO including I2c, SPI, ADC etc Internal RTC with CMOS Battery (2032) Connectivity Options. On Board Power Supply for 5V and 3.3V http://coineltech.com Revision 1.0 5
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 Mio 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:. Graphical LCD (TM12864H6CCOWA) USB Cable. (AB) Adaptor 7.5v or 9V/1 amp DC CD that contains, KEIL evaluation version installer, Flash Magic Installer, schematics, user manual and related documents, hex files for experiments, Keil project and workspace for implementing various peripherals and few example project codes. 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 and Ethernet 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.23. Other compatible IDE can be used) Debugging/Programming Tool (We recommend HJTAG, Colink-Ex, Other compatible tools can be used) To test all the features of the board, you would also require a USB Cable (A to B), USB Pen drive, Ethernet cable (straight), a Micro SD Card, If you also need to test the TFT, you will need a Mio Compatible TFT Display Boards provided by CoiNel. http://coineltech.com Revision 1.0 6
5. FUNCTIONAL BLOCK DIAGRAM OF LPC1788 Mio:. JTAG (20PIN) & SWD (10PIN) CONNECTORS 5V & 3V3 REGULATED POWER SUPPLY SECTION 40 PIN TFT CONNECTOR WITH 24 BIT DATA, SPI & I2C LINES. KWH070KQ13-F02 COMPATIBLE SD RAM 256Mbits x 2 MT48LC64M4A2 USBDEVICE1 /USBHOST1 & USB HOST2 SPI FLASH(64Mbits) -AT25df641 (OPTIONAL) MICRO SD CARD CONNECTOR (MCI) GRAPHICAL DISPLAY CONNECTOR. TM12864H6CCOWA COMPATIBLE ETHERNET RJ45 CONNECTOR LPC 1788 / LPC 2478/ LPC4088 TEST LED/BUZZER PS2 CONNECTOR UART0 & UART2 DB9 FEMALE CAN CONNECTOR DB9 MALE 3.5mm AUDIO JACK CONNECTOR DAC OUT WITH AMP INPUT SWITCHES- RST, ISP & 2 GENERAL INPUT ANALOG INPUT (POT) 2032 CMOS CELL CONNECTOR FOR RTC 12Mhz & 32.768Khz CRYSTALS PINOUT (SPI, I2C, GPIO,,ADC, DAC) http://coineltech.com Revision 1.0 7
6. BOARD LAYOUT: TOP VIEW http://coineltech.com Revision 1.0 8
BOTTOM VIEW http://coineltech.com Revision 1.0 9
7. HARDWARE RESOURCES: BOARD Connections The above figure shows the connectivity options available on. http://coineltech.com Revision 1.0 10
8. I/O 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. Note: Mio cannot be powered via USB When using the adapter, sliding the switch towards the arrow shown in figure will turn the board ON. http://coineltech.com Revision 1.0 11
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. For more details on JTAG, check 8.3. Micro SD Card Connector: The correct way of inserting the SD card is given below. The interface used for SDCard interface is MCI protocol. Pressing the card in the direction shown will lock the card once it will fully and 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 Revision 1.0 12
8.4. Ethernet: The correct way to plug the connector is given in the figure. Press the connector in the direction shown and the connector will lock up properly when it is fully connected. An Ethernet straight through cable is used for testing. The recommended connection of the cable is also given. http://coineltech.com Revision 1.0 13
8.5. USB CONNECTIONS: The USB provided can either be used as a HOST or an End Device. The USB A Connector is used for the HOST interface, while USB B type for the end device. The jumper setting at J15 needs to be changed depending on whether the USB is used as a HOST or End Device. The details of connections are given below. http://coineltech.com Revision 1.0 14
8.6. Analog Input: 8.7. Reset and ISP Switch: These switches provided can be used for resetting the CPU and ISP (In system programming) mode. The details of programming the board in ISP mode is given in detail in programming section. http://coineltech.com Revision 1.0 15
8.8. Serial Ports: Onboard 2 Serial ports are provided i.e. UART0 & UART2. The signals are RS232 logic compatible, so it can be directly connected to Computer Serial Port. The UART0 can be used for ISP mode programming. The ISP mode programming detail is provided in programming section. Its printed in the back layer of the board which UART it is. http://coineltech.com Revision 1.0 16
8.9. Graphical LCD Connector: 128x64 Pixels Graphical display can be directly connected to this Port. The Compatible Graphical display is available at http://coineltech.com Revision 1.0 17
8.10. TFT 40 pin BOX Header: This connector can be used to connect different TFT (3.2inch, 3.5inch, 4.3inch and 7inch provided by CoiNel. The details of the TFT can be found at the company s website. The compatible TFT can be found at http:// These TFT Displays are SPI based and parallel interface and options can be chosen accordingly. Check Schematic Section for more details. 8.11. Buzzer/Test LED (D1): A Buzzer/Test LED is connected at P2.21. There is a jumper (J9) to select between Buzzer or LED connectivity. http://coineltech.com Revision 1.0 18
10. ISP MODE PROGRAMMING: Software. You need to have LPC176x HPLUS EX Board, Serial cable, Desktop PC, Flash Magic Follow the Steps is below: Power ON LPC176x HPLUS EX Board. Connect Serial Cable Between UART0 of Module and PC. Enter into the ISP Programming mode by following procedure. http://coineltech.com Revision 1.0 19
Open Flash Magic Software in PC. Click on Options and goto Advance Options. In Advance Options Keep the Settings as shown below. Click on OK after making changes http://coineltech.com Revision 1.0 20
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. If All the Settings are proper, the programming will be successful. http://coineltech.com Revision 1.0 21