Page 1 of 1

CAN module with dspic33fj256gp710 or pic24fj128ga010

Posted: Mon Apr 28, 2008 8:25 pm
by mhiernaux
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

Re: CAN module with dspic33fj256gp710 or pic24fj128ga010

Posted: Mon Apr 28, 2008 9:07 pm
by LubinKerhuel
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

Re: CAN module with dspic33fj256gp710 or pic24fj128ga010

Posted: Tue Apr 29, 2008 7:06 am
by mhiernaux
Hi Lubin,

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

Keep up the good work !
Martin

Re: CAN module with dspic33fj256gp710 or pic24fj128ga010

Posted: Tue May 13, 2008 1:18 am
by malife
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!