STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 1146 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
  • 560 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 ...

What is the ASTWBC5V?

Posted on January 20, 2018 at 12:11IAR recently added support for a device called 'ASTWBC5V' to their Embedded Workbench.I can't find anything on it at ST; neither is it in stock at distributors.From the name I guess it is some STWB variant.What is ...

ON/OFF Microcontroller

Posted on January 19, 2018 at 16:09We are using STM8L051F3 and it has 2 inputs which is 2 key keypad which we are using for our application. Now i want to use that keypad for ON/OFF of microcontroller also.How i can do that? I want to ON controller ...