AnsweredAssumed Answered

stm32f746bg and MX30LF2G NAND Flash

Question asked by nafikov.renat on Jun 28, 2016
Latest reply on Jun 28, 2016 by waclawek.jan
FMC Configured as 
hnand1.Instance = FMC_NAND_DEVICE;
  /* hnand1.Init */
  hnand1.Init.NandBank = FMC_NAND_BANK3;
  hnand1.Init.Waitfeature = FMC_NAND_WAIT_FEATURE_ENABLE;
  hnand1.Init.MemoryDataWidth = FMC_NAND_MEM_BUS_WIDTH_8;
  hnand1.Init.EccComputation = FMC_NAND_ECC_DISABLE;
  hnand1.Init.ECCPageSize = FMC_NAND_ECC_PAGE_SIZE_2048BYTE;
  hnand1.Init.TCLRSetupTime = 2;
  hnand1.Init.TARSetupTime = 2;
  /* hnand1.Info */
  hnand1.Info.PageSize = 2048;
  hnand1.Info.SpareAreaSize = 64;
  hnand1.Info.BlockSize = 64;
  hnand1.Info.BlockNbr = 2048;
  hnand1.Info.ZoneSize = 2048;
  /* ComSpaceTiming */
  ComSpaceTiming.SetupTime = 0x5;
  ComSpaceTiming.WaitSetupTime = 0x3;
  ComSpaceTiming.HoldSetupTime = 0x2;
  ComSpaceTiming.HiZSetupTime = 0x5;
  /* AttSpaceTiming */
  AttSpaceTiming.SetupTime = 0x5;
  AttSpaceTiming.WaitSetupTime = 0x3;
  AttSpaceTiming.HoldSetupTime = 0x2;
  AttSpaceTiming.HiZSetupTime = 0x5;
  HAL_NAND_Init(&hnand1, &ComSpaceTiming, &AttSpaceTiming);
after firsy calling HAL_NAND_Read_ID() MCU generates 32 NRE strobes (why 32 times if readed only 32 bits?) and return valid data. if i call this function one more time no NRE strobes has been generated, but function return valid data. also i try to read ONFI signature after reading ID and no NRE strobes and reading returns last readed data (ID). somebody can help with this problem?

Outcomes