RT1064 - Flex Qspi - AHB Communication Failure to do consecutive FPGA data acquisitions

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

RT1064 - Flex Qspi - AHB Communication Failure to do consecutive FPGA data acquisitions

22 Views
scottydoesntknow
Contributor I

Hi Everyone,

Looking for guidance on the Flex-Qspi operations.

I currently have a project that communicates with a FPGA, and I have been successful using the AHB to get and set registers on that FPGA. The issues occur when I am in a for-loop requesting data consecutively. I can see on the scope, the Flexspi control line is not always being toggled and the read returns with the same data that it had on the last read cycle (on failure). It seems like some times it gets 3 reads in a row successfully and then it would skip 1 and only issue a read on the following attempt.

I have been able to add "NOP" wait states to my for-loop to delay the next data request and it seems to remedy the situation. I just dont have an answer to why that is the case.

Here is a brief overview of my configuration for the data transfer:

Using DDR, Caching is Disabled, Prefetch is Disabled, Clearing is turned On after read.

scottydoesntknow_0-1725906107024.png

scottydoesntknow_1-1725906174136.png

Here is a look at what my transmission looked like:

scottydoesntknow_2-1725906286801.png

Transmissions without NOP wait states:

scottydoesntknow_4-1725907273304.png

 



Transmissions with NOP wait states added:

scottydoesntknow_5-1725907327388.png

 


Can anyone offer any idea as to why the AHB is not triggering the data transmissions?

Thanks.

 





0 Kudos
Reply
0 Replies