Use eb018 with ecio ARM

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
Mirco
Posts: 5
Joined: Mon May 09, 2011 9:45 pm
Has thanked: 2 times
Been thanked: 1 time
Contact:

Use eb018 with ecio ARM

Post by Mirco »

Hello,
did the EB018 CanBus board can be used with Ecio ARM ? :?:
If positive:
Power supply 5v can be external this is not a problem;
- RB0 is the sck
- int is possible to define in a free pin
but for SDI /SDO and CS have any specific pin to use? :roll:

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times
Contact:

Re: Use eb018 with ecio ARM

Post by Sean »

Hello,

The EB018 CAN E-block is not recommended for 3.3V systems.

Even if it is powered from a separate 5V supply (required for the MCP2551), the logic thresholds of the MCP2515 will not be compatible with a 3.3V microcontroller.

Mirco
Posts: 5
Joined: Mon May 09, 2011 9:45 pm
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Use eb018 with ecio ARM

Post by Mirco »

Hello Sean
Yesterday I made a test with the rs232 protocol between the two EcioArm , work fine but for my application all the manipulation of string take me a lot of memory and speed of processing.
Is possible to use a birectional level translators like MAX3370 (3v3 to 5v for the mcp25XX)?
In positive case wich configuration is the most proper for your hardware?

Thanks in advantage for your time
Mirco

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times
Contact:

Re: Use eb018 with ecio ARM

Post by Sean »

Yes, It should be possible to power the EB018 at 5V and use a bi-directional logic level shifter between the 3.3V ARM and 5V CAN circuits.

We use the MAX3002 on several E-Blocks for this purpose (usually for a 5V microcontroller and 3.3V peripheral).

Mirco
Posts: 5
Joined: Mon May 09, 2011 9:45 pm
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Use eb018 with ecio ARM

Post by Mirco »

In that case , which pin is proper to use for the interfacing between Eb 018 and EcioArm interface ?

SDI
SDO
CS
INT
Last edited by Mirco on Mon Sep 05, 2011 11:31 am, edited 1 time in total.

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times
Contact:

Re: Use eb018 with ecio ARM

Post by Sean »

The hardware SPI connections are on the following pins:

SDO = RB5 = PIN 37
SDI = RB7 = PIN 39
SCK = RB0 = PIN 32

CS and INT can be selected from any other RBx pins (RB is fully available on pins 32 to 39).

The connection options for the EB018 are detailed in its data sheet:

http://www.matrixmultimedia.com/product ... PHPSESSID=

Mirco
Posts: 5
Joined: Mon May 09, 2011 9:45 pm
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Use eb018 with ecio ARM

Post by Mirco »

Thanks Sean :D

Post Reply