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...
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...
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.
With STM8S005C6 How to program ADC Interrupt with a range of ADC_WG with continuos mode, with the scanning?
Hello, I would like help to have configurating the ADC peripheric to use it in continuos mode with three channels of the micro stm8s005c6, could you hand me an example made with the FWL from ST? Im using it right now with no success.I have being read...
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...