Hi everyone,
I have a custom board with RT1064, using MCUXpresso 11.5.0 and SDK 2.11.0.
I'm trying to use internal flash to store some configuration and setting data. I've read this post: https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/How-to-use-the-RT1064-on-chip-flash-as-NVM/ta-p/..., that covers the modifications to do to adapt the SDK examples (external IS25W memory) to the internal memory (W25Q32JV memory).
The post uses the flexspi_nor_polling_transfer example: it works fine on my board with the modifications mentioned in the post.
I'd like to use even the flexspi_nor_edma_transfer example: with the same modifications as the flexspi_nor_polling_transfer example it doesn't works because it hangs in the flexspi_nor_flash_page_program() function waiting for the callback function to be executed:
while (!g_completionFlag)
{
}
static void flexspi_callback(FLEXSPI_Type *base, flexspi_edma_handle_t *handle, status_t status, void *userData)
{
/* Signal transfer success when received success status. */
if (status == kStatus_Success)
{
g_completionFlag = true;
}
}
Is there some further modifications needed for the flexspi_nor_edma_transfer example to work?
Many thanks
Biafra