background image

EDP-CM-LPCxxxx Getting Started V3.11 

 

 

Electrocomponents plc                                                          Page 3 

 

1. Introduction 

 

To

 

get

 

the

 

most

 

out

 

of

 

the

 

EDP

 

platform

 

it’s

 

important

 

to

 

understand

 

the

 

concept

 

of

 

the

 

EDP

 

system

 

correctly.

 

This

 

is

 

detailed

 

in

 

the

 

user

 

manual

 

for

 

the

 

Base

 

Boards

 

which

 

can

 

be

 

downloaded

 

as

 

a

 

pdf

 

file

 

RS

 

EDP

BB

SystemBaseBoard

 

User

 

Manual

 

Vx

,

 

from

 

the

 

RS

 

EDP

 

website.

 

 

The

 

base

 

boards

 

come

 

in

 

both

 

2

 

position

 

and

 

4

 

position

 

formats

 

and

 

share

 

a

 

common

 

user

 

manual.

 

Please

 

read

 

this

 

manual

 

to

 

get

 

an

 

understanding

 

of

 

the

 

system.

 

 

Each

 

of

 

the

 

Command

 

Modules

 

(CM)

 

and

 

Application

 

Modules

 

(AM)

 

has

 

its

 

own

 

user

 

manual,

 

so

 

again

 

these

 

documents

 

must

 

be

 

read

 

to

 

get

 

an

 

understanding

 

on

 

how

 

to

 

use

 

the

 

modules.

 

 

Each

 

of

 

the

 

boards

 

comes

 

with

 

its

 

own

 

suite

 

of

 

software

 

to

 

fully

 

exercise

 

the

 

EDP

 

Application

 

Modules

 

and

 

the

 

peripherals

 

available

 

on

 

the

 

MCU

 

device.

  

 

An

 

EDP

 

system

 

usually

 

consists

 

of

 

one

 

Command

 

Module

 

and

 

one

 

or

 

more

 

Applications

 

Modules

 

plugged

 

into

 

a

 

Base

 

Board.

 

A

 

minimum

 

system

 

just

 

has

 

a

 

Command

 

module

 

and

 

Base

 

Board,

 

for

 

example

 

a

 

simple

 

web

 

server

 

operating

 

through

 

an

 

Ethernet

 

connection.

 

 

The

 

Command

 

Module

 

dictates

 

whether

 

the

 

whole

 

system

 

uses

 

a

 

supply

 

voltage

 

of

 

+3.3V

 

or

 

+5.0V.

 

This

 

particular

 

CM

 

module

 

use

 

a

 

+3.3V

 

microcontroller

 

(MCU)

 

and

 

so

 

the

 

board

 

is

 

configured

 

as

 

such.

 

The

 

user

 

can

 

check

 

the

 

Vcc_CM

 

signal

 

on

 

the

 

Base

 

Board

 

break

out

 

header

 

to

 

confirm

 

the

 

system

 

voltage.

  

 

There

 

are

 

100

 

pins

 

on

 

the

 

MCU

 

and

 

these

 

are

 

connected

 

via

 

various

 

link

 

options

 

to

 

the

 

Base

 

Board.

 

The

 

Base

 

Board

 

then

 

routes

 

these

 

signals

 

to

 

the

 

Application

 

Modules

 

thereby

 

allowing

 

the

 

CM

 

Module

 

to

 

communicate

 

with

 

the

 

Application

 

Modules.

 

 

As

 

many

 

of

 

the

 

MCU

 

pins

 

have

 

more

 

than

 

one

 

function

 

it

 

can

 

make

 

the

 

mapping

 

of

 

the

 

connections

 

rather

 

complex

 

so

 

there

 

are

 

additional

 

support

 

documents

 

available

 

to

 

help

 

you

 

with

 

this.

 

The

 

first

 

is

 

the

 

Pin

 

Allocation

 

Spread

 

Sheet.

 

One

 

spread

 

sheet

 

is

 

available

 

for

 

each

 

of

 

the

 

CM

 

Modules.

 

The

 

one

 

for

 

the

 

NXP

 

family

 

