2025-02-19 08:06 AM - last edited on 2025-02-19 12:30 PM by mƎALLEm
Hi everyone!
I have some questions related to the STM32F407 board and CAN protocol
Does the STM32F407 have an integrated CAN transceiver?
Does the STM32F407 support CAN FD?
I want to use loopback mode to get started with the CAN protocol, but I don’t know where to begin. How should I proceed?
Solved! Go to Solution.
2025-02-19 08:25 AM - edited 2025-02-19 08:26 AM
Hello,
@Azizz wrote:
Does the STM32F407 have an integrated CAN transceiver?
- If yes, how can I identify it in schematics and where can i find the schematics?
- If no, what external peripheral should I use to integrate one?
No there is no CAN transceiver embedded on any of the STM32 products and I think in any other MCU. So you need to add a CAN transceiver. SN65HVD230 could be used as a CAN transceiver in your case. It's already used in many STM32 ST boards.
@Azizz wrote:
Does the STM32F407 support CAN FD?
No. STM32F407 has bxCAN (CAN2.0). If you need FDCAN (CANFD), you need to use STM32H5 or STM32G4 etc ..
@Azizz wrote:
I want to use loopback mode to get started with the CAN protocol, but I don’t know where to begin. How should I proceed?
You can inspire from this example provided in CubeF4.
Hope that answers all your questions.
2025-02-19 08:13 AM
@Azizz wrote:the STM32F407 board
which board ?
2025-02-19 08:18 AM
STM32F407VGT6
2025-02-19 08:21 AM
That's just a chip - not a board.
Surely, the datasheet will tell you whether it has a transceiver, and whether it supports FDCAN ?
2025-02-19 08:22 AM
You can look through the documentation and schematics located on the board page.
https://www.st.com/en/evaluation-tools/stm32f4discovery.html#cad-resources
It doesn't have a CAN transceiver.
The reference manual will list capabilities. It has a bxCAN peripheral, but not FDCAN.
2025-02-19 08:25 AM - edited 2025-02-19 08:26 AM
Hello,
@Azizz wrote:
Does the STM32F407 have an integrated CAN transceiver?
- If yes, how can I identify it in schematics and where can i find the schematics?
- If no, what external peripheral should I use to integrate one?
No there is no CAN transceiver embedded on any of the STM32 products and I think in any other MCU. So you need to add a CAN transceiver. SN65HVD230 could be used as a CAN transceiver in your case. It's already used in many STM32 ST boards.
@Azizz wrote:
Does the STM32F407 support CAN FD?
No. STM32F407 has bxCAN (CAN2.0). If you need FDCAN (CANFD), you need to use STM32H5 or STM32G4 etc ..
@Azizz wrote:
I want to use loopback mode to get started with the CAN protocol, but I don’t know where to begin. How should I proceed?
You can inspire from this example provided in CubeF4.
Hope that answers all your questions.