STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8 application crashes after adding some unused functions

We are building code for our STM8S208RB (using SDCC), and we have noticed some behaviour we can't explain.We first observed that our program suddenly stopped working after we included a new file that contained some functions, but none of those were a...

mvq by Associate
  • 301 Views
  • 0 replies
  • 0 kudos

Resolved! stm8s cannot edit SPL file in project

As the subject mentions, I have a project in ST Visual Develop and I added the SPL files to the same location as the project. Once I add the files to the project and try to uncomment my specific stm8 it simply doesnt let me. I try editing the other f...

sebbs by Associate II
  • 519 Views
  • 1 replies
  • 0 kudos

Programming ST72C334N4B6

Does anybody know if there is any piece of equipment that’s currently available that can be used for copying/programming this chip?

Twovend by Associate
  • 430 Views
  • 1 replies
  • 0 kudos

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
  • 2111 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...