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

STM8s003F3_I2c not working

Hey,i didnot find any AFR4 in option byte to set PB4-SCL and PB5-SDA of STM8s003F3. Can st will help how to enable it for I2c hardware peripheral.?

BAS-BLEU by Associate III
  • 58 Views
  • 4 replies
  • 0 kudos

Resolved! Is STM8 recomendded for beginners?

I have experience with PIC and AVR microcontrollers, but they lack the good debug features of the STM8 series. Furthermore, these microcontrollers aren't cheap. While looking for simple and inexpensive chips, I keep coming across the STM8 series.Mast...

rabbi141 by Associate
  • 2284 Views
  • 9 replies
  • 11 kudos

stm8s003 timer1 as a delay timer

Hi, I am trying to use timer1 as a delay timer , but I cannot  seam to get the timer working, what am I doing wrong? following is the code for testing timer1 with overflow Interrupt. #include "iostm8s003.h"#include <stdint.h>/* ===================== ...

pdinar by Associate
  • 110 Views
  • 1 replies
  • 0 kudos

STM8S pwm capture does not work

Hallo.I want to measure a pwm-signal (period 20ms, Puls 1,5ms +- 0,5ms)I made a assembler program to capture the positive and negative transitions of the signal according the RefManual RM0016, Rev14, page 170.I tried various versions but the negative...

STM8AL3168 EEPROM/Flash questions

HelloI have a few questions about the EEPROM organization & specific corner cases of using with respect to programming manual.1) What is the exact organization of EEPROM? It is clear that it can be written with 1 byte, 4 bytes (word) and 128 bytes (p...

Nebokhodenko_0-1761737127566.png

ST Visual Develop crashing and can't see programmer

HelloThe link provided on this solution is brokenST Visual Developer says ''out of memory'' and cra... - STMicroelectronics CommunityMy tool is crashing every time I open Tool->ProgrammerAlso tools are greyed in MCU selectionI'm testing on Nucleo boa...

Ironpretzel_0-1762437217483.png

stvp issue on win 10 when programing stm8

hello , i have an issue regarding stvp . before i used stvp on windows 7 and everything was working fine , but now i made an upgrade on windows 10 and it stops working. the error is ,,Cannot comunicate with the device .Check the swim cable .....'' If...

andrei17 by Associate
  • 276 Views
  • 1 replies
  • 0 kudos

STM8L052R8 I2C COMMUNICATION FAILURE

#include "stm8l15x.h" #include "stm8l15x_i2c.h" #include "stm8l15x_clk.h" #include "stm8l15x_conf.h" #define I2C_SPEED 100000 // 100kHz #define SLAVE_ADDR 0x27 void I2C_Config(void); void I2C_SendChar(uint8_t slave_addr, char ch); int main(v...