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

delay_ms(1); missing prototype STM8S001J3

I code in STVD + COSMIC for STM8S001J3, it was prompted:----------- Project test_stm8s001j3 - STM8 Cosmic - Configuration Debug -------------   Compiling main.c... cxstm8 -if:\stm8\stm8s_stdperiph_lib\libraries\stm8s_stdperiph_driver -if:\stm8\stm8s_...

MQi.1 by Senior II
  • 976 Views
  • 1 replies
  • 0 kudos

enable/diasble read-out protection (ROP)?

Hi,for a product I want to activate read-out-protection (ROP) via option byte, to prevent misuse via the SWIM interface. However, is it possible to disable it again from the application (given a "secret" condition)? Page 50 in RM0016 indicates that A...

GIcki by Associate II
  • 2828 Views
  • 4 replies
  • 0 kudos

How can I increase the amplitude of the sine wave generated from the pwm of the stm8s003f3 microcontroller ?? Is there any particular formula to calculate that??

I have a haptic button where the vibration has been set as soon as the pwm is genereated, I want to increase the vibration by changing the amplitude of the sine wave generated from the pwm, Can I know how can I do that??

SANAN.1 by Associate II
  • 1857 Views
  • 5 replies
  • 0 kudos

STM8S003F3P6 becomes unresponsive and can no longer be programed

Hello, I'm writing some timer code for the STM8S003F3P6. I am using SDCC to compile it and stm8flash to flash it on to the device with a third part ST-Link V2. I am having an issue that when I flash the device with my code it doesn't run and I can no...

AAtki.1 by Associate
  • 1545 Views
  • 5 replies
  • 0 kudos