Question about STM32 CubeMX
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-05-05 3:41 AM
Posted on May 05, 2014 at 12:41
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 Mark
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-05-22 8:57 AM
Posted on May 22, 2014 at 17:57 Hi Mark, Please share the generated driver or your .ioc file. -Mayla-
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-06-19 7:37 AM
Posted on June 19, 2014 at 16:37
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).