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

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
  • 1095 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
  • 515 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
  • 859 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
  • 914 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...