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
  • 781 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
  • 512 Views
  • 1 replies
  • 0 kudos