STM8 MCUs

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

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