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

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
  • 1005 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...

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...

Linking issues when using @eeprom with Cosmic toolset

Posted on August 23, 2013 at 05:18My application builds fine until I add the @eeprom keyword to a declaration.  Now I get the following linker errors:#error clnk Debug\nos.lkf:1 symbol _FLASH_CR2 not defined ((C:\Program Files (x86)\COSMIC\CXSTM8_32...

COSMIC IdeaSTM8 32K Dev Tool

Posted on August 24, 2013 at 22:40Hello, I recently downloaded the IdeaSTM8-32k dev tool from COMSIC and have trouble saving newly entered C files.I can successfully compile and link the example code provided by COMSIC. When I attempt to include an ...

mark by Associate
  • 457 Views
  • 0 replies
  • 0 kudos

Moveable Code Feature : Change rom location

Posted on August 23, 2013 at 02:54Hi sir,        we have a project. This issue is that one project include application code and bootloader code.We already study the COSMIC datasheet about the Moveable Code feature. But we can’t find that how to chan...

robinsen by Associate
  • 372 Views
  • 0 replies
  • 0 kudos

STM8L SWIM pin set up?

Posted on August 20, 2013 at 13:43How should PA0 be set up for the SWIM interface? Input? Output? Shake it all aboutput?Pretty fundamental Q I'd have thought, but I can't find any info'.plenty of fatuous 'Overviews' about SWIM but little useful info...

CAN Rx interrupt sometimes misses one

Posted on May 02, 2013 at 15:12I am using a STM8S208CB in an embedded device on a CAN network. I have initialized the CAN to use an external 8MHz crystal, 250k baud, and enabled the FIFO message pending interrupt. I have my interrupt function proces...

Minimum Interrupt Pulse Width?

Posted on August 12, 2013 at 07:22I am looking at using a STM8S003K3 microcontroller.When a port pin input is configured as an edge triggered interrupt what is the minimum pulse width?  Is this a true edge trigger or is it sampled?I am trying to sav...