User Activity

Hallo, I'd like to use LPTIM to count the number of digital impulse of a signal.So, the signal is connected to (in this case) LPTIM2_IN1.The init function (MX_LPTIM2_Init) is as this: hlptim2.Instance = LPTIM2; hlptim2.Init.Clock.Source = LPTIM_CLOCK...
If I have 2 external devices, one mapped on GPIOC0 and another on GPIOG0 of the micro, so they generate the same EXTI0 interrupt, how is it possible to distinguish which of them is calling the interrupt? I mean, is it possible to read effectively the...
I have a program with various tasks, in one of these I send a request and, after that, I wait for a response, so I have a cycle like this SendRequest(); do { WaitResponse(); DelayMillisecondS(200); }while (Timerisnotexpired()); the Problem is that th...
Hallo,I'm compiling with this option   <-fpack-struct=1>Why, with this option, the instruction<WRITE_REG(hdma->Instance->CBR1, 0U);>generates hard fault? I don't understand, without changing nothing.thank you.
Hallo, this is my code. I create a directory, and then a file in this directory. If, in another point of the code, I check if the file is present or not, I can read/write it correctly and so on. Instead, if I stop the execution of the program, when I...
Kudos from