STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8S I2C master crashing on I2C_GenerateSTART(ENABLE);

I am trying to run example code for i2c master and slave, provided in Stm standard peripheral library from https://www.st.com/en/embedded-software/stsw-stm8069.htmlBut the master keeps crahing at I2C_GenerateSTART API call.I2C_ITConfig enableInterru...

SSaro.1 by Associate II
  • 420 Views
  • 0 replies
  • 0 kudos

Problem with Compiling SPL library files in STVD

Hello Everyone,actually iam new these STM8 microcontrollers and i have been trying the basic peripherals, in that process i have started with UART and i tried to compile all the Standard SPL library files and having this error please help me-PFA-Than...

0693W000008wyBbQAI.jpg
RRaje.1 by Associate II
  • 1510 Views
  • 8 replies
  • 0 kudos

Problem with SPI communication with MAX31855K from STM8S103F3

Hi all,I am trying to read temperature data from MAX31855K over SPI, using STM8S103F3 on a breakout board.Development set up is STVD, STVP and Consmic compiler. And using STM8S Standard Peripheral library.Here is my max31855.h:#ifndef MAX31855_H #def...

Timing a button press on STM8S001J3

I'm trying to measure the duration of a button press using TIM2 as a counter. I have one of the buttons triggering an interrupt which enables the timer on the positive edge, and then calls TIM2_GetCounter() on the negative edge.I'll save you all a bu...

jlc3 by Associate
  • 327 Views
  • 0 replies
  • 0 kudos

STM8S programming - No Toolchain!

Posted on June 14, 2018 at 09:51Hi,I want to use stm8s003f3 in my project. I was under the impression just like stm32 the ide and tool chain might be easily available. However, the same was not the case. I installed STVD as my IDE and wanted standar...

confusion in stm8s_eval_i2c_ee.c of STM8S_StdPeriph_Lib

Posted on April 09, 2018 at 17:29As a detailed look into STSW-STM8069 / STM8S_StdPeriph_Lib v2.2.0 : http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm8-embedded-software/stsw-stm8069.html, the Utilities/STM8S_...

Bug in GPIO_WriteBit() function in STM8L Library???

Posted on July 29, 2016 at 18:11I have been using the GPIO_WriteBit() function to set/reset pins, but found it not working. The same function by register worked fine.Example:GPIO_WriteBit(GPIOB, GPIO_Pin_4, RESET); // this does not work!?GPIOB->ODR ...

buzzbuxx by Associate
  • 418 Views
  • 1 replies
  • 0 kudos

StdPeriph_Driver for STM8AF6223

Posted on May 10, 2017 at 18:25I use the IAR embedded workbench IDE (version 2.20.2)I have to change  the project from STM8S003 to STM8AF6223.in the project options i have set the correct device and added the file stm8s_tim5.c and deleted the file s...

Fix case sensitvity of HSE_Value in the STM8S_StdPeriph_Lib

Posted on February 15, 2017 at 11:09 In the STM8S_StdPeriph_Lib's stm8.h file there is a section: #if !defined HSE_Value #if defined (STM8S208) || defined (STM8S207) || defined (STM8S007) || defined (STM8AF52Ax) || \ defined (STM8AF62Ax) #d...