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

STM8S001J3 I2C: Nothing happens

Posted on September 11, 2017 at 15:06 I'm trying to get I2C to work, but nothing happens on either SDA nor SCL. I've connected the STM8S001J3 like so: Pin 5 SDA Pin 6 SCL (There are pull-ups on both of the lines) 1. I initialize t...

Resolved! stm8l adc

Posted on August 31, 2017 at 09:46Hi guys, may some expert please help me? I am new to stm8l. I am currently using the chip stm8l151k4t6. I have connected battery voltage to pin D7, purpose of it is that i wanna monitor the status of the battery whi...

dion  tan by Associate II
  • 2645 Views
  • 6 replies
  • 0 kudos

I2C peripheral (STM8S005C6) unable to detect stop event

Posted on September 05, 2017 at 22:17I2C peripheral of STM8S005C6 stop event interrupt not triggered:Using an external device (verified to be working), I generate an I2C signal (100KHz) to communicate withSTM8S005C6program as aslavereceiver with the...

0690X000006088MQAQ.png

I2C peripheral (STM8S005C6) not working

Posted on August 29, 2017 at 16:39*******************************I2C peripheral of STM8S005C6 not working******************************************I2C peripheral of STM8S005C6 does not jump to interrupt service routine:                  INTERRUPT_HA...

0690X000006083WQAQ.png 0690X000006083NQAQ.png

Problem using Touch library with STM8S003K3.

Posted on September 01, 2017 at 20:30Hello all,I am using STM8S003K3 for my appplication with STVD IDE and Cosmic compiler and using Touch Library for my application.I have added touch library in project and configure it as to work with STM8S003K3.I...

P. S. by Associate
  • 499 Views
  • 0 replies
  • 0 kudos

Beep Function in STM8S003k3

Posted on September 30, 2015 at 05:06Dear AllI have a STM8S Discovery board. I want to config PD4 with Beep function./*Initialize PD4 for beep signal */GPIO_Init(GPIOD, GPIO_PIN_4, GPIO_MODE_OUT_PP_HIGH_FAST);BEEP_Init(BEEP_FREQUENCY_1KHZ);BEEP_Cmd(...

cv-chung by Associate
  • 931 Views
  • 2 replies
  • 0 kudos

SPI problems about STM8S103

Posted on August 28, 2017 at 10:24Good afternoon~everybodyI use STM8S103 to be the Slave device of SPI. However, I don’t know why all the interrupt of STM8 received is 0*1 instead of the right data? This is the http://www.kynix.com/uploadfiles/pdf...

STM8L Flash Programming

Posted on August 22, 2017 at 09:15I use STM8L152R8..I test flash programming... But, now some problem exists...Byte programming and word programming is no problem.But, i use block programming then CPU halted.....#pragma location = 'FLASH_CODE'void M...

STM8L151K4 Touch Sensing Problem

Posted on August 22, 2017 at 05:28I have a problem with touch sensing on STM8L151K4, It is impossibe to increase number of touch key to 12.I use sample project in STM8L_Touch_Lib and re-config the channel in 'tsl_user.h'. It work if i configure 6 ke...

Dinh Vo by Associate
  • 780 Views
  • 2 replies
  • 1 kudos