STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 564 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
  • 948 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
  • 969 Views
  • 2 replies
  • 0 kudos

IAR EWSTM8 problem: filename strings in binary output executable

Posted on February 09, 2012 at 20:15I'm using IAR EWSTM8 1.30.2 Kickstart to compile a STM8S003F project. USE_STDPERIPH_DRIVER is defined and I use the library. The software works fine, but I have seen in the output executable (HEX, binary, ELF...) ...

STVD 4.3.1 : swim error [30103]

Posted on February 09, 2012 at 11:57Hi, I'm running windows 7 64 bit, my target is STM8S103F2U. STVD gives me this error when trying to debug: ''failed to download application: error: swim error [30103]: rlink communication error''.    Rlink does no...

STM8S003F3 & GPIOA

Posted on January 19, 2012 at 10:27Hello.I am new for this CPU. I use the discovery board to test my SW.I use 3 pin on GPIOA pin 1 2 and 3:GPIO_Init(THRUSTER_STATE, BOW_STATE , GPIO_MODE_IN_PU_IT); // PullUp input with interruptGPIO_Init(THRUSTER_ST...

Hello world example

Posted on December 30, 2011 at 16:00 Hi there ! I am a newbiein ST microcontroller. 1) Tobeginning, I bought : * A http://www.st.com/internet/evalboard/product/251jsp (with a stm8l101K3 MCU) * A http://www.raison...

gege089 by Associate
  • 1163 Views
  • 2 replies
  • 0 kudos

stvd ver 4.3.0 not open file of project

Posted on January 05, 2012 at 18:31regards to all. I have installed stvd ver 4.3.0 and free cosmic C compiler,the problem is that  i can notopen anyfiles of the project to edit,the IDE hangs with lost functionality. There is a solution to this probl...