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

FlexLM compiler error

Posted on December 07, 2017 at 12:41#error cpstm8 C:\Program Files\COSMIC\FSE_Compilers\CXSTM8\Hstm8\mods0.h:1 FlexLM No such feature exists.

Any plans for low pin-count STM8L devices?

Posted on October 23, 2017 at 10:53Occasionally we have need for a 6, 8, or 14-pin MCU.  For instance SOT23-6 or leadless devices to conserve board space.  Up until now, PIC10 and ATtiny have been the only choices, but it's good to have some other o...

Modify SPI register

Posted on November 27, 2017 at 12:55Hello Everyone,I am working on the STM8AL3166 and try modify the SPI register. My simple code is as below :int main() {   SPI_CR1 |= 0b00100100;      /* Configure as master and 500 kHz com speed}As read in the dat...

david.ye by Associate II
  • 1196 Views
  • 5 replies
  • 0 kudos

How to overcome overlap error in stm8

Posted on December 05, 2017 at 14:40I created one segment and using #pragma i store some values in that location.If my code size cross that memory area means, overlap error occurs.How can i overcome with this error?

saran raj by Associate III
  • 998 Views
  • 3 replies
  • 0 kudos

Configuring channel 1 of Timer1 for PWM signal (STM8S controller)

Posted on September 20, 2016 at 11:54Hi,We are working on STM8S003f3 microcontroller. We have successfully configured Channel 3 of the microcontroller.When Tim1- Channel1 is configured in similar way, it does not produce PWM ouptput on the pin.We ha...

vivek2dy by Associate
  • 1809 Views
  • 3 replies
  • 0 kudos

COSMIC stm8_32k compiler uninstall and install

Posted on November 30, 2017 at 15:53I just uninstalled and newly installed the COSMIC stm8_32k compiler and applied for a new license, placed the newly received license in the License subfolder but I'm still getting the following error '#error cpstm...

ADC conversion time

Posted on December 01, 2017 at 11:36Hi,I nedd to execute an adc conversion in STM8S003. I read that te conversion time is about 2.3us, but I see that the time in my project is about 25us. Configuration of  CLK_Config(void){ /* Initialization of the ...

sav gas by Associate II
  • 541 Views
  • 0 replies
  • 0 kudos

STM8AF Bootloader UART write memory

Posted on December 01, 2017 at 03:24I'm currently programming a bootloader for my project. I work on a STM8AF board and I have a problem with the write memory command.I follow each instruction in the UM0560 user manual. My problem appears at the end...