Skip to main content
aykutulusan
Associate II
May 13, 2010
Question

Can Bus between 9 card

  • May 13, 2010
  • 4 replies
  • 1053 views
Posted on May 13, 2010 at 13:36

Can Bus between 9 card

    This topic has been closed for replies.

    4 replies

    aykutulusan
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:50

    Hi, avr-smart

    First, thx for your reply.

    Yes, All of node are common. I know, the filters chose slaves but How and where can I define filters for all slaves in program. At first of program(Following?)  or while sending?

    Can_Setup();

    Can_Filter(CPU_ID,filter_no0);

    Can_Filter(Slave_ID1,filter_no1);

    Can_Filter(Slave_ID2,filter_no2);

    Can_Filter(Slave_ID3,filter_no3);

    Can_Filter(Slave_ID4,filter_no4);

    Can_Filter(Slave_ID5,filter_no5);

    Can_Filter(Slave_ID6,filter_no6);

    Can_Filter(Slave_ID7,filter_no7);

    thx again

    smart2
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 13:50

    I am hoping that every slave is using the same CAN code to send or receive CAN packet if this is the case just make sure that all slave devices dont send at the same time,use Tx FIFO and also some hw/sw buffer at the Master Rx side.

    Use filtering so that other slave devices dont receive unwanted data.

     

    smart2
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 13:50

    Ii am not sure about your application, are slave devices talking with each other or all sending data to master.

    If they are not talking to each other just sending data to master then filtering is most useful based on CAN packet id or some range for receiving CAN packets.

    aykutulusan
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:50

    Thx for your reply

    I solved my problem and the comunication.