AnsweredAssumed Answered

External PSRAM and FSMC on STM32F76xxx

Question asked by tamse.ales on Jun 13, 2016
Latest reply on Jun 13, 2016 by waclawek.jan
Hi,

I need help enabling page read mode in external memory  IS66/67WVE4M16EALL.
This external memory supports faster asynchronous page reads (shown on page 10) but Ican not find needed information in stm32 reference manual if fsmc supports this kind of read operations.

Currently I have bottom setup (for default operation):

  SRAM_Read_Timming.AddressSetupTime       = 6;     // 0 ~ 15
  SRAM_Read_Timming.AddressHoldTime        = 1;     // 1 ~ 15
  SRAM_Read_Timming.DataSetupTime          = 6;     // 1 ~ 256
  SRAM_Read_Timming.BusTurnAroundDuration  = 0;     // 0 ~ 15
  SRAM_Read_Timming.CLKDivision            = 2;     // 2 ~ 16
  SRAM_Read_Timming.DataLatency            = 2;     // 2 ~ 17
  SRAM_Read_Timming.AccessMode             = FMC_ACCESS_MODE_A;


  hsram.Init.NSBank             = FMC_NORSRAM_BANK2;
  hsram.Init.DataAddressMux     = FMC_DATA_ADDRESS_MUX_DISABLE;
  hsram.Init.MemoryType         = FMC_MEMORY_TYPE_PSRAM;
  hsram.Init.MemoryDataWidth    = FMC_NORSRAM_MEM_BUS_WIDTH_16;
  hsram.Init.BurstAccessMode    = FMC_BURST_ACCESS_MODE_DISABLE;
  hsram.Init.WaitSignalPolarity = FMC_WAIT_SIGNAL_POLARITY_LOW;
  hsram.Init.WaitSignalActive   = FMC_WAIT_TIMING_BEFORE_WS;
  hsram.Init.WriteOperation     = FMC_WRITE_OPERATION_ENABLE;
  hsram.Init.WaitSignal         = FMC_WAIT_SIGNAL_DISABLE;
  hsram.Init.ExtendedMode       = FMC_EXTENDED_MODE_DISABLE;
  hsram.Init.AsynchronousWait   = FMC_ASYNCHRONOUS_WAIT_DISABLE;
  hsram.Init.WriteBurst         = FMC_WRITE_BURST_DISABLE;
  hsram.Init.ContinuousClock    = FMC_CONTINUOUS_CLOCK_SYNC_ONLY;

  hsram.Init.WriteFifo          = FMC_WRITE_FIFO_DISABLE;
  hsram.Init.PageSize           = FMC_PAGE_SIZE_NONE;

Outcomes