Want to use CAN API with NUCLEO-F446RE

As the title says, I wanna use CAN bus with NUCLEO-F446RE.
This is my first time using CAN bus and I don’t know what I need.
Please let me know if I need to prepare anything else additionally.

By the way, I want to run rmd-x6(motor) with F446RE.

Hello,

The STM32F446RE is equipped with two CAN controllers. However for connection to CAN-Bus you need also a CAN transceiver. For example old MCP2551. This will convert Tx & Rx from controller to differential pair Can-High and Can-Low for CAN-Bus.
The Can-Bus itself is created by two wires connected by terminators (resistors with typical value 120 ohms).
For better imagination use picture below.

CAN - API references and tutorials | Mbed OS 6 Documentation

Of course you have to check datesheet of your motor.

BR, Jan

Thanks for showing the diagram of how to connect.
It’s always helpful.