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

STM8L050J3 Bug?

Hi,I am experiencing a serious problem with STM8L050J3.Due to an unused pin configuration of port A (PA1..PA7) then excluding PA0 used as SWIM, in order to check for any difference in current consumption, I have configured Port A with the following c...

How to synchronise 2 PWM in STM8S003F3?

I need 2 PWM signals each with different frequency and duty cycle. So I'm using TIM1 and TIM2 for this. But these PWMs are not synchronised. Please help me on this.

Why getting such error though code looks error free ? #error cpstm8 ..\..\src\main.c:350(0+6) misplaced local declaration #error cpstm8 ..\..\src\main.c:411 static function monitor_express_open_input_button undefined

static bool isEOBtnPressed = FALSE;static bool isECBtnPressed = FALSE;static void monitor_d_input_button(void); /*PB1 pin as input pin pull-up mode*/static void monitor_o_input_button(void);/*PB2 pin as inputpin pu;;-up mode*/static void monitor_c_in...

AAnsa.2 by Associate
  • 1352 Views
  • 2 replies
  • 0 kudos

How to connect st-link v2 with Tag-connect cable

HiI plan to program my MCU using a Tagconnect cable. I haven't bought the Tagconnect cable yet, nor the st-link v2, and I would like some recommendations.Is anybody using this setup? What are your thoughts?It also seems there are different versions o...

0693W00000Lwl4pQAB.jpg 0693W00000Lwl8lQAB.jpg
lyoy by Associate III
  • 4334 Views
  • 4 replies
  • 0 kudos

Another problem with the problematic STM8L050J3

Hi there,I have made changes to the firmware and , via ST-Link V2, I would like to reprogram an STM8L050J3, which I had previously programmed with the Active Halt function enabled, but SVP does not allow it and responds with this message as the attac...