STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Option bytes programming during flash download, IAR EWB

Posted on March 17, 2014 at 14:28Hi all! Does anybody know, how to program option bytes from IAR, during downloading flash image, like it implemented in STVP? Maybe, using some scripts to automate. I will need to program few hundreds of uCs, and set...

kiroid by Associate II
  • 2122 Views
  • 2 replies
  • 0 kudos

Infinite ISR on STM8L

Posted on April 01, 2014 at 21:04I'm exploring an STM8L152 on the Discovery Board. That board has a user button, which I have set to trigger an interrupt on a GPIO (pin C1, if that matters). I can watch the interrupt fire in the debugger (using STVD...

vince by Associate III
  • 549 Views
  • 0 replies
  • 0 kudos

About STM8 decimal adjust

Posted on March 29, 2014 at 12:02Hello everyone, I just started learning STM8 assembly language, but can not find the decimal adjust instruction, so do not BCD arithmetic.Have thought about writing a decimal adjustment subroutine, the addition shoul...

ysc by Associate
  • 535 Views
  • 2 replies
  • 0 kudos

STM8S103K3 - ADC takes longer than expected?

Posted on March 27, 2014 at 18:04I am timing the ADC conversion from TRGO to EOC.  I calculate that the conversion should take 3.5us but I measure a minimum of 4.0us using an oscilloscope.I have included the relevant code loop below.Please does anyo...

I2c ACK Problem in stm8s003k3

Posted on March 26, 2014 at 08:29Hi Please Help! I am Facing issue Of Ack Problem, I am Using stm32f103 as a Master  & Stm8s003k3 as a slave Reciever, Master is Working Fine , For slave When I probed SCA & SDA Lines at Ninth Pulse Ev1 is Not coming...

Interrupt cant set global variable?

Posted on March 13, 2013 at 13:22Hi all. I got a problem: Every time i am setting a global variable in my ISR it is set to 0 after the ISR has ended!volatile int test; void main(void){ TIM1_DeInit();  TIM1_TimeBaseInit(10, TIM1_COUNTERMODE_UP, 20000...

texton1 by Associate II
  • 1491 Views
  • 6 replies
  • 0 kudos

Over consumption with GPIO input

Posted on March 19, 2014 at 16:43Hi,I'm trying to have the lowest consumption I can with a very simple design. Weird thing appenened: Putting PD4 in ''floating no interrupt'' mode, give me a definitely higher consumption than ''output pull-push low ...

0690X00000602jhQAA.jpg

HSI OScillator Accuracy

Posted on March 24, 2014 at 10:41I'm start to using an STM8S105 and i'd like to use the internal HSI oscollator.Microcontroller datasheet give indication on HSI accuracy using a table where in the worst case with a VDD of 5Vdc we have +/-3% of toler...

michele2 by Associate
  • 487 Views
  • 0 replies
  • 0 kudos

Programming ToolKit with VB

Posted on March 21, 2014 at 20:45Has anyone written a VB program to utilize the Programming ToolKit?  I can get it working using C++ but I am a poor windows programmer and flounder trying to create a decent app.  I've already done a VB app to create...

jdf25252 by Associate II
  • 574 Views
  • 0 replies
  • 0 kudos