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

Problems with jp instruction

Posted on February 26, 2016 at 10:04We are using assembler code in our C-code. The jp instruction is used to jump into the booloader. But sporadic the jp instruction is not working. We have also used jpf instruction. Without success. What can be the...

Cannot compile with Cosmic

Posted on February 26, 2016 at 03:21Hi,I'm trying to use the Cosmic 32K compiler in ST Visual develop and having created a completely new project with no additional code in, I can't compile it. I can't compile using Idea either.My error is:&sharperr...

harris by Associate II
  • 780 Views
  • 1 replies
  • 0 kudos

ADC CONTINUOUS conversion Problem.

Posted on February 25, 2016 at 13:10I below code, I am reading ADC counts and sending it over CAN. ADC is working properly for _SINGLE conversion mode.... But it is not working for CONTINUOUS Conversion mode mode.

STM8 LIN driver suit and lingen utility

Posted on February 23, 2016 at 12:22 We are using the LIN Driver suit V 5.1.0 from ST microelectronics. The demo project provided in that is having a lin_basic_demo.ldf and lin_basic_demo.lgn files. I was successfully able to regenerate lin_cfg.c, l...

STM8 PWM output TIM2_CH3 over PD2

Posted on December 10, 2015 at 14:06The original post was too long to process during our migration. Please click on the attachment to read the original post.

franz2 by Associate III
  • 923 Views
  • 3 replies
  • 0 kudos

Problem with the DMA datacounter of stm8l051

Posted on February 18, 2016 at 05:02Hi,I'm using DMA to transfer the data from USART1,The length of the data is varible.So I open the USART IDLE LINE interrupt.I try to set the DMA data counter to zero by using the function ''DMA_SetCurrDataCounter(...

stm8s I2C Communication

Posted on February 12, 2016 at 14:20Hello,I want to use I2C Communication between two stm8s208cb MCUs. I use stm8s standard peripharel library. My code:Master:&sharpinclude ''stm8s.h''&sharpdefine I2C_SPEED 300000&sharpdefine OWN_ADDRESS    0xA0    ...

Firmware development tools for STM8L

Posted on February 04, 2016 at 08:31Hi,I would like to know which tools can be used like compiler, IDEs for developing firmware for STM8L micro controller.  #compilers #development-tools

ashelke by Associate
  • 935 Views
  • 2 replies
  • 0 kudos

stm8s208cb(Slave) and stm8s105c6t6(Master) I2C Communication

Posted on February 05, 2016 at 14:24Hello,I want to use I2C communication between stm8s208cb(slave) and stm8s105c6t6(master). I use stm8s standard peripheral library.stm8s105c6t6(master) code:-in the void mainCLK_HSIPrescalerConfig(CLK_PRESCALER_HSI...

erhan by Associate
  • 652 Views
  • 1 replies
  • 0 kudos