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

STM8 toolchain

Posted on April 09, 2008 at 09:38STM8 toolchain

fggnrc by Associate II
  • 1021 Views
  • 6 replies
  • 0 kudos

can't set tim1 PWM of stm8

Posted on May 17, 2011 at 10:56I would like to check pwm signal but it don't find any signal  help me please #include ''stm8s.h'' void main(void) { CLK->SWR = 0xB4 ; while((CLK->SWCR&0x08) == 0){}; CLK->SWCR&=0xF7; CLK->SWCR |= 0x02 ; CLK->CMSR = 0x...

e_m_inem by Associate
  • 564 Views
  • 1 replies
  • 0 kudos

Starting Stm8s GPS speed device

Posted on May 15, 2011 at 19:19Hello, At the beginning, I must say that I am a beginner in microcontrolers... I have to project GPS speedometer device based on stm8s discovery, LCD(nokia 3310), GPS module and some kayboard, I have all the parts, but...

UART2 Interrupt

Posted on June 24, 2010 at 10:36Hello i'm port uart2 polling receive data from hyperterminal it's ok. but i need use uart2 receive data with interrupt?   TIM3_DeInit();     TIM3_TimeBaseInit(TIM3_PRESCALER_1,0xFFFF);    TIM3_ITConfig(TIM3_IT_UPDATE...

uthenb by Associate II
  • 652 Views
  • 3 replies
  • 0 kudos

UART Problem - Garbage characters in UART Example/Demo

Posted on April 24, 2011 at 23:47Hi.Today I started playing with the STM8-DISCOVERY board, and I tried the RS232/UART example from your website: http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/um0884.zipAfter having installed...

tkjmail2 by Associate II
  • 1285 Views
  • 3 replies
  • 0 kudos

STM8L1526 EVAL ST-LINK USB DRIVER

Posted on May 06, 2011 at 10:10Where can I find USB driver for STM8L1526 Evaluation board on Windows XP machine to connect as ST-Link.

pradeep by Associate
  • 378 Views
  • 0 replies
  • 0 kudos

From AVR (AVR-GCC) to STM8 with STM8S-Discovery

Posted on May 05, 2011 at 16:31Good day! I'm writing my first project with STM8. Here are a couple of questions: - AVR-GCC has a convenient attribute PROGMEM (http://www.nongnu.org/avr-libc/user-manual/pgmspace.html) to store data (for example big a...

artvolk by Associate II
  • 546 Views
  • 0 replies
  • 0 kudos

SPI Slave Mode Clock Settings

Posted on April 29, 2011 at 14:46Hi, is it required to setup the prescaler in SPI slave mode? And why can i scope a clock of 1Mhz, if i set a prescaler of 2 (f_Master/2) in master mode whereas i have an oscillator of 16Mhz. (standard STM8S-Discovery...

tnn1985 by Associate II
  • 1054 Views
  • 1 replies
  • 0 kudos