Skip to main content
Andreas Bolsch
Lead III
June 23, 2019
Question

Automatic discrimination between QUADSPI and OCTOSPI

  • June 23, 2019
  • 0 replies
  • 554 views

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?

This topic has been closed for replies.