[STM32F4] Unable to get CAN to work using HAL
I have been trying to get CAN communication to work using the STM32F4 HAL. I am using the MCP2561 (http://ww1.microchip.com/downloads/en/DeviceDoc/20005167C.pdf) transceiver with the Nucleo board. I have tried using both Normal mode and Loopback mode. On the other side of the transceiver, we have a connection to CAN termination resistors, which is connected to a PCAN-USB converter that goes to a computer running PCAN explorer.
We do not see anything on PCAN explorer or on an oscilloscope that is connected directly to the STM32 CAN RX and CAN TX pins. We can see by debugging in TrueSTUDIO that the CAN messages do make it into the TX mailbox, but they never get sent.