2019-06-23 07:42 AM
An early rev. of RM0432 mentioned a magic id 0xA3C5DD01 at offset 0x3FC for OCTOSPI. So I thought the presence of that value would be a reliable way to detect the OCTOSPI interface. But the G474 exposes that very id, too ...
The only idea that came to my mind is do a write/read to QUADSPI_ABR at offset 0x1C as this offset is designated reserved for OCTOSPI, and a write to that offset has no effect on L4R5.
Any other *reliable* and simple way to discriminate between QUADSPI/OCTOSPI *without* hardcoding DBGMCU_IDCODE?