STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 356 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
  • 236 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
  • 393 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
  • 603 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...

rtc

Posted on February 23, 2012 at 23:15HelloI'm using STM8l discovery kit ,and I want to use RTC to have real time of some events,but I want to get accuracy of millisecond not just second(I dont find anything about it in RTC lib),how can I have it?

kaposh1 by Associate
  • 361 Views
  • 0 replies
  • 0 kudos

stm8 FFT ASM optimized function

Posted on February 21, 2012 at 12:20I plan to do 8bit 128 samples FFT with STM8 16Mhz MCU. For my application? only 14 ms for FFT.Does ST offer STM8 FFT module, or anyone can guide me to the optimized STM8 FFT software module.   #stm8-fft-asm

lzyos by Associate II
  • 544 Views
  • 0 replies
  • 0 kudos

Counter TIM4

Posted on February 13, 2012 at 16:01Hi! I have a probem with a simple software that I've wrote to learn to use timers.This is the code that I've used.&sharpinclude ''stm8l15x.h''main(){   TIM4_DeInit(); TIM4_TimeBaseInit(TIM4_Prescaler_2048, 200); T...

karl246 by Associate
  • 668 Views
  • 2 replies
  • 0 kudos