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

Timer as frequency/RPM counter, CapCom offset?

Posted on June 13, 2012 at 21:02The original post was too long to process during our migration. Please click on the attachment to read the original post.

klaasdc by Associate II
  • 610 Views
  • 2 replies
  • 0 kudos

Problem with STM8S103 ADC

Posted on June 27, 2012 at 05:08I am using STM8S103 to measure three channels of voltage signals named vs12, vs5 and vs3 respectively. Timer 4 is enabled to generate interrupt every 10ms and three voltage signals are measured alternately. That is, i...

tangsg by Associate
  • 631 Views
  • 2 replies
  • 0 kudos

Cosmic or the worse compilator/linker ever programmed?

Posted on May 30, 2012 at 10:35I'm coding my 3rd testing project on stm8, to be exact in 2 different mcus, 103 and I'm using cosmic compiler, and i didnt have any problem with the previous 2 projects (because i didnt verify the size).The problem is...

pedro23 by Senior
  • 1729 Views
  • 5 replies
  • 0 kudos

ST-LINK : COMM TIMEOUT

Posted on May 23, 2012 at 13:00I am using STVD 4.3.1 with ST-LINK and windows 7 32bit.Most times I try to enter debug mode I get COMM TIMEOUT ERROR.  Clicking STOP and trying again just results in the same error over and over again.The only way to c...

Stm32User by Associate II
  • 1695 Views
  • 3 replies
  • 0 kudos

STM8S003F3 program flash not unlocking

Posted on June 21, 2012 at 13:54 Hi all, I'm trying to write an update routine for an STM8S003F3, so that it can be updated over SPI. I'm pulling 128byte chunks of data from a routine in ram, then attempting to write them to the mai...

skirkham by Associate
  • 513 Views
  • 0 replies
  • 0 kudos

STM8L101xx SR1 Changing Problem

Posted on June 18, 2012 at 17:23Hi everyone,I have serious problem about TIMx_SR1 register. This register is  0x07 at the normal time. I finished my code and i am using timer3 everything is ok. Sometimes my timer3 working wrong and i found problem.T...

RIDE 7 - no STLink support ?

Posted on June 13, 2012 at 14:47I'm relatively new to Raisonance/RIDE 7 for STM8 , and wondering that it seems not to support the ST-Link debug adapter, only it's own RLink. Is this correct ? Sorry to say so, but I consider this either poor performa...

STM8 SPI Wakeup

Posted on June 03, 2012 at 07:04I am using the STM8S as an SPI slave device.  The protocol I am using has a fixed sized buffer and I was thinking about using this interrupt to reset the buffer pointers.  The data sheet suggests that this interrupt c...

Nevyn by Associate II
  • 696 Views
  • 1 replies
  • 0 kudos

Defining table in Flash instead of RAM, IAR

Posted on June 11, 2012 at 16:36Hello, Wondering if anyone has been able to use IAR to put a table in ROM memory instead of the default RAM with init table.  I would like something like: code int a[] = {1,2,3,4,5,6} or int a[] @ ''abc'' = {1,2,3,4,5...

chealy by Associate
  • 1237 Views
  • 4 replies
  • 0 kudos

float rounding Cosmic compiler

Posted on May 10, 2012 at 13:01Dear all,I have some strange roundings with float values: for example when I write 0.05 in eeprom (calibration parameters) it becomes 0.049999997 when I read It.0.2 becomes  0,199999988.I use Cosmic compiler, I tried t...

jfelix by Associate II
  • 843 Views
  • 4 replies
  • 0 kudos