STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8S/A Standard peripheral library usable for STM8L?

I have a new design that uses an STM8L151 and I was wondering if the STM8S/A Standard peripheral library can be used to design the code for it.I do realise that at least the stm8s.h should be modified, but can it be used at all?

TIM1 registers read errata

Posted on January 09, 2017 at 10:00 So, info in reference manual is irrelevant? The read should be always done as: ; Read Seq_1 ld A, TIM1_REGH; ld XL, TIM1_REGL;�?�?�? ? Will the following sequences lead to incorrect results? ; ...

0690X00000605XvQAI.png

Resolved! STM8S001J3: Unable to communicate with the device

I am trying to program the STM8S001J3 microcontroller, on a custom board. I am using ST Visual Programmer tool for flashing the program but I’m running into the following error continuously.I have tried using both ST-Link/V2(A) and ST-Link/V2(A) ISOL...

samruddhi_daithankar_0-1720694091131.png samruddhi_daithankar_1-1720694091159.png

Resolved! Documentation/Path for learning STM8S

Hello community,I'm looking for materials to learn STM8S programming.I searched on the internet but I couldn't find anything. Can you recommend me any documents or links to learn, please?Thank you all!

Minh by Associate II
  • 1709 Views
  • 12 replies
  • 13 kudos

Unable to generate a PWM pulse

I am using the ST discovery board, which has STM8S003K3. I have written a code that generates a PWM pulse when ADC senses that the input voltage is higher than a threshold value. I have tested this program with a Potentiometer and verified the wavefo...

COMPILATION PROBLEM - "symbol multiply defined"

Posted on October 31, 2013 at 10:13   I am using STM8S 105C^Discovery with a Windows 8 Laptop. I tried to compile some example codes using Cosmic C Compiler with an Evaluation Key, but I got some errors.  Here is the message I got ===================...

ebotsmith by Associate II
  • 2090 Views
  • 4 replies
  • 2 kudos

Can't get stm8s003f3p6 to work with LCD1602!

Hello there! I am trying to get an stm8s003f3p6 to display text on an LCD1602 the LCD has the adapter board PCF8574 on it.I'm using STVD and cosmic C compiler. I used chatgpt to write the code and after quite a bit of tweaking i got it to compile and...

PCF8574-IIC-I2C-TWI-SPI-Serial-Interface-Board-Top.jpg
ram80 by Associate
  • 351 Views
  • 1 replies
  • 1 kudos

Not able to print Floating Values using STM8S103F3P.

I am doing a Current, Voltage Measuring project using INA219 Current Sensor and using STM8S103F3P Mini Development Board. And monitoring the data in Serial Monitor. But I am not able to read/write Floating Values. For Eg: Multimeter is measuring 21.2...

Assembler examples requested

I am new to STVD. I would like to make some assembly level programs. Is there any assembly example programs ? please help

joseateg by Associate
  • 372 Views
  • 2 replies
  • 0 kudos