Question
STM32F072 CAN bus issue
Posted on May 03, 2017 at 04:59
Dear all,
I using CubeMx(F0_V1.7.0) to generate code for STM32F072. My pin definition are PB8(CAN_Rx) / PB9(CAN_Tx) when i use loopback mode that CAN Tx has signal out, but i use normal mode that CAN Tx has no signal out.
BTW, when normal mode that CAN transmit has not success, code will be hang-up here:
if (HAL_CAN_Transmit(&hcan, 10) != HAL_OK) { /* Transmition Error */ Error_Handler(); }Thanks a lot.
