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

CENTERALIGNED pwm not working

iam using stm8s003f3 microcontroller i configured centeraligned pwm but not workingattached wave form also please suggest.void TIM1_setup(void){   TIM1_DeInit();            TIM1_TimeBaseInit(0, TIM1_COUNTERMODE_CENTERALIGNED3 , 1000, 0);      TIM1_BD...

0693W00000D17WcQAJ.jpg
gm.1 by Associate
  • 483 Views
  • 0 replies
  • 0 kudos

Windows: flashing the STM8S discovery from command line

Yes I want to flash my hex file to the board (connected by usb) from my VS Code setup.I've looked in vain for a windows version of STM8flash. Anyone have a link to a ready built executable?I understand that this should also be possible using openocd,...

gfmoore by Associate II
  • 890 Views
  • 1 replies
  • 1 kudos

Howto reading Data memory from STM8S001j3 and store it to a file?

I would like to read STM8S001J3 data memory and store it to HEX file.I dont0 know how to specify file name for the output file. If I use -FileData STVP searches for the file and produces an error.Thanx.Command line : STVP_CmdLine" -Device=STM8S003F3 ...

GDemš.1 by Associate
  • 521 Views
  • 1 replies
  • 1 kudos

Resolved! "SWIM" evaluation of STNRG388A evaluation board (STEVAL-ISA164V1)

I'm looking for a programmer who can choose the "SWIM" format to write to the STNRG388A evaluation board (STEVAL-ISA164V1)."ST Visual Programmer" can select "SWIM", but it seems that the device does not have STNRG388A and cannot connect properly.I wo...

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

products supply

I usually use STM8L151C8T6 micro-controller.But it's difficult to get it.What does ST Micro think the major/main products on STM8 CPUs families?Should I change the micro-controller from STM8L151C8T6?So, what kind of families should I use?Please tell ...

YIshi.1 by Associate II
  • 729 Views
  • 2 replies
  • 0 kudos

STM8AF6223A UART 4 RXNE Flag is not set

I have a STM8AF6223A Processor connected to another processor on Pin 2, UART TX and Pin 3, UART RX. The oscilloscope verifies that both processors send correctly, 19200 Baud, 8bit Data, no parity, 1 stop bit. The STM8 processor receives the data in t...

0693W00000Bde61QAB.png 0693W00000Bde5XQAR.png
CPack.1 by Associate
  • 667 Views
  • 2 replies
  • 0 kudos

How to read/write flash memory instead of EEPROM

Hi there!I am using stm8s MCU for my application. As the number of data that I want to save is more than the size of EEPROM, is it possible to read/write data on flash memory? If yes, may I know how to make it works and how to allocate flash memory p...

MT.2 by Associate II
  • 560 Views
  • 0 replies
  • 0 kudos

About PUSH POP instructions。

I test push and pop instruction,some issue confuse me. ​push cc #cc = 0​​when cc=0,and cc is push to stack,the value in stack is 0x28,this mean I1 I0 is set,why?​​pop cc​ #cc=0​when​ cc in stack is 0x2b,after pop,cc change to be 0x3 ,this mean I...

jduo.1 by Associate II
  • 1011 Views
  • 3 replies
  • 0 kudos