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

Generate beep on STMT/8L-EV1

Posted on May 15, 2014 at 20:15I have the STMT/8L-EV1 and I'd like to generate a 4KHz beep sound when one of the directional buttons is pressed.  Seems straight forward but I'm not sure how to implement it.  I've tried just using and turning the GPI...

connor by Associate II
  • 1425 Views
  • 5 replies
  • 0 kudos

Bit set/reset timing

Posted on May 18, 2014 at 09:52I am doing some work which requires precise timing and I think the STM8S can do what I need.  In order to prove this I setup a simple program which toggles PD0 in a while loop.I am using the IAR compiler and it compile...

Nevyn by Associate II
  • 893 Views
  • 1 replies
  • 0 kudos

Activation Level

Posted on May 07, 2014 at 02:56I'm using the STM8L101F3 with IAR. I would like to set and clear the Activation level bit. There is no library function to access this and I'm not sure how to access this register from code. Looking at iostm8l101f3.h, ...

bluscape by Associate III
  • 633 Views
  • 1 replies
  • 0 kudos

Stm8 touch library

Posted on May 07, 2014 at 09:18I intend to implement a single touch key using stm8 touch library. I am having few issues regarding this.I haven't used the shield concept for noise immunity, so what does a need to define for : SCKEY_P2_DRIVEN_SHIELD_...

STM8s Touch library

Posted on May 07, 2014 at 09:00I intend to use the stm8s touch sensing library, can someone tell me the significance of SCKEY_P1_DRIVEN_SHIELD_MASK , given in the stm8_tsl_conf.h file.Thank you #stm8s-touch-sensing #stm8s-discovery

STM8L151F3 Bootloader

Posted on June 24, 2013 at 13:13Hello! Have anybody any information on bootloader interface configuration for I couldn't find direct instructions on port connections. I assume they should be PC2 and PC3 pins (due to SYSCFG->RMPCR1 default value) but...

beatle7 by Associate
  • 782 Views
  • 1 replies
  • 0 kudos

STVD And Cosmic And assert() Macro

Posted on May 05, 2014 at 08:50If I get...  #error cpstm8 pins_stm8s.c:28(4) missing prototypeon an...  assert( pPin->pPio == GPIOA );even though the file contains...  #include <assert.h>what have I missed/messed?Thank you.

Workalot by Associate III
  • 511 Views
  • 1 replies
  • 0 kudos

STVD - ''Go to Definition Of'' problem

Posted on April 28, 2014 at 17:10Hello, I have installed STVD 4.3.5 with Cosmic STM8 32K Special Edition Free license. I have a problem using feature: Go to Definition Of ''something''. When I try to click this on some function or variable error mes...

bogusz by Associate II
  • 603 Views
  • 0 replies
  • 1 kudos

Develop STM8L on Discovery Board?

Posted on August 02, 2013 at 10:48I've got an STM8L Discovery board, but I've decided to use the STM8L101 chip. Is this chip a subset of the STM8L152C6T6 used on the didcovery board? Does the swim use the same IO port/pins on both chips? Or do I nee...