cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I'm using hal_delay in my code. The part where I used hal_delay to take a waveform using an oscilloscope is a little strange. Can Hal_delay cause waveform problems?

dkim.3
Associate II
 
2 REPLIES 2
Foued_KH
ST Employee

Hello @dkim.3​ 

I think you have the same issue as reported here : HAL_Delay() is not working properly!!! (st.com)

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

dkim.3
Associate II

It seems to me that it is about time. But my problem is with waveforms. When you meet delay after always being high in the waveform, the high value drops for a while and then transmits the bit you want to transmit. Since there is only a delay function in the meantime, I am guessing that there is something disturbing the waveform in the delay function, and I wonder if this is right. If it is a factor that cannot be disturbed, I will further study it.