lpc1788 mio board

18
LPC1788 Mio Board

Upload: others

Post on 26-Oct-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: LPC1788 Mio Board

LPC1788 Mio Board

Page 2: LPC1788 Mio Board

LPC1788 Mio Board 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.

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

Page 3: LPC1788 Mio Board

LPC1788 Mio Board

KIT DELIVERABLES : LPC1788 Mio Board.

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.

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.

Page 4: LPC1788 Mio Board

LPC1788 Mio Board

FUNCTIONAL BLOCK DIAGRAM OF LPC1788 Mio: .

LPC 1788

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

GRAPHICAL DISPLAY CONNECTOR. TM12864H6CCOWA COMPATIBLE

TEST LED/BUZZER

UART0 & UART2 DB9 FEMALE

SD RAM 256Mbits x 2 MT48LC64M4A2

USBDEVICE1 /USBHOST1 & USB HOST2

MICRO SD CARD CONNECTOR (MCI)

ETHERNET RJ45 CONNECTOR

PS2 CONNECTOR

CAN CONNECTOR DB9 MALE 3.5mm AUDIO JACK

CONNECTOR DAC OUT WITH AMP

INPUT SWITCHES- RST, ISP & 2 GENERAL INPUT

ANALOG INPUT (POT)

SPI FLASH(64Mbits) -AT25df641 (OPTIONAL)

2032 CMOS CELL CONNECTOR FOR RTC

12Mhz & 32.768Khz CRYSTALS

PINOUT (SPI, I2C, GPIO, ,ADC, DAC)

Page 5: LPC1788 Mio Board

LPC1788 Mio Board

BOARD LAYOUT :

TOP VIEW

Page 6: LPC1788 Mio Board

LPC1788 Mio Board

BOTTOM VIEW

Page 7: LPC1788 Mio Board

LPC1788 Mio Board

HARDWARE RESOURCES:

BOARD Connections

The above figure shows the connectivity options available on LPC1788 Mio Board.

Page 8: LPC1788 Mio Board

LPC1788 Mio Board

I /O CONNECTOR DESCRIPTION:

The details of the IO connections are as follows

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.

Page 9: LPC1788 Mio Board

LPC1788 Mio Board

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

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.

Page 10: LPC1788 Mio Board

LPC1788 Mio Board

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.

Page 11: LPC1788 Mio Board

LPC1788 Mio Board

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.

Page 12: LPC1788 Mio Board

LPC1788 Mio Board

Analog Input :

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.

Page 13: LPC1788 Mio Board

LPC1788 Mio Board

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.

Page 14: LPC1788 Mio Board

Graphical LCD Connector: 128x64 Pixels Graphical display can be directly connected to this Port.

Page 15: LPC1788 Mio Board

LPC1788 Mio Board

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.

These TFT Displays are SPI based and parallel interface and options can be chosen

accordingly.

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.

Page 16: LPC1788 Mio Board

LPC1788 Mio Board www.coineltech.com

ISP MODE PROGRAMMING : You need to have LPC176x HPLUS EX Board, Serial cable, Desktop PC, Flash Magic

Software.

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.

Page 17: LPC1788 Mio Board

LPC1788 Mio Board

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

Page 18: LPC1788 Mio Board

LPC1788 Mio Board

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.