FORUM TOPIC · READ ONLY

CAN module with dspic33fj256gp710 or pic24fj128ga010

CAN module with dspic33fj256gp710 or pic24fj128ga010

Forum : bug reports

4 message(s) · archive en lecture seule

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
LubinKerhuel

Re: CAN module with dspic33fj256gp710 or pic24fj128ga010

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

Re: CAN module with dspic33fj256gp710 or pic24fj128ga010

Hi Lubin,



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



Keep up the good work !

Martin
malife

Re: CAN module with dspic33fj256gp710 or pic24fj128ga010

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!