AnsweredAssumed Answered

STM32F072RB nucleo: CAN_handle issue

Question asked by buccolini.luca.001 on May 19, 2016
Latest reply on May 19, 2016 by Clive One
I'm working with a STM32F072RB, a Nucleo64 series board.
I'm developing CAN communication and I've some issue during the initialization of the "CAN handle". I use CUBE MX and stm32cubef0 libraries for the initialization of all the peripherals.
Once I try to init the CAN id on the handle structure with: "hcan.pTxMsg->StdId = 0x001;" (the only instruction I've added to the FW build by CUBEMX) the fw goes to the HardFault_Handler.
The initialization was done by the CUBE MX functions. There are no examples for the STM32F072 board and I follow the example for the EVAL board using the same micro-controller.

How can I fix this issue? Any idea?
Thanks in advance!