STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

What is I2C FREQR register used for?

Hi =) I am using a STM8L151 but I am pretty sure this is the same for any STM8 with i2c.The register I2C_FREQR is described in:page 507 of the RM0031: https://www.st.com/resource/en/reference_manual/cd00218714-stm8l050j3-stm8l051f3-stm8l052c6-stm8l05...

0693W000006FQDFQA4.png 0693W000006FQDUQA4.png
SLasn.1 by Associate III
  • 498 Views
  • 2 replies
  • 0 kudos

STM8L TIM2 PWM Signal Generation

Hello Guys,I am using STM8L board and would like to learn how can I generate a PWM Signal at the output port with TIM2. How should I set the configuration?Thank you

AIpek.1 by Associate
  • 578 Views
  • 1 replies
  • 0 kudos

STM8L Timer Initiation problem

Hello,I am new to ST processors. Here is the issue:I am trying to setup Timer 3 for interrupt, Code: TIM3_DeInit(); CLK_PeripheralClockConfig(CLK_PCKENR1_TIM3, ENABLE); TIM3_TimeBaseInit(TIM3_Prescaler_64, TIM3_CounterMode_Down, 2500);    TIM3_Set...

TXu.2 by Associate
  • 467 Views
  • 1 replies
  • 0 kudos

Resolved! how can i use sprintf()

i want bto use sprintf() in my application what libraries i have to use

Trinu by Associate III
  • 1505 Views
  • 5 replies
  • 0 kudos

How to solve this error???

i am adding stm8s.h header file and getting this error.i dont understand why i am getting this error.errors are...Compiling main.c...cxstm8 -i"..\..\..\..\..\..\..\..\program files\stmicroelectronics\st_toolset\include" -i"..\..\..\data manual\stm8s...

MAnsa.1 by Associate II
  • 1075 Views
  • 2 replies
  • 0 kudos

Hii I want to turn ON LED

i have positive and negative voltage in the range of 1000v.i connected one LED to indicate minus voltage.led is connected to PD1 of stm8s003f3 controlleri put this condition....#define SevenSegmentDisplays_GPIOD_ODR_ResetValue 0x7E#define SevenSegme...

MAnsa.1 by Associate II
  • 408 Views
  • 2 replies
  • 0 kudos

Hello. I want to use GPIO with STM8S003,

after addstm8s_gpio.c and stm8s_gpio.h and build project, the compiler(Cosmic) tell error#error cpstm8 main.c:25(15+3) bad struct/union operand#error cpstm8 main.c:34(14+3) bad struct/union op

MAnsa.1 by Associate II
  • 875 Views
  • 3 replies
  • 0 kudos