cancel
Showing results for 
Search instead for 
Did you mean: 

Designing Guidance for Automotive Ethernet-to-CAN Gateway

ParthDhoble
Associate

Hello ST Community,

I am currently working on a project to design an Ethernet-to-CAN Gateway and implement Automotive Ethernet (SOME/IP) functionality over it. The objective is to enable seamless communication between CAN FD networks and Ethernet-based automotive systems, which are increasingly prevalent in modern vehicles.

Key Goals:

  1. Hardware Implementation:

    • Use an STM32 microcontroller as the core of the gateway.
    • Integrate an Ethernet module (e.g., W5500 or built-in equivalent ) for Ethernet connectivity.
    • Interface with a CAN controller (e.g., MCP2515 or built-in CAN FD support) for CAN communication.
  2. Software Implementation:

    • Implement SOME/IP stack for communication over Automotive Ethernet.
    • Develop a reliable protocol for bridging CAN FD and Ethernet communication.

Challenges:

  • Optimizing performance to handle real-time data transmission across both interfaces.
  • Ensuring compatibility with existing Automotive Ethernet standards.
  • Minimizing latency and addressing error handling across the gateway.
  • Designing robust software architecture to support future extensions.

Specific Questions:

  1. What are the recommended STM32 microcontrollers and development kits for this type of gateway?
  2. Are there any existing software libraries or stacks (for SOME/IP, CAN, or Ethernet) that can help speed up development?
  3. Any best practices for ensuring low-latency communication and data integrity?
  4. Suggested tools for debugging and testing such a system?

I would greatly appreciate any advice, relevant resources, or reference designs to help me achieve this. If you've worked on similar projects, your insights would be invaluable!

Thank you in advance for your guidance and support.

1 ACCEPTED SOLUTION

Accepted Solutions
Max VIZZINI
ST Employee

Hi,

For suggestions on STM32 and available libraries, please post in appropriate STM32 Community:

https://community.st.com/t5/stm32-mcus-embedded-software/bd-p/mcu-embedded-software-forum

For Ethernet protocol in Automotive, you can start from SPC58EC that has a 100BASE Ethernet port and an implementation of the MAC running under FreeRTOS. The board is SPC58EC-DISP

Buy SPC5 Automotive MCU Eval Tools:SPC58EC-DISP - eStore - STMicroelectronics

Other boards with Automotive Ethernet will come by the end of this year.

Best Regards,

AutoDevKit Team

 

 

View solution in original post

1 REPLY 1
Max VIZZINI
ST Employee

Hi,

For suggestions on STM32 and available libraries, please post in appropriate STM32 Community:

https://community.st.com/t5/stm32-mcus-embedded-software/bd-p/mcu-embedded-software-forum

For Ethernet protocol in Automotive, you can start from SPC58EC that has a 100BASE Ethernet port and an implementation of the MAC running under FreeRTOS. The board is SPC58EC-DISP

Buy SPC5 Automotive MCU Eval Tools:SPC58EC-DISP - eStore - STMicroelectronics

Other boards with Automotive Ethernet will come by the end of this year.

Best Regards,

AutoDevKit Team