STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8AF5288T flashing using iMX8M via SPI protocol

Hi STM8 Team,We have to flash STM8AF5288T MCU via SPI protocol from iMX8M Mini running on Android 11 OS.I have read the AN2659 document to study about IAP and understand the custom bootloader code.I have few queries after reading it which are as foll...

H_H_11 by Associate II
  • 657 Views
  • 1 replies
  • 0 kudos

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
  • 1617 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
  • 2004 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
  • 596 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
  • 808 Views
  • 1 replies
  • 0 kudos