Is it possible to monitoring local or static variables using SWV ?
How to monitor Static of local variables using SWV?
Ask questions, find answers, and share insights on STM32 products and their technical features.
How to monitor Static of local variables using SWV?
Hello, currently I'm working on a PWM signal generation project. I can generate PWM for certain values. But I need to change them during experiment.For example, at start PWM going to work on 1KHz freq. and 10ns pulse witdh. Then I'll change them with...
I made a simple cubemx project for a stm32f722 uC, just configure the clock and nothing more.I enable PLL with HSI to get 200MHz of systemcoreclock. I debug the project running step by step. Inside the SystemClockConfig if (HAL_RCC_OscConfig(&RCC_Os...
Hi,I want to use USART2 interrupt for STM32F103VET mcu. I have to use StdPeripheral Library for my project. I am using the init code below, but system is reset after each init. Do you have any advise for me? RCC_APB1PeriphClockCmd(RCC_APB1Periph_USAR...
Wondering what are example cases where low-power STM models should be preferred, and what would be the trafe-off in terms of features and performance.To help me better understand by using specific case, would be happy if I could get 2-3 examples, cle...
Hi, I'm trying to make my program enter STOP mode, and wake up periodically on RTC WKUP every second. The RTC part works fine, WKUP is set to 1 Hz, but the CPU won't stay in STOP mode after WFI instruction, unless the BASEPRI is nonzero. I am using F...
Hello!i develop an outdoor temperature measurement system and read every 30 minutes the ADC values -> all works fine! ADC calibration was done one times after start up.Now i changed the ADC calibration and calibrate every 30 minutes just before i rea...
Hi all,I'm hoping you're able to help me with a problem I'm having when trying to enable CAN on the STM32F105.OverviewBit of an overview first for context. The idea behind the project is to enable both CAN buses on the MCU so that they're able to tra...
I am using STMCUBEIDE there i was using optimization level as "optimize for debug". there i used a local variable as uint8_t and i am incrementing its counts then memory exceeded to 85%. if i removed increment then only 37% flash memory occupied.