STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 1662 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
  • 1436 Views
  • 5 replies
  • 0 kudos

Why RTC_WakeUpCmd can fail?

In the STM8L SDK, the RTC_WakeUpCmd()  function can return an ERROR if the WUTWF bit fails to be set after a delay.  In the RM there's no mention of how and why this situation would occur.Why RTC_WakeUpCmd can fail?Thanks,Gabriel

0693W00000AMn9zQAD.png 0693W00000AMn8SQAT.png
GBert.2 by Senior
  • 864 Views
  • 0 replies
  • 0 kudos

How can I protect my microgontroller against hacking or overwrite

I would like to protect my firmware and my microcontroller in the case of a user want to extract the hex file or if the user want to overwire my firmware. For the first case, I saw I must play with 2 registers before to compile and program my code. H...

CMahe.1 by Associate II
  • 2114 Views
  • 7 replies
  • 0 kudos