STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM8S207RBT6 - write protected

Hello,I have got an industrial PCB with a STM8S207RBT6. I'm able to READ programm memory, data memory and option bytes with ST Visual Programmer and STLink V2.Also I can write data memory and option bytes. But if I try to write program memory I get a...

CNone.1 by Associate
  • 3297 Views
  • 2 replies
  • 1 kudos

hi guys! i have a discovery stm8s003k board and when i tested a program for cco capability it seems cco will never be stable and program always remain in line : while(CLK_GetFlagStatus(CLK_FLAG_CCORDY) == FALSE); codeand more explain is in detail.

i tested it with below code and ieven change prescalers for lower and higher frequency , i also check it with external crystal (and change the code) but it remains in while(CLK_GetFlagStatus(CLK_FLAG_CCORDY) == FALSE);for ever . when i debug the cod...

akhan.1 by Associate II
  • 221 Views
  • 0 replies
  • 0 kudos

What is I2C FREQR register used for?

Hi  I am using a STM8L151 but I am pretty sure this is the same for any STM8 with i2c.The register I2C_FREQR is described in:page 507 of the RM0031: https://www.st.com/resource/en/reference_manual/cd00218714-stm8l050j3-stm8l051f3-stm8l052c6-stm8l052...

0693W000006FQDFQA4.png 0693W000006FQDUQA4.png
SLasn.1 by Associate II
  • 279 Views
  • 2 replies
  • 0 kudos

STM8L TIM2 PWM Signal Generation

Hello Guys,I am using STM8L board and would like to learn how can I generate a PWM Signal at the output port with TIM2. How should I set the configuration?Thank you

AIpek.1 by Associate
  • 387 Views
  • 1 replies
  • 0 kudos

STM8L Timer Initiation problem

Hello,I am new to ST processors. Here is the issue:I am trying to setup Timer 3 for interrupt, Code: TIM3_DeInit(); CLK_PeripheralClockConfig(CLK_PCKENR1_TIM3, ENABLE); TIM3_TimeBaseInit(TIM3_Prescaler_64, TIM3_CounterMode_Down, 2500);    TIM3_Set...

TXu.2 by Associate
  • 290 Views
  • 1 replies
  • 0 kudos

Resolved! how can i use sprintf()

i want bto use sprintf() in my application what libraries i have to use

Trinu by Associate III
  • 1006 Views
  • 5 replies
  • 0 kudos