cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746, Flash

boris239955_stm1_st
Associate II
Posted on August 09, 2016 at 16:30

 

 

The original post was too long to process during our migration. Please click on the attachment to read the original post.
2 REPLIES 2
boris239955_stm1_st
Associate II
Posted on August 10, 2016 at 12:31

I found where is the problem but I cant understand why.

HAL_StatusTypeDef HAL_QSPI_Receive(QSPI_HandleTypeDef *hqspi, uint8_t *pData, uint32_t Timeout)

{

 while(hqspi->RxXferCount > 0)

      {

        /* Wait until FT or TC flag is set to read received data */

        status = QSPI_WaitFlagStateUntilTimeout(hqspi, (QSPI_FLAG_FT | QSPI_FLAG_TC), SET, tickstart, Timeout);

        if  (status != HAL_OK)

        {

          break;

        }

        *hqspi->pRxBuffPtr++ = *(__IO uint8_t *)data_reg;

        hqspi->RxXferCount--;

      }

}

status is always HAL_ERROR
Rocco Porcellio
Associate
Posted on August 21, 2017 at 19:35

Did you ever find  solution to this problem?  I am having a similar issue.