AnsweredAssumed Answered

STM32F746 CAN Transmit Code hangs

Question asked by Ashworth.Rob on Jan 3, 2017
Latest reply on Mar 1, 2017 by kaltofen.jupp

I am having some trouble with CAN on the STM32F746 DISCO board.


I have a can transceiver connected to PB8/9, but eveytime I try an put a message on the bus, the code just freezes.


I have hade this once before the the SPI bus and it was caused by not enabling the clock on the peripheral bus, but I can't see a similar issue this time.  Anyone know what could cause the code to hang? 


Code snipped here where it freezes:

if (HAL_CAN_Init(&CanHandle) == HAL_OK)


    //Everythying OK, so send the message