32blit-sdk icon indicating copy to clipboard operation
32blit-sdk copied to clipboard

"qspi_enable_quad" doesn't do anything

Open ali1234 opened this issue 2 years ago • 1 comments

https://github.com/32blit/32blit-sdk/blob/c47e2a9bfb95c1fafaa17c9a2d980555ecca48dc/32blit-stm32/Src/quadspi.c#L390

This function does nothing on beta/release hardware, because the Micron flash doesn't have a command 0x31.

It is a left-over from alpha hardware which used a Winbond flash chip. However, it doesn't work there either, because to write the status register you have to send a write enable command first.

ali1234 avatar Mar 04 '23 20:03 ali1234

See https://github.com/ali1234/32blit-sdk/commit/5353e9f012492596d4f02077fd0715f71abfbdd2 for a fix to make this function work on Winbond flash.

ali1234 avatar Mar 05 '23 02:03 ali1234