background image

EDP-CM-LPCxxxx Getting Started V3.11 

 

 

Electrocomponents plc                                                          Page 8 

6. 

Appendix 1   

EDP I

2

C Bus Device Addresses 

 

8

bit

 

address

 

format

 

is

 

used:

 

the

 

LSB

 

is

 

reserved

 

as

 

the

 

read

write

 

bit.

 

These

 

addresses

 

are

 

defined

 

in

 

file:

 

I2C

Directory.h

 

 

BaseBoard

 

BB_DIP

 

=

 

0x40

 

 

8

bit

 

DIP

 

Switch

 

Address

 

set

 

by

 

jumper

 

link

 

JP501

 

providing

 

possible

 

range

 

of

 

addresses:

 

0x40

 

(default),

 

0x42.

 

 

BB_EEPROM

 

=

 

0xA2

 

 

Serial

 

4KB

 

EEPROM

 

memory

 

Address

 

set

 

by

 

jumper

 

links

 

J601

 

to

 

J603

 

providing

 

possible

 

range

 

of

 

addresses:

 

0xA0,

 

0xA2

 

(default),

 

0xA4,

 

0xA6,

 

0xA8,

 

0xAA,

 

0xAC,

 

0xAE.

 

 

Communications

 

Module

 

EDP

AM

CO1

 

CO1_RTC

 

=

 

0xA0

 

 

Real

Time

 

Clock

 

and

 

SRAM

 

Address

 

set

 

by

 

jumper

 

link

 

J304

 

providing

 

possible

 

range

 

of

 

addresses:

 

0xA0

 

(default),

 

0xA2.

 

 

Digital

 

I/O

 

Module

 

EDP

AM

DIO54

 

DIO54_Out

 

=

 

0x46

 

 

Digital

 

output

 

latch

 

Address

 

set

 

by

 

jumper

 

links

 

B305

 

to

 

B307

 

providing

 

possible

 

range

 

of

 

addresses:

 

0x40,

 

0x42,

 

0x44,

 

0x46

 

(default),

 

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

 

Module

 

EDP

AM

AN16

 

AN16_ADC

 

=

 

0x6A

 

 

12

channel

 

10

bit

 

Analogue

 

to

 

Digital

 

Converter

 

 

AN16_Pot

 

=

 

0x58

 

 

Digital

 

Potentiometer

 

for

 

setting

 

filter

 

cut

off

 

frequency

 

of

 

channels

 

AN0

 

and

 

AN1

 

Address

 

set

 

by

 

jumper

 

links

 

J305

 

&

 

J306

 

providing

 

possible

 

range

 

of

 

addresses:

 

0x58

 

(default),

 

0x5A,

 

0x5C,

 

0x5E.

 

 

Note

 

that

 

jumper

 

links

 

J204

 

&

 

J205

 

select

 

between

 

CTRL_I2C

 

(default)

 

and

 

I2C_GEN0

 

bus

 

channels.

 

 

Dual

 

BLDC

 

Motor

 

Module

 

EDP

AM

MC2

 

MICROCHIP_MOTOR_DRIVER_BASE

 

=

 

0x80

 

 

dsPIC

 

U201

 

Address

 

set

 

by

 

jumper

 

links

 

J201

 

to

 

J203

 

providing

 

possible

 

range

 

of

 

addresses:

 

0x80

 

(default),

 

0x82,

 

0x84,

 

0x86,

 

0x88,

 

0x8A,

 

0x8C,

 

0x8E.

 

dsPIC

 

U202

 

Address

 

set

 

by

 

jumper

 

links

 

J205

 

to

 

J207

 

providing

 

possible

 

range

 

of

 

addresses:

 

0x80,

 

0x82

 

(default),

 

0x84,

 

0x86,

 

0x88,

 

0x8A,

 

0x8C,

 

0x8E.

 

 

Note

 

that

 

spare

 

addresses

 

allow

 

up

 

to

 

four

 

MC2

 

modules

 

per

 

base

 

board

 

 

Miscellaneous

 

SRF08

 

=

 

0xE0

 

 

Daventech

 

SRF08

 

Ultrasonic

 

Rangefinder

 

module

 

 

Содержание 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...

Отзывы: