CAN module with dspic33fj256gp710 or pic24fj128ga010

Post Reply
mhiernaux
Posts: 5
Joined: Mon Apr 28, 2008 8:16 pm

CAN module with dspic33fj256gp710 or pic24fj128ga010

Post by mhiernaux » Mon Apr 28, 2008 8:25 pm

Hi everyone,

I've tried using the CAN block with the dspic33fj256gp710 and it says error, no CAN peripheral on 33fj256gp710.

Does anyone know how to activate the module/bypass the error ? Because the pic does indeed have 2 can modules.

Thanks,
Martin

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: CAN module with dspic33fj256gp710 or pic24fj128ga010

Post by LubinKerhuel » Mon Apr 28, 2008 9:07 pm

Hi Martin,

33f pic family endowed with a CAN module have the ECAN peripheral implemented.
As mentionned in the release note, ECAN is not support yet. Only te CAN peripheral is supported so far.
ECAN peripheral is on the road map...
The fastest and easiest way to implement the ECAN driver is to use the "C call function block" from the blockset and to write your own c driver for the ECAN peripheral.

Lubin

mhiernaux
Posts: 5
Joined: Mon Apr 28, 2008 8:16 pm

Re: CAN module with dspic33fj256gp710 or pic24fj128ga010

Post by mhiernaux » Tue Apr 29, 2008 7:06 am

Hi Lubin,

Thanks a lot for your answer. I'll use the C call.

Keep up the good work !
Martin

malife
Expert
Posts: 56
Joined: Tue Apr 17, 2007 7:24 am
Location: Santa Cruz, CA
Contact:

Re: CAN module with dspic33fj256gp710 or pic24fj128ga010

Post by malife » Tue May 13, 2008 1:18 am

Hello Martin,
In case you've gotten ECAN to work using C function calls would you mind posting about your results and maybe your model/code? In that way we can all take advantage of what is being done while Lubin catches up :-).

You can read about the QEI (viewtopic.php?f=5&t=100&start=0&st=0&sk=t&sd=a) and EEPROM Emulation (viewtopic.php?f=6&t=117#p334) that I posted in case you find yourself in need of it.

Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests