STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8L151G4U6 PD problom

Posted on February 01, 2018 at 11:11i use stm8l151g4 pd4 to control external ADC converter,when pd4=1,ADC converter start,and pd4=0,ADC converter stop,pd4 initialized as below: PD_DDR_DDR4 = 1;       //PD4- OutputPD_CR1_C14 = 1;          //PD4 - Pus...

Interrupt voltage and current

Posted on January 31, 2018 at 21:55Where do I find (manual and section/table) the voltage required to set external interrupt to low and high and also the minimum and maximum current.  I am looking for this information for the STM8L152C6, so somethin...

FlexLM No such feature exists

Posted on January 29, 2018 at 17:02When I try to compile my project or the standard project, I get the message -clDebug \ -coDebug \ main.c #error cpstm8 C: \ Program Files (x86) \ COSMIC \ CXSTM8_32K \ Hstm8 \ mods0.h: 1 FlexLM No such feature exis...

Ivan Yu by Associate
  • 713 Views
  • 1 replies
  • 0 kudos

stm8s TIM1 PWM not working

Posted on April 18, 2016 at 14:20Hi,I'm trying to operate TIM1 on STM8S003F3P6, I am using the standard peripheral library code, but I am only able to produce pwm on TIM1_CH3 (PC3) pin, the other pins do not produce any waveforms at all. I'm sure th...

udilevy by Associate II
  • 1823 Views
  • 2 replies
  • 0 kudos

Error during compiling

Posted on January 24, 2018 at 08:07I am getting an error while compiling the file.Can any one please help me out.sdcc -lstm8 -mstm8 --out-fmt-ihx delay.c?ASlink-Warning-Undefined Global '_GPIO_Init' referenced by module 'delay'?ASlink-Warning-Undefi...

STM8L051F3 Halt Mode 300-400nA

Posted on January 24, 2018 at 12:10Hi,   I looking to achieve lowest power consumption in halt mode. Datasheet says we can achieve 350nA in halt mode. I am able to achieve 195 uA(micro Amp) at 1.8V.. I have written simple test code. FYI i am adding ...

Stack control feature in stvd .

Posted on January 24, 2018 at 11:51I am using STVD for development with cosmic compiler tool chain for stm8af5288 .In stvd manual it is mentioned about stack control feature like below  but in stvd itself i am not able to locate any such window .htt...

0690X00000609DYQAY.png

Isn't code generated by STM8cubeMX?

Posted on January 22, 2018 at 03:35I use STM8cubeMX.Isn't code generated by STM8cubeMX?If possible, what should I do?#stm8cubemx #stm8 #stm8-code-generate

Jeong An by Associate
  • 922 Views
  • 1 replies
  • 0 kudos

clock function in STM8S103F3

Posted on January 22, 2018 at 07:19unsigned int clock(void) {      unsigned char h = TIM1_CNTRH;      unsigned char l = TIM1_CNTRL;      return((unsigned int)(h) << 8 | l);}Can i know the function of above highlighted statement. I have experimented ...