STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 1948 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
  • 389 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
  • 669 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
  • 563 Views
  • 2 replies
  • 1 kudos

STM8LFlash Block Programming

Posted on August 22, 2017 at 08:53I'm use STM8L152R8.I should be firmware upgrade using this cpu.But, I have some problem as below...Byte programming and word programming is no problem as belowFLASH->CR1 = 0; // Standard programming Time (EEPM, WAIT...