STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8S/A standard lib source code can't meet MISRA C 2004 rules

Hello, I use STM8AF as MCU, and the project is ASIL B level with functional safety. I downloader the STM8S/A standard driver, I apply MISRA C 2004 as rule to check the project. Oh, I forget to told the IDE, we use IAR for STM8. And we build the pro...

CGang.1 by Associate
  • 324 Views
  • 0 replies
  • 0 kudos

STM8S001J3 setup for AIN2

This is driving me crazy. First time with this processor. I have AFR2 and NAFR2 set properly for AIN2 operation. I can verify that in the watch window and the disassembly window looks like it is working as expected. If I change the channel to AIN7 I ...

Cosmic compiler producing wrong asm

I couldn't find a forum for the cosmic compiler. If anyone knows of one let me know and I'll ask there instead.I have code that is compiling wrong. A function has a u16 parameter and that param is being referenced as u8. This is the declaration of...

mchahn by Senior
  • 381 Views
  • 6 replies
  • 0 kudos

I want to display counter values from stm8s to 3 digit seven segment display via 74hc595, but was .unable to do so.Any suggestion will be appreciated .

In my project i have interfaced stm8s003f3 with3 digit 7 segment display via 74hc595d in order to reduce the used pin count in stm8s. From the Stm8s 3 pin are to 74hc595d (sh_cp,st_cp,ds) and three pin to digits pin of 7 segment display. I atta...

Dshar.1 by Associate II
  • 388 Views
  • 0 replies
  • 0 kudos