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

STM8 internal temperature sensor

Posted on September 06, 2016 at 10:20I am working on a project, which is based on STM8 MCU. I am using ADC to read the ambient temperature. Sometimes I am getting temperature ADC readings which are greater than the usual ones. Most of the time the s...

jakub23 by Associate
  • 658 Views
  • 1 replies
  • 0 kudos

ADC interrupt in cosmic

Posted on November 16, 2016 at 12:55Dear all I tried to read  ADC1 channels in stm8 in cosmic compiler, but still I could not. as far as the main program start to config the ADC1 initialization nothing happen. I do not know what the problem is with ...

Resolved! STM8 and STVP: how to flash .HEX file

Posted on November 21, 2016 at 13:34Hi everyone. I have an .HEX file that I would like to program in a STM8AF62A8 MCU. I load the .HEX into STVP and it seems to be flashing the memory correctly because I can see some of the application's startup ou...

jorge23 by Associate
  • 1707 Views
  • 1 replies
  • 0 kudos

STM8L, I2C random infinite loop on 2nd I2C peripheral

Posted on November 16, 2016 at 17:46I've narrowed the issue down to the program getting stuck in a while statement indefinitely.  Per the attached file, it is looping indefinitely at line 361.  Nicolas Fillon said I needed to implement some reliabil...

How to use math functions in Cosmic and Raisonance?

Posted on July 25, 2015 at 18:48I wanted to compare how the most important C compilers for STM8 perform on some standard benchmarks. However, I've run into a problem with Whetstone: I get linker errors for the math functions in the Cosmic and Raison...

Cosmic compiler problem with STM8 Discovery board

Posted on November 09, 2016 at 11:11Hello all, I am new to cosmic compiler. Using IdeaSTM8 IDE I just wanted to create a new project. I have followed procedure suggested in ''Quick Start Guide'' pdf file. But I am getting below mentioned error. &sha...

STM8 Discovery board, ST Link V4, ''Cannot connect to target''

Posted on November 09, 2016 at 10:51I just got the STM8 Discovery board, however the ST link utility programme says ''cannot connect to target'' and to choose ''connect on reset'' in the target-> settings menu. There is no ''connect on reset'' optio...

jgpp85 by Associate
  • 484 Views
  • 0 replies
  • 0 kudos

interupt TIM2 assenbler

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

STM8L DISCOVERY I2C

Posted on March 19, 2013 at 20:55Hello all STM comunity,First of all my apologies for my English, my language level is rather basic yet. That said, I will proceed to explain te reasons as I am writing this post.I am a Spanish estudent and I am devel...