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

Cosmic 32K compiler for STM8

Posted on February 04, 2014 at 14:31My STM8 Cosmic compiler (32K limited) does not work anymore because it seems that the free licence is out of date (but it isn't: it will run out August 2014). Compiler Error is: '' </p>   #error cpstm8 C:\Programm...

IAR Kickstart STM8L05 EEPROM

Posted on February 04, 2014 at 11:50Hi I'm using the 8K limited IAR Kickstart compiler on the STM8L051F3 (8K) I'm using EEPROM and get the following 3 Linker errors Error[Li005]: no definition for ''__eeprom_program_byte'' [referenced from eeprom_ut...

Andre1 by Associate II
  • 1139 Views
  • 5 replies
  • 0 kudos

STM8 Firmware Library (TIM1) bug

Posted on February 04, 2014 at 21:01I think there's a bug in TIM1_OC4Init function of stm8s_tim1.c     /* Set the Output Idle state */     if (TIM1_OCIdleState != TIM1_OCIDLESTATE_RESET)     {         TIM1->OISR |= (uint8_t)(~TIM1_CCER2_CC4P);     }...

rgresume by Associate
  • 531 Views
  • 0 replies
  • 0 kudos

UNABLE TO MODIFY EEPROM

Posted on February 03, 2014 at 12:57Hello,I am having issues writing data into EEPROM of Stm8s003K3. I am using Stm8s Discovery development board and IAR IDE.I know the algorithm of unlocking the eeprom.I have attached the code I am using. The probl...

What is u16/u8 etc?

Posted on January 25, 2014 at 20:48I am reading it in help files, variables declared as u16/u8 etc. What is this? Does it meanu16=unsigned int typeu8=unsigned char type ?

singhd3 by Associate II
  • 2027 Views
  • 1 replies
  • 0 kudos

Can STM8S be used with an low cost RF receiver?

Posted on January 30, 2014 at 01:05Can STM8S be used with an low cost RF receiver, like the ones available on ebay for $1-$2? If yes then can someone help me identifying library/functions to execute this task. Thanks #interfacing-anything-to-anyt...

singhd3 by Associate II
  • 557 Views
  • 1 replies
  • 0 kudos

Functions and parameters Cosmic C problem

Posted on January 27, 2014 at 19:32I am new to programming in C after years of using Basic on PICs. I would like to know where should I look for functions associated with a peripherals like GPIO ADC etc and what parameters they can accept. I am usin...

singhd3 by Associate II
  • 540 Views
  • 2 replies
  • 0 kudos

STVD First Project help

Posted on November 16, 2011 at 05:48I just received my stm8s-discovery and I'm trying to follow this: http://benryves.com/journal/3567231 I keep on getting the following error even though I see this function defined in stm8s_conf.h:#error clnk Debug...

drebbe by Associate II
  • 1808 Views
  • 3 replies
  • 0 kudos

STM8S Firmware Library

Posted on January 23, 2014 at 21:38Hello, this is my first post here and my first attempt in programming an ST MCU. I today bought STM8S discovery board and it should arrive shortly.I was looking for some pointers as to where to get the firmware lib...

singhd3 by Associate II
  • 573 Views
  • 1 replies
  • 0 kudos