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

How to test FLASH_EraseBlock() in STM8AFxx using STVD

Posted on December 18, 2017 at 15:18I followed the below steps to execute the Sample code provided by ST. - For Cosmic Compiler:  1- Uncommented the ''#define RAM_EXECUTION  (1)'' line in the stm8s.h file,    2- In STVD Select Project\Settings\Linke...

0690X00000609G7QAI.png 0690X00000609FxQAI.png

Touch sensing library

Posted on August 31, 2009 at 14:25Touch sensing library

tran by Associate II
  • 1180 Views
  • 3 replies
  • 0 kudos

STM8L Execute from RAM at flash block programming

Posted on December 14, 2017 at 13:10Hello, no block or place matches the pattern 'ro code section FLASH_CODE in stm8l15x_flash.o' error appered after adding  #pragma location = 'FLASH_CODE' before block programming function in IAR complier? Any help...

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
  • 1279 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
  • 1115 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
  • 2051 Views
  • 3 replies
  • 0 kudos