Hi,
do you have CAN1 TX RX pin connected to transceiver and is the transceiver enabled? Try to disconnect CAN1 from transceiver and connect just MCU's TX/RX pins together and send a message. You should see CAN message transmitted still. This way you check if pins are properly configured. If there is no message visible, then you can have wrong CAN module pins initialization.
BR, Petr
Hello, the Tx and Rx pins of CAN have a voltage of about 2.3V.
I don't know how to solve it. Can you help me?
Thank you very much for your help.
I will try what you said.