STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 758 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
  • 357 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
  • 458 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
  • 278 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
  • 540 Views
  • 4 replies
  • 0 kudos

Cosmic / STVD / Memory use and allocation

Posted on June 16, 2011 at 07:38Good day, I've started some time ago with the STM8S Discovery, STVD and Cosmic limited to 16k. I'm now at the point where i need to answer the following: - How can I check how much memory space on the chip is being us...

nholzem by Associate II
  • 798 Views
  • 3 replies
  • 0 kudos

Output a library

Posted on February 27, 2012 at 17:05Hi, I'm using ST Visual Develop 4.3.0 to write code for an STM8L. Is it possible to set-up a project so that its output is a library rather than a hex file? I've got driver code that I'd like to use in a different...

Problems with JP and CALL instructions

Posted on September 07, 2011 at 15:38When the JP instructions jump less than 92H I haven't any problem, but if it jumps more than 92H the JP and Call command do not work properly. I am sure to be in the same section because I use STM8S105C6. Example...

I2C Problem - read / write

Posted on February 14, 2012 at 04:33Hi All,    I have problem with my I2c while communicating with Gyro, i have configured my micro as master mode with standard mode , Some times SCL and SDA go low after i receive some bytes from gyro. i am using ST...