STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Interrupt at DIVW and DIV

Posted on September 19, 2013 at 11:21Hi, today I have a very special question: I read in the programming manual, that the instructions DIV an DIVW are interruptible. What exactly happens, when an interrupt occurs while calculating is active  - with ...

STM8L serial half duplex problem

Posted on May 16, 2013 at 08:18Hi, I have a problem with USART half duplex.  The output from my STM8L device is too strange. The first half (about 10 bytes) is from host.  My device can receive this well.  After that, the host is wait to receive the...

0690X00000604zlQAA.png
sawa by Associate
  • 384 Views
  • 2 replies
  • 0 kudos

Which C compilers are there for the STM8?

Posted on September 02, 2013 at 20:10I know of sdcc, Cosmic C, Raisonance. Apparently, there also is ST8CC, but it seems to lack documentation, and seems to only support some restricted subset of C. Are there any other C compilers targeting the STM8...

Can't option byte programming

Posted on August 06, 2013 at 15:27Hello! I'm can't programming option byte in the stm8s105c6t6 into my board stm8s-discovery. This code:  mov FLASH_DUKR,♯$56;  mov FLASH_DUKR,♯$AE;  ld A,♯%00001100; IWDG_HW and LSI_ EN set  ldw X,♯$4805  ld (X),A  i...

skef2009 by Associate
  • 376 Views
  • 2 replies
  • 0 kudos

Looking for an STM8 evaluation board with 6K of RAM

Posted on September 02, 2013 at 20:05So far I have used an STM8L-discovery, but the 1K of RAM is not enough any more. I need 6K. Otherwise I just want an LED or two, some GPIO and a serial port. Any recommendation? Philipp P.S.: There is this STM8/1...

Using GPIO Library

Posted on February 12, 2013 at 23:04I'm learning how to use ST micros (after years of using PICs) and I am struggling to integrate the GPIO files. I added the stm8s_gpio.c to my project and this fixed the UNRESOLVED EXTERNAL errors however now I get...

Pointer indirect long addressing mode not very useful?

Posted on September 03, 2013 at 12:25Yesterday I had a look at the pointer indirect long addressing mode. It seems this one is useful only when register X is in use for other purposes: Loading into a: ldw x, $5000 ld a, (x) vs ld a, (($5000) Both ha...

Brand-new STM8S207K6 pulls reset low

Posted on July 09, 2013 at 09:22Hello, I'm trying to get a first program on a bunch of new STM8S207K6 but the device does not answer. It seems like the reset pin is pulled low by the controller and the programming tool keeps telling me ''Error: Cann...

Cosmic compiler (4.3.9) _checksum16 or _checksum16x Problem

Posted on August 30, 2013 at 22:12I use the Cosmic 4.3.9 compiler(32K free) with the built in functions _checksum16() or _checksum16x().  When my program memory cross over the 0x10000, these functions become unreliable.  Before crossing 0x10000, eve...

mtien888 by Associate II
  • 157 Views
  • 0 replies
  • 0 kudos

Problem with STDV to create a project with STM8L052C6

Posted on August 30, 2013 at 12:01Hello, i have already installed the development environment ST Visual Develop rel. 4.3.1 already used for the processor STM8L151C4 with the c compiler Cosmic 4.3.9 Now i have to use the processor STM8L052C6 but in ...

alberto by Associate
  • 185 Views
  • 0 replies
  • 0 kudos