Closed FRASTM closed 2 years ago
In the stm32_ospi_write_enable() function, two commands are issued to the octoflash
Also, I suspect a pb with the command.AddressSize and the stm32_ospi_hal_address_size badly init'd
--> in the flash_stm32_ospi_write()
cmd_pp.AddressSize = HAL_OSPI_ADDRESS_32_BITS;
Refering to the AN5050, the command.AddressSize is HAL_OSPI_ADDRESS_32_BITS except in quad mode.
Describe the bug When testing the samples/drivers/spi_flash on b_u585i_iot02a or stm32l562e_dk the error occurs : "SPI flash driver MX25LM51245 was not found!"
To Reproduce Steps to reproduce the behavior:
Expected behavior
Impact regression after the merge of the https://github.com/zephyrproject-rtos/zephyr/pull/45917
Logs and console output
Environment (please complete the following information):
Additional context