2014-05-05 03:41 AM
Hi guys,
I just used STM32 CubeMx to generate a brief project frame as I configed. I looked at the files that Cube includes to my project. For example, it has stm32f4xx_HAL_can.c, and in the stm32F429I discovery board support webpage, ST gives some example code about peripherals, in its peripheral driver, it has stm32f4xx_can.c. I compared with those two files and honestly I can not find something actually different. My question is are they same? why ST doesn't use same driver file, any particular reason? And I also check HAL definition, I still can not quite understand it, anyone could give me a brief idea or useful link? Thanks for your help. Regards Mark2014-05-22 08:57 AM
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2014-06-19 07:37 AM
Hello Mark, check-out
for an understanding of new ST initiative: stm32f4xx_HAL_xx.c/.h drivers are part of the STM32CubeF4 HAL library which shares a common API with the other STM32 series. The other driver you're refering to (stm32f4xx_can.c) belongs to the standard peripheral library (ST legacy solution for STM32 microcontrollers).