There are several approaches to find out the REAL maximum stack depth.1. Fill the part of the RAM where the stack resides with '0x20' (ASCII 'space') early in the start up fase (before jumping to main and enabling interrupts).2a If you have a debu...
Hi David,I have the ST-LINK V2/ISOL.At least these 2 conditions must be met:1. You also need to connect the ST-LINK-V2 RESET pin to the target MCU RESET pin ! Make sure to have all connections in user manual UM1075, par. 3.1.3 "SWIM signals and co...
Posted on November 24, 2016 at 18:05Hi, Just guessing as you did not provide info about the temperature sensor hardware. Possible causes for deviating ADC values: - Ripple / disturbance / noise / hum on ADC reference voltage if external. - Ripple ...
Posted on November 24, 2016 at 17:35Hi Viachelav, I also look into the generated code to check compiler and CPU architecture efficency. I was also pleasently suprised with the COSMIC compiler. Furthermore, the STM8 value line is loaded with features...
Posted on November 24, 2016 at 17:20 Hi, In the interrupt handler, when the ADC is enabled to generate several kinds of interrupts, you should first call https://my.st.com/public/STe2ecommunities/mcu/Lists/stm81/group__ADC1__Exported__Func...