I used SDK example "flexspi_nor_polling_transfer" as reference to communicate with external flash via FlexSPI and its working fine.
But I want to use NonBlocking Method in my custer IMXRT1176 board. Is there any NonBlocking Sample file to test it?
Can you please share it if its available or can you give an API Ref to do erase and page write?
已解决! 转到解答。
Hi @Ykciv ,
Please check the message, I send you the message about the NonBlocking method, it is for the octal flash, but can for your reference, with it helps you, I also just find it internally.
Best Regards,
Kerry
Hi @Ykciv ,
Please check the message, I send you the message about the NonBlocking method, it is for the octal flash, but can for your reference, with it helps you, I also just find it internally.
Best Regards,
Kerry
Hi @Ykciv ,
You are welcome!
If your question is solved, please help to mark the correct answer, just to close this case.
Any new issues, welcome to create the new question post, thanks.
Best Regards,
Kerry
Hi @Ykciv ,
You mentioned the post is from Russian colleague, and we can't contact him now.
I also helped you to check with our AE and SDK team colleagues, we still don't have that example.
So, maybe you can use the DMA method, or you also can refer to other noneblocking API usage, eg, LPUART, interrupt_transfer. You can try it on your side.
If you still have questions about it, please kindly let me know.
Best Regards,
Kerry
Hi @Ykciv ,
I checked all our related demo code is based on the FLEXSPI_TransferBlocking API.
But in the fsl_flexspi.c we also have the FLEXSPI_TransferNonBlocking API, I think you can try to call that API and test it, as we still don't have a related demo.
You also can refer to the following post which may useful to you:
https://community.nxp.com/t5/i-MX-RT/Example-code-for-FLEXSPI-TransferNonBlocking-usage/m-p/1151344
But, if you want to use the nonblocking method, you also can refer to the DMA code:
SDK_2_11_1_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\flexspi\nor\edma_transfer
Best Regards,
Kerry
Hi Kerryzhou,
Thanks for the response.
I already checked non blocking related posts in the forum. But I'm Facing issues while doing erase and pagewrite.
Can you please share a working non blocking APIs sample file?