Skip to main content
Associate
December 30, 2024
Solved

CAN bus

Please suggest me STM32 product which can be used to analyze CAN bus. also send and receive data thru CAN bus. Is there any STM32 available with CAN build in peripheral. I currently have STM32F411RE. 

This topic has been closed for replies.
TDK
TDKBest answer
December 31, 2024

STM32CubeMX can be used to filter chips by the available peripherals.

There are 1164 chips with 1 or more CAN buses. For example, most chips in the H7 and H5 series. The STM32H723ZG could be used.

TDK_0-1735607560368.png

 

You will need to use a CAN transceiver chip.

How to use FDCAN to create a simple communication ... - STMicroelectronics Community

"If you feel a post has answered your question, please click ""Accept as Solution""."

3 replies

TDK
TDKBest answer
December 31, 2024

STM32CubeMX can be used to filter chips by the available peripherals.

There are 1164 chips with 1 or more CAN buses. For example, most chips in the H7 and H5 series. The STM32H723ZG could be used.

TDK_0-1735607560368.png

 

You will need to use a CAN transceiver chip.

How to use FDCAN to create a simple communication ... - STMicroelectronics Community

"If you feel a post has answered your question, please click ""Accept as Solution""."
PnnAuthor
Associate
December 31, 2024

Thanks for reply.

As detailed information is given in link, I understand that STM32 can communicate thru CAN bus . That's really great help. I am preparing CAN analyzer and data logger.

Analyzer : I want to see this CAN bus data in particular format as ID, Data length, Data in real time mode on LCD screen /  Computer screen.

Logger: and again log (store) this data on SD card/in txt/csv format on computer via serial bus. Since real time data in complete scanning mode, it may create multiple files of fixed size. do i need python for this. 

TDK
December 31, 2024

Any common programming language could be used to accomplish this, such as Python, C++, Java and others. I would suggest using the one you are most familiar with and can find supporting resources for online, if needed. wxWidgets is a good framework for UI elements, but any framework can work.

"If you feel a post has answered your question, please click ""Accept as Solution""."