STM8AL318A peripheral registers include file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-02 03:01 AM
Hi
I am using a STM8AL318AT. What is the correct peripheral resisters include file to use? The stm8s.h includ file from the standard peripgeral library does not support any AL device. Can I use the stm8l15x.h file and uncomment the HD device?
Regards
/Johan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-02 04:56 AM
Hello Johan
I have moved your question to the
https://community.st.com/community/automotive-mcus-community/spc5-automotive-mcus
forum where someone should be able to assist you.Thanks
Oli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-06 02:21 AM
Hello Johan ,
Even if it could be an automotive MCUs, STM8A is relative to the arm core not PPC (SPC5 Family)
i have put your question in STM8 Part
Best regards
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-06 03:51 AM
Hello, let me bring a little precision here. The STM8 is not based on ARM core. This is a proprietary core developed by ST. If the STMAL318AT is not described properly (Something I will check and ask for correction), the STM8L15x will do.
In fact we have extended the qualification and fault coverage of the standard STM8L in order to get the devices aligned with the AEC-Q100.
Patrice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-09 03:30 AM
To answer to the original question, the correct library package is
The header file is stm8l15x.h
and the correct macro to define in the project is:
#define STM8AL31_L_MD
Max
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-09 05:00 AM
Ok, thanks Max
It sounds obvious and correct! I guess the stm8l15x.h file I got when I downloaded some LIN (STSW-STM8073/74) example did not have this macro, it was an older version.
Regards
/Johan
