FlexSPI for Flash & RAM (IMXRT106x)

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

FlexSPI for Flash & RAM (IMXRT106x)

980 Views
bw1
Contributor IV

Our team is using an IMXRT1062 with flash on FlexSPIA1, and wants to add external RAM.  They would like to memory map the external RAM and use it basically the same as internal RAM.  We are hoping to place QSPI RAM on FlexSPIB1. 

1) Is it possible use it RAM on B1 at execution speeds with all memory mapped RAM addressing while also executing code from flash on FlexSPIA1?  So not just IP bus commands. 

I understand that both can't run at the exact same time. 

2) If I am reading the reference manual correctly, A1 and B1 share the same LUT, so we would need commands for both in that same table? 

 

0 Kudos
Reply
4 Replies

65 Views
powerfeatherdev
Contributor I

Hi @bw1 , were you able to make this work? From what I understand from your original question, you were asking about connecting both an QSPI Flash and RAM on *both* channels (A&B) of the *same* FlexSPI instance (FlexSPI 1), correct?

If so, this confuses me as while @jingpan  says such a setup is possible, this other answer
from @victorjimenez says it's not.

0 Kudos
Reply

30 Views
bw1
Contributor IV

@powerfeatherdev 
We ended up not completing that investigation, and did not get it functional during the development.  I was under the impression that it should be possible, but it is probably easier to have them on separate buses. 

Tags (1)
0 Kudos
Reply

25 Views
powerfeatherdev
Contributor I

Thanks for the reply. Unfortunately the reason I ask is because the part we are currently looking at only has one FlexSPI, and I was wondering if this was feasible. Maybe we also need to move on to a bigger part...

0 Kudos
Reply

942 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @bw1 ,

1. Is it possible use it RAM on B1 at execution speeds with all memory mapped RAM addressing while also executing code from flash on FlexSPIA1? 

Yes, it's possible.

2. If I am reading the reference manual correctly, A1 and B1 share the same LUT, so we would need commands for both in that same table? 

Yes, in same LUT table. But A1 and B1 has standalone r/w command pointer to the LUT.

 

Regards,

Jing

0 Kudos
Reply