Using FlexSPI driver with edma and polling

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using FlexSPI driver with edma and polling

280 Views
SpeedyGonzalesss
Contributor III

Hello,

I am using MIMXRT1170-EVK board with MCUXpresso IDE. I want to use FlexSPI driver with edma and polling. I will use edma and polling under different conditions. That's why I need to create an init process suitable for both of them.After DMA init, I disable the I and D cache memories to init the nor flash. Afterwards, I check whether the flexspi bus is idle or not. However, although there is never an idle when the I and D cache are disabled, it becomes an idle only if the D cache is disabled and the code continues. What could be the reason for this?

Screenshot from 2023-11-10 10-47-56.png

SpeedyGonzalesss_0-1699602504057.png

 

0 Kudos
1 Reply

214 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
I suggest you disable I-cache after calling flash init so it functions like the SDK example.

 

Best regards,
Omar

0 Kudos