STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to generate binary using STVD/Cosmic?

I don't see any options in STVD or any tools provided by Cosmic to convert the output file to a raw binary. Does this toolchain provide anything or will I need to use an external tool?

Konami by Senior II
  • 498 Views
  • 2 replies
  • 0 kudos

timer1 Interrupt Is not generating

I am using stm8s105c6 discovery board. I want to generate timer 1 interrupt and toggle led. But I am not able to generate timer interrupt.void delay_cycles(uint16_t cy){  do{    --cy;  }while(cy);} //void TIM1_UPD_OVF_TRG_BRK_IRQHandler(void) void TI...

Ajadh.1 by Associate II
  • 631 Views
  • 1 replies
  • 0 kudos

Problem with Compiling SPL library files in STVD

Hello Everyone,actually iam new these STM8 microcontrollers and i have been trying the basic peripherals, in that process i have started with UART and i tried to compile all the Standard SPL library files and having this error please help me-PFA-Than...

0693W000008wyBbQAI.jpg
RRaje.1 by Associate II
  • 3901 Views
  • 8 replies
  • 0 kudos

stm8l price increase

The stm8l price is going up quickly​So the developers are looking for another chip..​​When will the stm8l price stabilize as before?

SSHIN.11 by Associate II
  • 850 Views
  • 2 replies
  • 0 kudos

ADC temperature dependence. Broken or defective?

Our company has developed a thermostat based on a microcontroller STM8L151K4T6. Many thermostats from the manufacturer were rejected. The analysis showed that the microcontroller does not correctly measure the voltage at the external terminals. The m...

OMaks.1 by Associate
  • 736 Views
  • 3 replies
  • 0 kudos

How does the function work? void Delay(void action(void), int NumberofTIMCycles); and how the NumberodTIMCycles always hold the value 10. while there is no declare any

/** ****************************************************************************** * @file main.c * @brief Adjustable LED blinking speed using STM8S-DISCOVERY touch sensing key * Application example. * @author STMicroelectronics - MCD Application Tea...

Mkuma.12 by Associate II
  • 664 Views
  • 0 replies
  • 0 kudos

ADC Accuracy

Hi Guys, i am using STM8S003F3 controller and i want to that how can i achive 0.1v accuracy when my ADC resolution is 1023 and my total count is 2000.

MAnsa.1 by Associate II
  • 4300 Views
  • 13 replies
  • 0 kudos

STVD pre-build command?

Is there an option for a prebuild command or a pre-include in STVD?

Konami by Senior II
  • 572 Views
  • 0 replies
  • 0 kudos

We are using the STM8L052R8T6 CPU, The normal current is about 15 microampere, but in several units, the current jump to about 34 milliampere.

We are using the STM8L052R8T6 CPU. The CPU is in Wait mode most of the time, so the current is about 15 microampere . In several cases, the current jump to about 34 milliampere (yes.. 34 mA!)We are using the STM8L052R8T6 CPU,  The CPU is in Wait mode...

EGaba.1 by Associate II
  • 757 Views
  • 4 replies
  • 0 kudos

6 step PWM program is not working

Hi,I am using stm8s discovery board with stm8s105c6 microcontroller. I am using 6 step PWM generation sample code bu using stm8s_periperal_library.I am able to generate PWM at PC2, PC4 only but I am not getting PWM at other pins and not even compl...

Ajadh.1 by Associate II
  • 456 Views
  • 0 replies
  • 0 kudos