FORUM TOPIC · READ ONLY

CAN num in "CAN receive" block

CAN num in "CAN receive" block

Forum : bug reports

3 message(s) · archive en lecture seule

Toro480
Hello,

in my project I use CAN BUS between 2 dsPIC. The 2 boards are already built with connection on CAN2.

But when I add a "CAN Receiver block" I can't choice number 2 (only num CAN 1). Is it a bug?



PS : if someone have an example of model which works with CAN blocks, will be possible to share it?

Thanks for your answers.



Best regards,

Florent
LubinKerhuel

Re: CAN num in "CAN receive" block

Hello Florent,



I worked on CAN more than one year ago. (Not ECAN yet !)

I find the two models I used to develop the CAN blocks. These models were working last year. It was very funny to see on the oscilloscope two CAN trame sent by each dsPIC to cross over. When you see it, you'll find that CAN is a smart system.

I was wondering to publish a nice example, but I didn't find time for it. I was also wondering to mix an ECAN peripheral with a CAN peripheral. Anyway, If anybody is motivated to publish a nice CAN system on the wiki, it's open !



I hope theses model will help to see how it works. I have not been using CAN since then. I am not sure I could provide lots of information.



Please let me know which dsPIC you are using. There may be an error that makes only the CAN 1 available.



Lubin

Pièce jointe : CAN.zip

Toro480

Re: CAN num in "CAN receive" block

Hi Lubin,

thanks for your answer. I will study these models.

I use two dsPIC30F6014A. I want to create CAN communication between the two dsPIC.

The num 1 is not available in CAN Receiver block.



Florent