STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8L152C6T6 EEPROM erasing problem.

Posted on April 24, 2012 at 10:20Dear everyone,When the updating stm8l make use of the swim , Everytime the EEPROM data was erased. I don't know this cause.The download tool is RFasher7. Of course was disable the Erase EEPROM option in this tool.

hansung by Associate
  • 344 Views
  • 2 replies
  • 0 kudos

howto interface 1 wire device with stm8s003f3

Posted on April 23, 2012 at 14:43hi,I am trying to interface the peripheral using 1 wire communication using gpio pin of stm8s003f3 facing some problem after enabling and sending adress need to read ack i facing difficulty here to recive ack using p...

pushpa by Associate
  • 245 Views
  • 0 replies
  • 0 kudos

generate PWM

Posted on April 23, 2012 at 09:18hi all i'm newbie i just start stm8s105c6 by generate PWM from TIM1 4channels from the stm8sfwlib example >>TIM1_7PWM_Output see this code  #include ''stm8s.h'' /**   * @addtogroup TIM1_7PWM_Output====i need outpu...

zea by Associate
  • 402 Views
  • 0 replies
  • 0 kudos

Programming STM8S via USB

Posted on April 16, 2012 at 09:13Hi,Is it possible to program stm8s mcu s via comport/usb with interface card(maybe max232 chip etc.)?I dont need debugging.Programming will be ok.What should I do for that?Can I use STVP with my custom interface boar...

STM8S Discovery and CCO

Posted on April 14, 2012 at 11:40 I am new at this so please be gentle with me :) I am struggling to get the CCO pin to output the current clock frequency and I'm struggling. I have checked out the examples in the STM8S library (version 2.1), in...

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

eliminate unused functions out of linked file

Posted on April 04, 2012 at 14:17Hi, I'm using COSMIC's CXSTM8 in STVD environment. My Problem: With my last Compiler/Linker I was sure, that unused procedures automatically were not linked to the resulting file. Now I am rather short of programm m...

UART2 RX TX initialization-how to use?

Posted on December 14, 2011 at 22:47Hello, I have problem with initialization UART2 in my project(STM8S105). Below you can see part of my code, what am i doing wrong? I'm trying to send sign to LCD display. ...void UART2_Cmd(FunctionalState ENABLE);...

Using GPIO pins for additional I2C ports

Posted on March 26, 2012 at 22:26Has anyone come up with a way to use GPIO ports as I2C? My current app uses an external I2C mux to make three I2C channels. I would like to replace this HW with independent I2C output from the STM8. So I would have t...

How to use LSE as clock source of TIM1 or TIM2/3/5 or TIM4

Posted on March 05, 2012 at 03:59If it's possible to use LSE as the clock source of TIM1 or TIM2/3/5 or TIM4 ?Use LSE as external trigger of  TIM1 or TIM2/3/5 or TIM4 is accepted too, if possible please share some code sample. #stm8-timer-lse

lzyos by Associate II
  • 753 Views
  • 2 replies
  • 0 kudos

Can't get I2C working

Posted on March 15, 2012 at 05:57I'm trying to get I2C working, I've verified I can manually toggle the pins at 400KHz with a pull up resistor. I can't seem to get the I2C code to work correctly though.    input_clock = CLK_GetClockFreq()/1000000;  ...

drebbe by Associate II
  • 387 Views
  • 0 replies
  • 0 kudos