cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic discrimination between QUADSPI and OCTOSPI

Andreas Bolsch
Lead II

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?

0 REPLIES 0