Help understanding mysterious lapses in printf() output via SWV Port 0 as shown in SWV ITM Data Console
Notice how entire printf lines disappear and how occasionally just portions of printf lines disappear.
Ask questions, find answers, and share insights on STM32 products and their technical features.
Notice how entire printf lines disappear and how occasionally just portions of printf lines disappear.
Hello, I´m pretty much a newbie, please bear with me.I´ve seen a lot of posts here stating how to code a traffic light using HAL_Delay and HAL_GetTick() but unfortunately none of those I´ve found stated how I can implement different times when a LED ...
Hello! I've bought that kit and I would like to know where I can find the kind of wire which could enable me to power it without using either USB ports or Ethernet one.Below a picture which shows you this input with the mention "5 V power supply inpu...
#include<NEW.h>#include<stdio.h>#include<stdarg.h>void Ultra_setting();void delay();void Tim3_Capture();void Uart1_config();void delay1();void uart_printf(const char *fmt, ...);uint32_t timeStamp1 = 0,timeStamp2=0,width=0,Distance=0;unsigned int flag...
Hello,In my project I need to generate 1s on, 1s off PWM signal in hardware.First I checked if my PWM works with simple project, and it does.But following AN4776 for N-pulse waveform generation application example - part 1.LL_APB2_GRP1_EnableClock(L...
I just had my first STM32 pcb done and I've been following the reference designs and checked many times everything that there is no shorts etc. However when I power the circuitry 3.3V side draws >200mA and the STM32L4S5ZIT6 does heat up when looked t...
Hi.Faced the problem of prinyf () function execution speed.Wrote a simple speed testHAL_GPIO_TogglePin (GPIOE, GPIO_PIN_8);uint8_t text [256] = {0};for (uint32_t i = 0; i <256; i ++){sprintf (text, "% - 5.2f", (i + 10.0 / 2.0));}HAL_GPIO_TogglePin (G...
I'm going to post this here, as a lot of people don't appear to be paying attention to the unravelling situation in the semi-conductor space.ST has it's own fabs, but the business environment is likely to push capacity toward highest margin wafers/di...
Hello,I run into problem for selecting TIM2 as my pwm output. As it turns out, it is only output capable. But I need to get processor independent 3kHz 50:50 PWM signal with no AF functional PWM.Any simple idea how can I toggle with 50% 3kHz duty cycl...
#include<NEW.h>void Ultra_setting();void delay();int timeStamp = 0;int main(){ //GPIO A configuration Ultra_setting(); Gpio_Init(); //input capture mode RCC->APB1ENR |= 2; //ENABLE TIMER 3 TIM3->PSC = 16; //divide by 16 TIM3->CCMR1 |= (0b01...