STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! How to generate .bin file from STVD

Hi STM8 Team,I can see STVD generates .s19 , .sm8 files. I want to generate .bin file. I had tried it by adding the following line in Post-Build section:chex -o $(OutputPath)$(TargetSName).binBut this did not work. Could you please guide me on how to...

H_H_11 by Associate II
  • 1699 Views
  • 4 replies
  • 0 kudos

Resolved! Problem in struct on header file

Hi there!I put this struct in the header file of my code, i´m using Cosmic C compiler and STM8S207 microcontroller:typedef struct{ bool a0:1; //flutuação bool a1:1; //equalização bool a2:1; //automático bool a3:1; //fuga terra + bool a4:1; //fuga ter...

MGarb.5 by Associate II
  • 2099 Views
  • 2 replies
  • 0 kudos

ERROR IN PROGRAMMING MANUAL?????????

hello sircan someone, help me with that "SUB SP,#$9 " ,with is mentioned in the LATEST PROGRAMMING MANUAL OF STM8S PAGE 151.if you write that in an even very 1line program, you have an errorCan't match Addressing mode ' SUB SP,#$9'is there a n er...

Resolved! hello sir i use the nucleo stm8s208rb with asembler language, so i start with the st visual develop and write even a small program l

hello sira very simple asembler program ,with a big problemits in ST visual develop , with the inside st assemblerthat simple program ldw X,#stack_end ldw SP,X PUSH $C SUB SP,#$02gives that error  Error 54: Can't match Addressing mode ' SUB SP,#$02'...

What is the minimum program content required for the evaluation board (STEVAL-ISA164V1) to communicate with ST_SMED_Configurator? Supplement: I am using STNRG388.

From the drawing of DocID28549, PIN22 of the evaluation board (STEVAL-ISA164V1) is described as UART_Tx and PIN23 is described as UART_Rx, but if you search for UART in the attached source file, PIN17 and PIN18 will be searched.Which part of the atta...

HKOBA.1 by Associate II
  • 617 Views
  • 0 replies
  • 0 kudos

stm8s003k3 multiple ADC channel reading error

Hi everyone.I am having problem reading data on ADC pins in stm8s003k3. I have attached three NTC at Ain1/2/3(which I suppose is also known as a channel) according to the datasheet. Problem is that when I put different channels in my code it shows on...

KRiaz.1 by Associate II
  • 840 Views
  • 1 replies
  • 0 kudos