hi, im researching some infos to do a can gateway with 2 mcp2515. basically i need to translate data from can to fiat b can(different speeds, one 50kbit other 500). anyone done this or similar? thanks
A bridge or filter between two busses running at different speeds is possible.
The choice of Aduino hardware depends on the amount of traffic you need to deal with.
Given that you are at the begining of a project and there are lots of unknowns, your best chance of success is to use the Arduino Due. It does not need the MCP2515, but you will need to add 2 tranceiver chips (3.3v version required).
You will see lots of Uno MCP2515 related CAN stuff on the web, but you will probably find that combination to be too slow to be used with a car 500kbps CAN bus.
While you are at it study how to use the CAN filters. Going from 500 to 50 may suck up all the memory you have and them some, depending on how fast the messages are coming in. The filtering will allow you to easily ignore the ones you do not want as there will be no CPU overhead. This in turn reduces the amount of data to send the 50 system. If this is going in a vehicle you might read the following:
There is many good app notes such as AN2689 by ST on automotive electronics. reading it will help you a lot.
https://www.st.com/resource/en/application_note/cd00181783-protection-of-automotive-electronics-from-electrical-hazards-guidelines-for-design-and-component-selection-stmicroelectronics.pdf
Also take a look at these: Distilled Automotive Electronics Design | Analog Devices and
Transient Voltage Suppression in Automotive Applications
AEC-100 https://media.monolithicpower.com/mps_cms_document/w/e/Webinar_-_Fundamentals_of_AEC-
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.