2022-02-28 05:24 PM
Hello
I am working with STM32F446ZET7.
I can't transmit data.
When I debugged it, it was looping with HAL_CAN_IsTxMessagePending.
Status was 1:Pending transmission request on at least one of the selected Tx Mailbox.
Can you think of any reasons?
2022-03-01 12:33 AM
Hello,
1- Check your hardware:
Are you using a complete CAN bus: your STM32F4xx + CAN transceiver + another node connected to the bus (+ termination resistors) that will receive your messages?
2- Check your CAN bitrate configuration.
2022-03-03 01:32 AM
I have found the cause.
It was caused by CAN transceiver(MCP2551) mode select pin.
Thank you.