STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 869 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
  • 2125 Views
  • 7 replies
  • 0 kudos

stm8l151g4 DMA USART recieve only once

Hi.i'm try using USART1 and recieve bytes with DMA from SBUS transmitter.. But have strange problem - i'm recive only once and later DMA IRQ TC2 never occure. I'm try many variants - all not help me(((Here my some code - #define USART_DMA_CHANNEL_RX ...

Esten.11 by Associate
  • 714 Views
  • 2 replies
  • 0 kudos

The problem is that the controller of stm8 doesn't work after it has been used on the vehicle for a period of time, and the controller function is invalid. Once in the past, the controller can work normally after re burning the program, but this time ther

The problem is that the controller of stm8S208C8T6 doesn't work after it has been used on the vehicle for a period of time, and the controller function is invalid. Once in the past, the controller can work normally after re burning the program, but...

Wzhan.5 by Associate
  • 509 Views
  • 1 replies
  • 0 kudos

How to fix Cosmic Compile Error(FlexLM No such feature exists)

I want to develop an STM8 device using STVD + Cosmic Compiler.Compiler was installed with the license received by Cosmic, and the license was copied to the License folder in the Cosmic Compiler installation path (C:\Program Files (x86)\COSMIC\FSE_Com...

UHam.1 by Associate
  • 1284 Views
  • 2 replies
  • 0 kudos

STM8L050J3 SON8N - how to generate PWM on PC5 ?

Hello,I am trying to generate a PWM signal on pin PC5 using TIM2_CH1 , but no success. But I am able to generate PWM on pin PD0 using TIM3_CH2.Normally the procedure is quite simple :for TIM2_CH1 - pin PC5 TIM2_OC1Init(TIM2_OCMode_PWM1,  TIM2_OutputS...

0690X000009Yx7yQAC.png 0690X000009Yx7jQAC.png
SDomn by Associate
  • 761 Views
  • 3 replies
  • 1 kudos

Resolved! How to read the pins map of STM8S001J3?

I have a chip with 8 pins, but I could find the start sign for pins order, should I start from left-bottom or left-upward corner?

MQi.1 by Senior II
  • 766 Views
  • 4 replies
  • 0 kudos

What is the epilogue_w4() library call and how to stop using it?

In a function declared in RAM, I get the following warnings from the STM8 IAR compiler:Warning[Ta005]: Library call (?epilogue_w4) from within a __ramfunc function C:\myproject\src\myfiles.c 110 In the .map, I found that this function was part of vre...

GBert.2 by Senior
  • 447 Views
  • 0 replies
  • 1 kudos