of

 

ARM

based

 

modules

 

is

 

called:

 

 

Pin

 

Allocation

 ‐ 

100

 

pin

 

NXP

 

Command

 

Module

 

Rev

 

xx

 

 

This

 

spreadsheet

 

also

 

forms

 

part

 

of

 

the

 

User

 

Manual

 

for

 

the

 

LPCxxxx

 

CM

 

module.

 

It

 

details

 

which

 

pins

 

are

 

mapped

 

to

 

the

 

Base

 

Board

 

backplane

 

and

 

the

 

various

 

link

 

options

 

which

 

need

 

to

 

be

 

configured

 

to

 

connect

 

them

 

accordingly.

  

 

To

 

get

 

an

 

appreciation

 

of

 

how

 

the

 

Application

 

Modules

 

are

 

mapped

 

to

 

the

 

backplane

 

and

 

how

 

the

 

CPU

 

Module

 

can

 

connect

 

to

 

them,

 

a

 

Mapping

 

Aid

 

exists.

 

The

 

one

 

for

 

the

 

LPC1768

 

module

 

is

 

called:

 

 

Mapping

 

Aid

 

RS

EDP

 

NXP

 

LPC1768

 

Rev

 

xx

 

(Name

 

may

 

vary

 

slightly

 

for

 

other

 

NXP

 

modules)

 

 

This

 

mapping

 

aid

 

also

 

forms

 

part

 

of

 

the

 

User

 

Manual

 

for

 

the

 

LPC

 

Module

 

and

 

at

 

a

 

glance

 

you

 

can

 

see

 

what

 

resources

 

are

 

required

 

to

 

get

 

the

 

best

 

out

 

of

 

each

 

Application

 

Module.

  

 

Other

 

useful

 

documents

 

you

 

will

 

need

 

are

 

the

 

circuit

 

diagrams

 

for

 

the

 

modules

 

you

 

wish

 

to

 

use.

 

These

 

are

 

contained

 

in

 

the

 

back

 

of

 

each

 

user

 

manual.

 

 

So

 

before

 

you

 

start

 

to

 

use

 

the

 

RS

 

EDP

 

system

 

make

 

sure

 

you

 

have

 

to

 

hand

 

the

 

following

 

documents:

 

 

 

Base

 

Board

 

User

 

Manual

 

 

Appropriate

 

CM

 

module

 

User

 

Manual

 

 

Application

 

Module

 

User

 

Manuals

 

(as

 

required)

 

 

Содержание EDP-CM-1113

Страница 1: ...Embedded Development Platform Getting Started Guide for LPC ARM core Command Modules EDP CM 1113 EDP CM 1343 EDP CM 1768 EDP CM 2368 Version 3 11 February 2011...

Страница 2: ...llo World Program 4 2 1 Software requirements 4 2 2 Hardware requirements 4 3 Build and run Hello World 5 3 1 Load the Project 5 3 2 Build the Project 5 3 3 Download and program target Flash memory 6...

Страница 3: ...re connected via various link options to the Base Board The Base Board then routes these signals to the Application Modules thereby allowing the CM Module to communicate with the Application Modules A...

Страница 4: ...ater or try one of the alternatives discussed in an appendix to the User Manual The IDE handles all aspects of code production as it contains a source code editor assembler C compiler Flash programmer...

Страница 5: ...older Double click on Hello_World to load the project files The screen will now appear as below Note that the folder already contains all the necessary source code files together with the Build files...

Страница 6: ...hould begin flashing indicating a successful download and program Rebuild Project button Download to Target button 4 Build your own Project The procedure for building and programming your own project...

Страница 7: ...p 1 and create other groups for other files by right clicking on Target 1 and then clicking on Manage Components Double click on file system_LPCxxxx c and select the Configuration Wizard tab Locate th...

Страница 8: ...ult 0x48 0x4A 0x4C 0x4E DIO54_In 0x44 Digital input latch Address set by jumper links B302 to B304 providing possible range of addresses 0x40 0x42 0x44 default 0x46 0x48 0x4A 0x4C 0x4E Analogue Input...

Отзывы: