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 STVD coding help needed

Posted on May 27, 2015 at 14:04hello again, how to do bit handling in STVD for STM8s for ex i want to set PA1 = 0 or CEN = 1, enable timer1. i dont see any header file supporting the same. please give me some examples.thank you #bit-handling #stm...

kumaresh by Associate II
  • 701 Views
  • 1 replies
  • 0 kudos

ST8 STVD simulator help needed

Posted on May 27, 2015 at 11:21hello, i am trying to understand how plotter works on STVD simulator. when i go in simulation mode and Select 'View>I/O Stimulation' , i dont see any pin name like PA1 or PD1 etc and i can only see RESET, IRQ1 to IRQ29...

kumaresh by Associate II
  • 633 Views
  • 1 replies
  • 0 kudos

I2C Slave

Posted on May 17, 2015 at 21:28I've been trying to work out how to make the STM8S act as an I2C slave and to be honest I'm failing.  I think I've set everything up according to the reference manual but for some reason I'm not getting the expected in...

Nevyn by Associate II
  • 2266 Views
  • 3 replies
  • 0 kudos

STM8S003k3 EXTI interrupt double entering problem

Posted on May 22, 2015 at 18:54 Hello i have some problem withSTM8S003k3 and IR recieve protocol. I set EXTI PORTB interrupt by RISE and FALL: GPIO_DeInit(GPIOB); GPIO_Init(GPIOB, GPIO_PIN_2, GPIO_MODE_IN_FL_IT); disableInterrupts(); EXTI...

STM8S: cannot communicate with ROM Bootloader!

Posted on May 11, 2015 at 14:12Hi, we are trying to program a STM8S-Discovery, fitted with a STM8S105x6 microcontroller, using the native bootloader (via USART1 pins). We disconnetted the onboard ST-Link by removing R13-R14 resistor. We are usin...

STM8S003F3 Timer Issue

Posted on May 20, 2015 at 23:52Hey guys, I recently wrote some code to turn on Timer1 channels 1-3 and Timer2 channel 1 as PWMs to pulse a few LEDs. This code was originally written for the STM8S003K3, but I am now trying to switch over to an STM8S0...

cfleck by Associate II
  • 457 Views
  • 0 replies
  • 0 kudos

STM8L MCU interface to ST-LINK/V2 programmer

Posted on April 30, 2015 at 01:32First time using an STM8L MCU.  I am drawing a schematic and I am not sure if my programming connector is wired right.  I will use an ST-LINK/V2 programmer.  Do I simply connect the 4-pin connector as shown below?  P...

0690X00000602m6QAA.jpg
jmm385 by Associate
  • 721 Views
  • 2 replies
  • 0 kudos

STM8S003k3 TIM1 PWM problem

Posted on May 08, 2015 at 15:44Hello every one. I have a workable code of pwm on STM8S105K4T6 and now I paste it in STM8S003k3 fnd it won't work.&sharpdefine CCR1_Val  ((u16)2047) // Configure channel 1 Pulse Width Blue&sharpdefine CCR2_Val  ((u16)2...

STVD: Preserve EEPROM

Posted on May 05, 2015 at 15:59How can I preserve the EEPROM contents when debugging my application on the STM8S003?I use STVD and either the STLink/V2 or the RLink.

Implement one wire slave ?

Posted on January 30, 2013 at 15:12Please can you tell me how to implement one wire slave in stm8s ?Note: the one wire master is GPS TELTONIKA FM1100 #1-wire