background image

EDP-CM-PIM Getting Started V3.11 

 

 

Electrocomponents plc                                                          Page 7 

 

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 

 

Summary of Contents for EDP-CM-PIM

Page 1: ...Embedded Development Platform Getting Started Guide for Microchip PIM Carrier Module EDP CM PIM Version 3 11 February 2011 ...

Page 2: ...Hello World Program 4 2 1 Software requirements 4 2 2 Hardware requirements 4 2 3 Setting link Options 5 3 Run Hello World 5 3 1 Load the Project 6 3 2 Download and program target Flash memory 6 4 Build your own Project 6 4 1 Creating a new Project 6 5 Conclusion 6 6 Appendix 1 EDP I 2 C Bus Device Addresses 7 ...

Page 3: ...M signal on the Base Board break out header to confirm the system voltage There are 100 pins on the PIM 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 PIM 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 co...

Page 4: ...inal is just about suitable but one of the free third party programs such as TeraTerm is recommended 2 2 Hardware requirements The minimum EDP components needed to run the Hello World project are a BaseBoard an EDP CM PIM carrier module with a Microchip dsPIC33FJ256GP710 PIM RS Stock No 564 002 fitted and an EDP AM CO1 communications module The EDP will require a 12V power supply The PIM carrier m...

Page 5: ... the fuse options needs to be configured The fuse options for the dsPIC for example determine which of the debug pins on the MCU are active The picture above shows the default jumper settings for the dsPIC33FJ256GP710 PIM Module and the software that is provided If you use a different PIM module other than the one shown you will have to determine which of the jumpers are relevant and set the fuse ...

Page 6: ... producing source files but a Compiler will need to be added to produce code suitable for downloading to the target processor A suitable C Compiler for the dsPIC family C30 can be downloaded from the Microchip web site in full limited trial or free limited function form The latter is good for most simple projects Obviously you will need a different compiler for PIC32 or PIC24 PIM modules 4 1 Creat...

Page 7: ...lt 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 l...

Reviews: