STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

IAR Sample code for STM8S103F3

Posted on March 14, 2012 at 13:25I am unable to understand the IAR files involved in developing an application for STM8S103F3. Specifically, the files involved for interrupts and where to write the ISR for the interrupts, when using the IAR IDE. Fur...

rnd2 by Associate
  • 299 Views
  • 0 replies
  • 0 kudos

USART and DMA

Posted on March 14, 2012 at 09:50 /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/ #ifdef USE_STM8L1526_EVAL /* define the DMA par...

senmeis by Associate
  • 320 Views
  • 0 replies
  • 0 kudos

TIM1 counter

Posted on March 08, 2012 at 20:57 Hello, I try measure frequency 50-500Hz. I use STM8S-DISCOVERY KIT with STM8S105C6T6 and FWLib. How initiate the appropriate timer and which port to use? #include ''stm8s_con...

STM8S I2C library

Posted on February 15, 2012 at 20:16Is there any good library to manage the STM8S I2C peripheral running as a slave?I have tested some examples and I'm having many problems in noisy environments, the bus is busy but both slave and master wait for th...

using TIM1 TRGO to start adc conversion

Posted on November 22, 2011 at 16:17hello, I'm trying to trigger the ADC1 with the TRGO signal of TIM1, here is the code that I,m using to configure the timer: TIM1_DeInit(); TIM1_TimeBaseInit(128, TIM1_CounterMode_Up, 62500, 0); TIM1_SelectOutputT...

giu by Associate II
  • 686 Views
  • 1 replies
  • 0 kudos

RTC not work

Posted on March 09, 2012 at 04:26Hello all, I connected crystal 32.768 khz to pin C5,C6 of stm8l151. I want to use RTC-calendar but look like crystal not work.   /* Enable LSE */   CLK_LSEConfig(CLK_LSE_ON);   /* Wait for LSE clock to be ready */   ...

np1 by Associate II
  • 314 Views
  • 1 replies
  • 0 kudos

STVD Debuger error

Posted on December 08, 2011 at 15:57In debugger STVD permanently there are failures. Only reboot helps

0690X00000602iOQAQ.jpg

How to erase not empty STM8L151 device ?

Posted on March 06, 2012 at 19:36I want the device  to be ''like a virgin''. I've tried STVP but erase option is  not visible there. Why?What is another method to erase the chip ? Is that possible to be done by EWSTM8 of IAR ?Thanks,E.L.

elil by Associate III
  • 374 Views
  • 2 replies
  • 0 kudos

Bootloader in STM8L151C8 (64k)

Posted on March 06, 2012 at 19:40Has anyone here tried to program STM8L device with embedded Bootloader ?I fail to do that.Read-out protection is off. Bootloader is enabled. I send SYNCH word(0x7F) within the required time period(1sec) after the res...

elil by Associate III
  • 247 Views
  • 0 replies
  • 0 kudos

What could be an application of COMP1 in STM8L ?

Posted on January 14, 2012 at 21:56Hello,STM8L has 2 comparators: COMP1and COMP2. COMP2 is very useful as it has an ability to get any desired threshold: either internal or external. The only threshold for COMP1 is internal Vref, so I'm wondering wh...

elil by Associate III
  • 425 Views
  • 4 replies
  • 0 kudos