Bug in STM32H7 OSPI HAL Drivers RX DMA code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-23 12:47 AM
Hi there,
just found out, that there's a severe bug in STM32Cube_FW_H7_V1.11.2, file stm32h7xx_hal_ospi.c at line 1599 (Function HAL_OSPI_Receive_DMA), which prevents the OSPI DMA Receive mode from working correctly:
/* Enable the transmit MDMA Channel */
if (HAL_MDMA_Start_IT(hospi->hmdma, (uint32_t)pData, (uint32_t)&hospi->Instance->DR, hospi->XferSize, 1) == \
HAL_OK)
This code seems to be copied from the HAL_OSPI_Transmit_DMA function and should read
/* Enable the receive MDMA Channel */
if (HAL_MDMA_Start_IT(hospi->hmdma, (uint32_t)&hospi->Instance->DR, (uint32_t)pData, hospi->XferSize, 1) == \
HAL_OK)
for the HAL_OSPI_Receive_DMA function.
Best regards, Heino
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-23 2:00 AM - edited ‎2024-10-23 2:01 AM
Hello @hknief ,
Thank you for sharing this issue.
This issue is already reported in this post.
The problem has been identified and resolved internally. The fix is now available on GitHub and will be included in the upcoming release.
Thank you for your contribution.
Internal ticket number: 179252 (This is an internal tracking number and is not accessible or usable by customers).
Thanks and best regards,
Kaouthar
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-23 2:00 AM - edited ‎2024-10-23 2:01 AM
Hello @hknief ,
Thank you for sharing this issue.
This issue is already reported in this post.
The problem has been identified and resolved internally. The fix is now available on GitHub and will be included in the upcoming release.
Thank you for your contribution.
Internal ticket number: 179252 (This is an internal tracking number and is not accessible or usable by customers).
Thanks and best regards,
Kaouthar
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.
