STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How do we program STM8AF EVK board?

Hi team,we are plan to use STM8AF board. Whether it is support internal programmer or else we need to purchase separate programmer. please confirm it Thanks Manjunatha

Mk.5 by Associate
  • 518 Views
  • 1 replies
  • 0 kudos

how stlinkv2 reset the mcu

I connect the stlinkv2 to stm8. then the reset button on board not work, Is there a way to reset the stm8 using stlinkv2?. thanks

jduo.1 by Associate II
  • 1461 Views
  • 2 replies
  • 0 kudos

Access to c:\....\stm8s.h was denied

I am a starter for stm8 mcus I installed STVD and COSMİC C Compiler. at first step -i can not save my project-i can not uncomment my mcu in stm8s.h header fileI get an error message "Access to C:Users\R&P\Desktop\first\inc\stms.h"Access to C:Users\R...

sözbe.1 by Associate II
  • 518 Views
  • 1 replies
  • 0 kudos

inline assembler query _asm

char shiftdata=8;shiftdata=_asm("rlc a",shiftdata).I am trying to rotate left through carry value 8, expecting output of 16. When I debug the code, I am getting shiftdata value as zero, instead of 16.Can you help me with this?

NA.5 by Associate
  • 396 Views
  • 0 replies
  • 0 kudos

Ctrl+space is not working on STVD

I am using STVD and Cosmic Compiler and after add some #include files, the "Control + space" stop working. It doesn´t find the SPL (StdPeriph_Lib) function anymore. Hope anyone to solve this problem. Thanks

DMarq.9 by Associate
  • 519 Views
  • 1 replies
  • 1 kudos

I can not uncomment line in stm8s.h error: "Please select first the target STM8S/A device used in your application (in stm8s.h file)"

hi,I installed STVD and Cosmic C mopiler. I downloaded SPL from ST website.created first project.installed SPL soruce files and include files.I will uncomment line #define STM8S003 (line49) but compiler gives error."Please select first the target ST...

sözbe.1 by Associate II
  • 1763 Views
  • 3 replies
  • 0 kudos

STM8S: TIM5-PWM frequency and duty cycle measure.

I am trying to measure the frequency and duty cycle of a PWM input on TIM5 channel 1. My frequency is being measured correctly but the duty cycle is not. GPIO_Init(GPIOD, GPIO_PIN_4, GPIO_MODE_IN_FL_NO_IT); //PWM inputI am using the 16MHz HSI clock ...

JRing.2 by Associate II
  • 1142 Views
  • 4 replies
  • 0 kudos