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

GPIO gets to high level time

1, //while(GPIO_ReadInputDataBit(GPIOD, R6_GPIO_PINS) == 0) count_++;will the time counter work?when i using time capture, sometime 3.0 or 2.45 rising happened

No output on CCO pin even after CCOR is Enabled.

Dear Community Members,I recently started my venture with STM8S Micro-controller. I bought an STM8S103F3P6 Chip. The very first thing i want to understand is Clock Control of the MCU. Therefore i set the MCU to HSE 16MHz. Although I wanted to see if ...

AVish.12 by Associate
  • 815 Views
  • 1 replies
  • 0 kudos

st link v2 stm8 not reset

after program the mcu by STVP, the mcu does not reset and start up, why?swim does not have reset function?

About the timer capture register.

If you read the capture register like this uint16_t capch;  capch=*((uint16_t*)&TIM2_CCR3H);This code will be compiled into an ldw instruction.The data is read incorrectly.The following code gives the correct result. uint16_t capch; ((ui...

EChep by Associate
  • 541 Views
  • 1 replies
  • 0 kudos

Unable to program STM8l052C6 using StLink.

Hello Respective,I am trying to flash STM8l052C6 using st link and stvd. But I am not able to flash it. Previously same controller same st link and same IDE was there I was able flash. but suddenly it stopped flashing.When trying to flash in new fre...

0690X000009ZdVpQAK.jpg
NPaba by Associate II
  • 492 Views
  • 0 replies
  • 0 kudos

How to measure input voltage in STM8l052C6 MCU?

Hello Respective,I am trying to measure the input voltage in STM8l052C6 controller but I am unable to do the same. I tried in STM8l152C6 in STMl discovery board and it's working fine there but not in STM8l052C6.I analysed one thing by my self is addr...

NPaba by Associate II
  • 454 Views
  • 0 replies
  • 0 kudos