STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 415 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
  • 1395 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
  • 974 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
  • 352 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
  • 795 Views
  • 3 replies
  • 0 kudos

STM8-LIN-Package Demo

Hello,is there any documentation or tutorial on how to get the demo in the STM8-LIN-Package running. The Documents AN3055, RN0086, UM1593 don't really explain this.Thank you for your help

RKB by Associate
  • 385 Views
  • 1 replies
  • 0 kudos