ospi: driver is more restrictive than necessary #77
Labels
enhancement
New feature or request
hal
HAL-LL driver-related issue or pull-request.
xspi
XSPI-related (QSPI, OSPI, HSPI) issue or pull-request.
According to my tests the the OSPI supports not only instruction phase only, but also data phase only. However, the HAL driver does not allow this configuration.
I guess that the focus at the OSPI was on flash devices, where a single data phase is not intended, But there are other use cases.
I kindly ask for allowing single data phase instead of throwing an error. This won't break any software, but allows a broader usage of the OSPI. I am aware that this is an undocumented feature.
I can submit a pull request if you agree.
https://github.com/STMicroelectronics/stm32h7xx-hal-driver/blob/6f5e35e30ac09ba7bf44139a97b289d3df53cf9c/Src/stm32h7xx_hal_ospi.c#L3076C1-L3079C1
The text was updated successfully, but these errors were encountered: