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

STM8 - Unable to use timer2 with interrupt

I am trying to run timer interrupt in STM8 microcontroller. But I am not able to do so.Here is the code snippet. void TIM2_Configuration(void) { TIM2_DeInit(); CLK_PeripheralClockConfig(CLK_PCKENR1_TIM2, ENABLE); TIM2_ARRPreloadConfig(EN...

DPaga by Associate
  • 989 Views
  • 1 replies
  • 0 kudos

Beginning project to use beCAn on a stm8s208, mere presence of either CAN interrupt vector interferes with TIM4_UPD_OVF_IRQHandler.

No attempt yet to initialize can, just adding entry into interrupt vector table table for either can rx or can tx impacts TIM4_UPD_OVF_IRQHandler. TIM4 will run twice, then never run again.Can interrupts are not enabled yet, can interrupt vector neve...

GOgle by Associate
  • 500 Views
  • 0 replies
  • 0 kudos

When will STLINK-V3 and MB1440 become available?

TN1235, released this month has some basic information on the new STLINK-V3 (which already can be ordered at some distributors, but lead times are long, and where there are pictures they show the older ST-LINK/V1)According to TN1235, for the SWIM int...

UART Transmitting problem

Hello,I am using the stm8l151... mcu and I am trying to send different strings via Uart1 to HTerminal. I have three different strings to send. The first two strings are transmitted completely but when the third one is being sent, it is truncated and...

sourceforge.net

Dear current and future SDCC users among the STM8 developers,Today the first Release Candidate (RC1) for SDCC 3.8.0 has been created.As always it has been put online in our SourceForge File section.https://sourceforge.net/projects/sdcc/files/If you h...