STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Not able to generate 6 step pwm signal using timer1

Hi,I am working with stm8s105c6 controller. I want to generate 6 PWM using timer1. For that I am using 6 step PWM sample. I am getting pwm at pc1, pc2, pc3 but complementry pwm at pb0, pb1, and pb2 is not available.At pb0, pb1 and pb2 I am constantly...

Ajadh.1 by Associate II
  • 1044 Views
  • 15 replies
  • 0 kudos

STM8S SWIM pin unused handling

Hello everyone.I am in trouble with the SWIM pin of STM8S.According to the data sheet, unused pins should be set to OUTPUT.However, I would like to keep SWIM pins in a state where they are normally unused and can be debugged only when necessary.How c...

0690X0000098FTzQAM.png
ota-s by Associate II
  • 649 Views
  • 4 replies
  • 0 kudos

Resolved! Which STM32 flasher to use for STM8

Hi all, I'm working on a part that has implemented something very similar to the ST-provided user bootloader for the STM8. I've tired uploading a binary using several versions of the STM flasher but none of them seem to work. Is there a script availa...

Konami by Senior
  • 282 Views
  • 1 replies
  • 0 kudos

Are the UART pins of the stm8s103 5v tolerant?

Hello, I have looked in the datasheet and there is no "FT" like the stm32 family has. It does show that the UART pins are "HS" (high sink current). Can I assume there is something like a zener diode plus resistor to protect the core from 5 volts? Tha...

how to change c language from c90 to c99 in stvd

Hi,I am using STVD to debug program for stm8s105c6 MCU. Here am able to compile code properly, and using cosmic compiler.I am getting error for Inline, and also prototype missing, semicolon missing, invalid constant expression, etc. errors are comin...

Ajadh.1 by Associate II
  • 454 Views
  • 2 replies
  • 0 kudos

STM8 and ST-link programming under Linux (Raspberry pi)

Hello,I have to program STM8 device under Raspberry Pi OS. But I can't find any support page explaining how to use ST-Ling under RPI linux. Device is STM8S007C8T6 .It is not necessary that I have to use ST-Link, I only have to connect to and prog...

mladen by Associate II
  • 678 Views
  • 2 replies
  • 0 kudos