STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How do I check the code size in STVD?

Posted on December 07, 2016 at 16:09Is it possible to check the program size in STVD? So I can choose the correct Flash size of the MCU for my application...#stm8 #code-size #stvd #cosmic

Compiling Spirit1 library for STM8l152 with a free toolchain?

Posted on November 30, 2016 at 20:46Hello,Has anyone had success using the Spirit1 library (provided as part of  http://www.st.com/en/embedded-software/stsw-connect009.html) in a project for an STM8 MCU using a free toolchain?The library was written...

Resolved! STM timer query

Posted on December 06, 2016 at 13:59We are working on a project based on timer in which we keep facing an error : symbol _TIM1_SetCounter not defined. We have included the header files as well. Thanks in advance.

What is it magic of COSMIC?

Posted on December 06, 2016 at 08:15Hello, Very interested, why needs code what marked bold? In the documentation, this bit is designated as insignificant.  163                     ; 28 __interrupt void _on_tick_(void) 163                     ; 29 {...

The impression of the STM8

Posted on November 09, 2016 at 05:10After spending a little comparative analysis of the code generated by the compiler  SDCC for various 8-bit microcontrollers, I was surprised. Efficiency STM8 outside of competition. In my opinion this is the best ...

Question to COSMIC compiler experts

Posted on November 29, 2016 at 21:19Hello, I briefly. How to implement critical section compatible with __monitor or __critical directives in other compilers? And how to pass the offset of stack of the local variables into inline assembler directive...

IAR STM8S103F3P6 SPI transfer

Posted on November 29, 2016 at 21:13There is a problem with the transfer on SPI how to track that this left?! Here is the function code for the transfer of bytes via SPI and a picture with a logic analyzer, circled in red, what confuses me is that f...

0690X00000602o7QAA.jpg
gafbich by Associate
  • 383 Views
  • 0 replies
  • 0 kudos

Problem with flash programming (SWIM) and memory protection

Posted on November 27, 2016 at 13:53Hi! I'm trying to implement a SWIM programmer using only the datasheets, for an STM8S003F3. I have got the basics working (swim entry, rotf, wotf, srst). An I've been trying to figure out how to actually program t...

mats2399 by Associate II
  • 591 Views
  • 2 replies
  • 0 kudos

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
  • 523 Views
  • 1 replies
  • 0 kudos