Lucast85
Member level 3
Hi all,
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 fw go 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!
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 fw go 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!