Can Bus between 9 card
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-05-13 4:36 AM
Can Bus between 9 card
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:50 AM
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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:50 AM
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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:50 AM
Thx for your reply
I solved my problem and the comunication.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:50 AM
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.