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

gdi-error [40606]:

My MCU is STM8AF6226,when I compile the code,The compiler reminded me gdi-error just like as "Wed Dec 19, 2018 08:17:00: Failed to set configuration with MCU name STM8AF6226: gdi-error [40606]: Configuration error: detected MCU different from the sel...

STM8L001J3 TIMER2 does not operate.

Hi.I have a problem using STM8L001J3.TIMER2 does not operate.​void main(void){ CLK->CKDIVR = 0x00; GPIO_Init(GPIOB, GPIO_Pin_3, GPIO_Mode_Out_PP_High_Fast);​ TIM2_DeInit(); TIM2->CR1 = 0x01; // Counter enabled TIM2->ARRH = 0x00; TIM2->ARRL = 0x9E; ...

STM8s003f3 with i2c LCD (PCF8574AT I2C Module)

Hello Every one ,I am trying to use I2c based LCD with stm8s003f3 controller. the write i2c address is 0x3f I am struck at a point ,the code is stopped in endless loop in below functionvoid PCF8574_write(unsigned char data_byte){  I2C_GenerateSTAR...

pverm.19 by Associate
  • 660 Views
  • 0 replies
  • 0 kudos

How to link to lin.lib from en.stsw-stm8a-LIN in an STVD project

I have followed the steps to create my lin.lib file from my LDF, but I need to add it to a STVD project, not one built with an extrenal makefile. I have tried adding the library to the default compiler path, and tried specifically adding it to the pr...

IChut by Associate
  • 535 Views
  • 0 replies
  • 1 kudos

STM8: mistake in Programming Manual?

The PM0044 for the STM8 MCUs explain that data address space is 16MBytes linear. Ok, so why on the page 19 data address to a RAM memory has 16-bit wide (A15...0)?

0690X000006ClXKQA0.png
Arlleex1 by Associate II
  • 608 Views
  • 0 replies
  • 0 kudos

Saving setup of the "Option Byte"

Hi everyone,I have the usual file.s19. I can set the 'Option Byte' up using the opportune tab in 'Cosmic'. Now I need to share my file.s19, but I need to share it with option byte already set up.Is there any way to do that?thanks Antonio

Efficient RC5 decoding code for STM8 MCUs

Posted on March 06, 2017 at 16:40Hello,Full RC5  decoding code  with  total STVD  project file. Hope you will find it  beneficial for your project.