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

when dose the the update event occurs for TIM1 of stm8?????

Posted on August 07, 2015 at 15:24      In center-aligned mode, for odd values of RCR,for example RCR=1,when dose the update event occurs on the overflow and when occurs on the underflow for TIM1 of stm8????????????      Thank you very much!!!!!!!

STM8SF103 and keeping seconds

Posted on August 05, 2015 at 02:59Hi,I've been digging and researching how to keep the number of seconds in the system (i.e. system clock). On the STM32 it's quite easy as the clock counts into the 32bit (4x8) registers and you can load this with UT...

mitch by Associate
  • 510 Views
  • 1 replies
  • 0 kudos

What's your favorite C-Compiler? Why?

Posted on August 03, 2015 at 00:44What's your favorite C-Compiler for the STM8? What makes you prefer it over the others? What do you consider particularly important in a compiler? Philipp

A better workaround for the STM8 division bug

Posted on August 02, 2015 at 18:11The STM8 has a bug inits division implementation relating to the use of the undocumented bit 6 of the condition code register (see ''Unexpected DIV/DIVW instruction result in ISR'' in various STM8 errata notes). ST ...

Error in section 5.4.4 of the STM8 CPU programming manual

Posted on August 02, 2015 at 11:04The text claims that incw y writes x and thus Figure 12 shows a pipline stall at the following ld a, (x). But incw y does not write x, and in fact Figure 12 does not show a pipline stall. I suggest to fix this secti...

swim error [30003]: detected hardware not compatible with software

Posted on July 27, 2015 at 10:00Hello, i'm trying to programm a M24LR-DISCOVERY board over the ST-Link V2 of a NUCLEO-F401RE board. As IDE i use ST Visual Develop with cosmic stm8 32k compiler. When i try to start the debugger i get the following er...

nheitz by Associate
  • 868 Views
  • 0 replies
  • 0 kudos

Need help understanding a piece of example code.

Posted on July 21, 2015 at 02:27I have a modified an example code from a STM8S300 to run on a STM8S105c6 Discovery, to output to a LCD.   OK, it almost works, it compiles (using IAR workbench), it links, it loads into the STM8sDiscovery, but it hang...

machine cycles - for instruction

Posted on July 16, 2015 at 17:05hi there!i´m using the Cosmic c compiler and STM8S microcontroller.i can´t find this information:how many machine cylces this function takes?for(conta=0;conta<10;conta++);it´s seem to me that the ''for'' takes 6 cycle...