cancel
Showing results for 
Search instead for 
Did you mean: 

External PSRAM and FSMC on STM32F76xxx

ales
Associate
Posted on June 13, 2016 at 09:37

Hi,

I need help enabling page read mode in external memory 

http://www.issi.com/WW/pdf/66-67WVE4M16EALL-BLL-CLL.pdf

.

This external memory supports faster asynchronous page reads (shown on page 10) but Ican not find needed information in stm32

http://http://www.st.com/content/ccc/resource/technical/document/reference_manual/group0/96/8b/0d/ec/16/22/43/71/DM00224583/files/DM00224583.pdf/jcr:content/translations/en.DM00224583.pdf

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;
1 REPLY 1
Posted on June 13, 2016 at 11:33

No.

JW