Post Go back to editing

SPI memory mapped space is in address range 0x60000000 - 0x7FFFFFFF. How can I control whether the memory mapped accesses to flash memory go through SPI controller or OSPI controller ?

SPI memory mapped space is in address range 0x60000000 - 0x7FFFFFFF. How can I control whether the memory mapped accesses to flash memory go through SPI controller or OSPI controller ?



tagged content
[edited by: JValeriani at 7:24 PM (GMT 0) on 3 Sep 2019]
  • SPI and OSPI are two separate controllers on the ADSP2156x processor with OSPI specifically designed to access flash memories with minimal software overhead. When accessing the flash memory space in the memory mapped mode, the accesses can be directed to SPI controller or OSPI controller. To control this the SCB REMAP (REG_SCB5_REMAP) register needs to be programmed to appropriate value. 

    If REG_SCB5_REMAP is programmed with value '0h', then all memory mapped accesses are directed to SPI controller and if REG_SCB5_REMAP is programmed with value '1h', then all memory mapped accesses are directed to OSPI controller.