-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Description
Describe the bug
stm32h7xx_hal_ospi.c: HAL_OSPI_Transmit_DMA() used to work well in earlier revision. After update to latest revision, this function stops working.
The problem seems to be caused by an amendment to the following line in latest revision in this function:
zephyrproject-rtos/hal_stm32@cd7e003#diff-21e15dc03dfb0fe696366cf246ffc122e5e441709a61c02fbef072fa815b5b86R1498-R1499
Obviously the maintainer was trying to correct the counter-intuition of the naming scheme of in this line when calling the HAL_MDMA_Start_IT() function, which is , the order of 'source address' and the 'destination address' parameters. Unfortunately the underlying layer, whether zephyr or the chip hardware, does not work as the naming scheme suggested. The function stops working. Revert this line to previous revision smooth everything.
It is suggested to revert this line to previous revision.
Regression
- This is a regression.
Steps to reproduce
- Setup DMA and sssemble an OSPI command and then call HAL_OSPI_Transmit_DMA() from App, the function executed quitely with nothing happen on the bus.
- Revert this line to its previous version, and watch the OSPI clock and data show up on the bus.
Relevant log output
Impact
Showstopper – Prevents release or major functionality; system unusable.
Environment
MacOS 15.x / M4 chip,
Zephyr SDK
Commitment: 5cbc642b1a79d4f373b1587f8c3027f31bf0d30c
Additional Context
No response