All Questions
4 questions
1
vote
2
answers
690
views
STM32F7 device freeze: cannot access registers
I am encountering random freezes with the STM32F7. This issue is difficult to debug as any debug session launched in Eclipse crashes when trying to halt the core, which makes it impossible to see ...
1
vote
1
answer
5k
views
Interfacing HC-SR04 Ultrasonic sensor with STM32L
I'm trying to control this HC-SR4 Ultrasonic sensor by simply ON an LED when an object closer than 100cm is detected. I'm using TIM2 for the trigger signal (Pin PB10), and TIM4 to receive Echo signal (...
1
vote
0
answers
157
views
Debugger hangs when reaching to Float or Delay
When I run this code, the debugger hangs once it reaches to a Float (in this case the variable 'Distance') or Delay, I mean it seems like it's processing, however it never goes through, and I have to ...
0
votes
1
answer
162
views
Why does my MCU go back? (to the previous instruction)
I don't know why but I see the same odd behaviour sometimes in the debugger environment. Look at this code (function):
...