-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it reasonable for HAL library SPI to judge RXP in blocking receive 8bit mode? Again, because of the old code to determine the RXWNE/FRLVL flag #249
Comments
Hello @wdfk-prog, Would you please give us more details about how you got this issue? And please share snippet of the code you have used to reproduce this problem. With regards, |
Hello @HBOSTM ,
|
HAL library version updated from V1.10 to V1.11. I have the same problem. If the data in flash (W25Q) is read continuously through SPI, there is a certain probability that it will timeout. The timeout is in this place "HAL_SPI_Receive ->if (__HAL_SPI_GET_FLAG (hspi, SPI_FLAG_RXP)" |
the new SPI H7 driver also has a problem with optimization & blocking mode i used the old driver for stm32f4 without any problems in Keil armclang 6 with o1, o2, or o3. No Problem. The new driver works only with o0. i think there is something optimized away(missing volatile or sth like that) |
Hello @ASELSTM, @HBOSTM, @TOUNSTM This is what my code does, and what I see with library V1.11:
I had to downgrade to V1.10 and this is a showstopper for my project. Let me know if I can do something in my investigation to help the team. |
Hi @HBOSTM This issue is a showstopper for me, and I had to downgrade |
Regrettably, I am experiencing similar issues with the SPI peripheral, after upgrading to FW Package v1.11.1. |
I can give an update on my issue (not sure if this is the same for the others).
Not sure why this happened. |
Hello All, thank you for your Reports. @wdfk-prog: the issue has already been fixed internally, and it will be available on the next release of STM32CubeH7 Firmware. Regarding the problem with the function HAL_SPI_Receive(), Please refer to last comment 47 With regards, |
ST Internal Reference: 172042 |
|
Hello @wdfk-prog, Attached the update files, but please be careful because it contains many changes. It may cause some errors while building your project. In that case, you must wait for the release (which will be available after a few days). Otherwise, I hope it will be useful and good luck. With regards. |
Fixed in abbf9ca |
Describe the set-up
Additional context
The cause of the problem
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: