Question
HAL_CAN_Transmit timeout on STM32F429 using CubeF4 example
Posted on October 05, 2016 at 23:30 I'm having trouble implementing the STM32CubeF4 CAN example on my STM32F429I-Disco board. I'm using the CAN Network example provided with the STM324x9_Eval which in the readme.txt says: This example runs on STM32F429xx/STM32F439xx devices. My problem lies with the HAL_CAN_Transmit() function which returns a HAL_CAN_Transmit_TIMEOUT status whenever I'm trying to transmit a message. I can't read any output with on the CAN_tx pins with an oscilloscope. I tried testing the program with two STM32F429 boards using a MCP2551 CAN Transceiver for each. I haven't done much with the example code except change the GPIO pins for CAN1 pins PB8 (CAN rx) and PB9 (CAN tx). I read in this earlier post that there might be a bug with the HAL_CAN_Transmit() function and was wondering if anyone knows of a workaround? Here's an earlier post about someone having similar problems:
/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/HAL_CAN_Transmit%20timeout%20error&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=523
#can #example #stm32f429