Using FlexSPI driver with edma and polling

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Using FlexSPI driver with edma and polling

1,109 次查看
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 项奖励
回复
1 回复

1,043 次查看
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 项奖励
回复