I'm working on stm32f767ZI, nucleo 144 board and I have an issue with CAN communication. I'm trying to send a message with functions HAL_CAN_GetTxMailboxesFreeLevel() and HAL_CAN_AddTxMessage(). Function returns HAL_OK but message never comes to the CAN bus. Message is pending (check via HAL_CAN_IsTxMessagePending() ), but never transmitted.
I'm using TLE7251 CAN transceiver on the Nucleo board side and Vector hardware with Busmaster on the computer side.
Busmasters messages are visible with the oscilloscope on Rx pin on Nucleo board, but when I try to receive message, there are no messages in FIFO0 or FIFO1.
CAN state is listening or ready all the time.
Is there any other function required to send or receive CAN messages?