STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How and when to use some functions of ADC - STM8L052C6

Hello guysI am learning to use the peripheral ADC on uC called STM8L052C6 of the family STM8L , i have already read the chapter about ADC in the reference manual and in the datasheet. I read also the library about ADC, i mean the file .c and .h.Ther...

NMart.4 by Associate
  • 411 Views
  • 0 replies
  • 0 kudos

Resolved! How to use external crystal?

Hi, I want to run STM8S003F with an external crystal.How do I use APIs in stm8_clk?Or in which material is it described?Regards, Gotoda

gocchan by Associate III
  • 2740 Views
  • 7 replies
  • 0 kudos

How to drive bicolor LEDs by one pin.

How to drive bicolor LEDs by one pin. I think turn off LEDs when setting GPIO input. But it is not. On pin high level. What is problem.

0693W00000Ba7QlQAJ.png
ETsog.1 by Associate II
  • 2754 Views
  • 11 replies
  • 0 kudos

I am trying to develop simple spi communication between 2 stm8s. I am using same files for master and spi with main.c different. Master code compiles successfully with no errors, slave has following error inspite all syntax is proper. Any help?

Compiling main.c...cxstm8 +warn +mods0 +debug -pxp +strict -pp -ps -psa -pu -l -i"C:\Program Files (x86)\COSMIC\FSE_Compilers\Hstm8" -clDebug\ -coDebug\ main.c#error cpstm8 stm8s.h:2525(12) missing ;#error cpstm8 stm8s_gpio.h:68(18) incomplete declar...

Upate.1 by Associate II
  • 985 Views
  • 2 replies
  • 0 kudos