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

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

Need to modify a URC-6131, URC-6011, etc for JP1?this may help you

Posted on November 29, 2016 at 09:37If you have a store bought URC-6131, URC-6011 (aka URC-6012) or any other remote that needs an EEPROM added and you're thinking of modifying it yourself so you can program it using JP1, please read on. How do you ...

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
  • 753 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
  • 633 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
  • 1673 Views
  • 1 replies
  • 0 kudos