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

I2C register I2C_SR3 in the field BUSY getting stuck in High level

I am having an issue with the I2C communication between the MCU STM8208C6 and the Ambient Light Sensor APDS 9306-065.Before any setting is set up during the debugging, the I2C register I2C_SR3 in the field BUSY is 1.• I checked if there was any short...

GGhed.1 by Associate II
  • 798 Views
  • 0 replies
  • 0 kudos

STM8 how to check if flash memory filled

Hello I am using STM8L052 and in my program I am writing my vectorTable to my flash memory for every power on, but I want to make it only once so once the flash is written with vectorTable I will not write to flash again. There is how I write to flas...

GunkutA by Senior
  • 1008 Views
  • 0 replies
  • 0 kudos

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
  • 1486 Views
  • 2 replies
  • 0 kudos