STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Register Bit Definitions

Posted on May 22, 2014 at 13:09Dear All,I've been discovering STM8 core capabilties and properties for a while. I've had a chance to read datasheet for STM8L152. But I couldn't find detailed register info. For instance, CCR (Condition Code) register...

batu by Associate
  • 257 Views
  • 2 replies
  • 0 kudos

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
  • 465 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
  • 363 Views
  • 1 replies
  • 0 kudos

STM8L101 ACTIVE-HALT

Posted on May 16, 2014 at 21:10Hello. in stm8L101 set this parametre for set auto wake up for 3.4s but after execute halt auto wake up dont work and stay in halt . how set parametr for work it?  tanks       AWU_CSR|=0x10;       AWU_TBR=0x0D;       A...

s_m_t_b by Associate
  • 258 Views
  • 0 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
  • 285 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
  • 413 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
  • 242 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
  • 308 Views
  • 0 replies
  • 1 kudos