Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
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...
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...
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...
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.
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...
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...
It has been weakly suggested in other threads, but I would appreciate a firm confirmation. Does anybody have first-hand experience doing this?Is anything else required? For example connecting the grounds of the SWIM and JTAG? (Hard to guess the corre...