Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

STM32F072RB nucleo: CAN_handle issue

Status
Not open for further replies.

Lucast85

Member level 3
Joined
Oct 19, 2009
Messages
62
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Location
Italy
Activity points
1,966
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!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top