HAL DIVERS for stm8 series?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 8:08 AM
Hey guys.I was just working with stm32f2 series and used cube mx to generate the code,but stm8 series do not have code generator in cube mx(sad
:(
).I wanted to see if there is any HAL divers or i have to write the code with cmsis?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 8:14 AM
One more question. Doesn't keil support stm8 series?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 9:01 AM
The STM8 is not an ARM based core and does not support CMSIS, or Keil.
The HAL is rather a thick abstraction, and not terribly well suited to something where you want the code as small and fast as possible.
You want HAL/CubeMX, consider a Cortex-M0(+) based device from the STM32 family.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 12:04 PM
Keil does not support STM8. Basically, the C compiler choices are: SDCC, IAR, Cosmic, Raisonance. There is a
http://colecovision.eu/stm8/compilers.shtml
, but it only considers aspects of the C compilers themselves (i.e. it doesn't consider IDE integration, etc).Philipp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 12:19 PM
You mean it's better to write the code with registers mentioned in the user manual?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 1:57 PM
The answer depends on your definition of 'better'.
Working on the registers forces you to understand the device. It is generally more efficient.
Whether that's good is up to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-03 2:28 PM
It is usually better to meet your speed and cost budgets, a good idea of how the processor actually functions might allow you to hit your goals instead of miss them.
Up vote any posts that you find helpful, it shows what's working..
