Proper setting a project with STM32F302VD and STM32F30x_StdPeriph_Driver.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-25 3:58 AM
Hi ALL,
In file "stm32f30x.h" (and not only in it) exist preprocessor dependent compilation according to symbol defined on project level. There are symbols as STM32F303xC, STM32F302x8 etc., but I can't find something similar to STM32f302VD, STM32f302xD or STM32f302x. I also was not able to find example project with exactly the same mcu to check inside it.
Please advice.
Best Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-25 6:05 AM
I would guess these headers are lost in transition, i.e. the devices were introduced around the time when the SPL was replaced by CubeMX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-26 1:49 AM
Hi AvaTar,
Thank you for your answer.
I installed CubeMX (mentioned in your message) and saw, that project generated for STM32F302VD is with predefined constant STM32F302xE and uses files with names containing "stm32f3xx" instead expected by me "stm32f30x". Also, there are options to use only HAL or LL, but there is no option to use StandardPeriph_Driver. Is this means, that it is not recommended to use StandardPeriph_Driver, but have to switch to HAL or LL?
Thank you in advance.
Best regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-26 4:23 AM
Hi,
I found the following - "since the standard peripheral library is not delivered for the most recent STM32 series, the SPL2LL-Converter migration tool is essential to the harmonization of existing applications with the range of new embedded product features and the ecosystem evolution".
That answers my question.
Best Regards,
Peter
