STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

PWM frequency and duty cycle control - problem

Posted on October 15, 2012 at 19:56 Hi, I'm trying generate a PWM signal whose frequency and duty cycle are controllable by 2 potentiometer on a STM8S105 Board. However, I am still unable to get the variables to update their values. Here...

CXSTM8 bug when writing to bit structure

Posted on October 11, 2012 at 09:36To optimize the code I put nearly all the flags to bit structures. Now I came across a  bug in the CXSTM8 when writing to bits. Reading bits doesn't bring any problem.  The good news for me is that I found a workar...

STM8L Sleep Speed

Posted on October 08, 2012 at 08:40 OK, title sounds really weird, but I'm really curious about the low pawer state switch speed of the STM8L micro. I'm doing some tests about switching to LSE and back to HSI, waiting for stablization etc. I...

Debugger Stopwatch

Posted on September 28, 2012 at 09:52Hi Guys,Do we have a stopwatch feature within STVD? I'd like to measure passed time between two breakpoints as time (us, ms) and cycles.I know there are simulators with MPLAB and IAR IDE with this function but co...

chibiOS and IAR

Posted on September 25, 2012 at 05:48Hi all,Does everybody have examples chibios base on IAR of stm8? Now cosmic limited 8k, so I want to change to IAR Thanks and best regards Thinh

np1 by Associate II
  • 456 Views
  • 0 replies
  • 0 kudos

EWSTM8 of IAR - problems with debugging

Posted on September 21, 2012 at 10:33Dear,In the past I published here in the forum a question about EWSTM8 problems.I have been in touch with IAR on that and now I have their Beta version. This beta version has solved a problem with crashes as resu...

elil by Associate III
  • 3258 Views
  • 0 replies
  • 0 kudos

Software Update on STM8

Posted on September 12, 2012 at 12:40I am working on a low density STM8S with 8Kbyte flash memory. I need to accomodate a main software and a recovery software. I do not need any special bootloader as I am planning to make the software update as pa...

spveer by Associate II
  • 968 Views
  • 3 replies
  • 0 kudos

ICP and IAP: Linker

Posted on September 18, 2012 at 17:21 Hi, Is it possible to program only part of the flash memory using ICP? I have STM8 programmed with bootloader using ICP where UBC is protected from 0x8000 to 0x8fff. Now when I try to...

spveer by Associate II
  • 435 Views
  • 0 replies
  • 0 kudos

TIM3 wrong counting?

Posted on September 04, 2012 at 17:14I need to generate a 20 ms interrupt into my firmware. HSE is 16 Mhz with STM8S208. I put this initialization code into my firmware to accomplish that through the use of TIM3: #define PRESC TIM3_PRESCALER_32     ...

STVD 4.3.1 : swim error [30103]

Posted on February 09, 2012 at 12:26Hi, I'm running windows 7 64 bit, my target is STM8S103F2U. STVD gives me this error when trying to debug: ''failed to download application: error: swim error [30103]: rlink communication error''.    Rlink does no...