Can we combine hal based project with register level project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-21 9:06 AM
Hi, everyone
I have 2 project in one of the project i have used hal library for stm32f1 while in the other project i have use register access i.e all the peripheral like uart, adc are accessed at register level like in stm8 pls suggest is it possible to merge these 2 project
- Labels:
-
STM32Cube MCU Packages
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-21 3:32 PM
There are no issues in general combining HAL and register level access, but generally you should only use HAL or register level access for a particular peripheral. The only problem comes from using both for the same peripheral without understanding how HAL operates and how accessing registers affects it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-21 6:37 PM
Hi ,@[TDK]
Thank for reply but can you provide any examples or links through which i can get reference that how to merge them
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-21 6:55 PM
