STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

how can i clear the pending external interrupts in STM8s003k3

Here I am using the STM8s003k mcu .In my application,I am configuring the external interrupts for a port .after rising the interrupt how can I clear that interrupt.If I can not clear that interrupt the external interrupt handler only will execute. I ...

Trinu by Associate III
  • 1435 Views
  • 4 replies
  • 0 kudos

Reset is not happening while Debug in STVD

Hi,Reset is not happening at only particular project while debugging using STVD. But the same code is working fine if I load the code through STVP. Same MCU Reset is working fine with other project while debugging. I don't know is there any settings...

NM by Associate III
  • 373 Views
  • 0 replies
  • 0 kudos

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
  • 3587 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
  • 296 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-stm8l05...

0693W000006FQDFQA4.png 0693W000006FQDUQA4.png
SLasn.1 by Associate III
  • 430 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
  • 520 Views
  • 1 replies
  • 0 kudos