Hi Bezalel
The 1062 has two FlexSPI interfaces - the first is used to boot on (QSPI flash) and the second is free for other usage.
The 1064 boots from internal QSPI flash on FlexSPI2 and this interface is not available externally, however the first is free for other usage.
This means that they are not compatible but the same can effectively be done by swapping FlexSPI 1 and 2 around.
Which FlexSPI are you using for your tests? If you are using FlexSPI1 on the 1062 you will need to run the code in SRAM so that it is no longer needed by the code (XiP).
You may like to consider the uTasker project if starting a professional development since it offers compatible operation on 1064 and 1062, including Teensy 4.0 and 4.1 targets. It also includes FlexSPI1 and FlexSPI2 drivers (including QSPI flash API for file system and parameter storage in QSPI flash) and simulation of the operation:
https://www.utasker.com/iMX/Teensy_4_0.html
https://www.utasker.com/iMX/Teensy_4_1.html
https://www.utasker.com/iMX/RT1064.html
Regards
Mark
[uTasker project developer for Kinetis and i.MX RT]
Thanks for your reply.
Didn't realize the difference between the two controllers, thanks. I was trying to use FlexSPI1 for my testing in 1062. How do I run my code in SRAM? If I do that I would be able to use both FlexSPI if I want, is that correct?avndd
About uTasker, have not heard of it. I will look into it. Does uTasker have a good support for the SDK and some sort of config tool like MCUXpresso for the different definitions, pins, peripherals and such?
Hi
uTasker has its own advanced SDK and simulation. It doesn't need pin configuration tools since it makes it easy and understandable https://www.youtube.com/watch?v=SmFTi8hlba0&list=PLWKlVb_MqDQEOCnsNOJO8gd3jDCwiyKKe&index=2
Regards
Mark
[uTasker project developer for Kinetis and i.MX RT]
Hi,
1) About uTasker, you mentioned that in uTasker you don't need to define pins because uTaskers SDK works a little differently. If I dont use teensy (down the road), does uTasker support my own pin configuration?
2) About running from SRAM, how can I do so? And once doing so, I will be able to use both FlexSPI controllers independently?
Thanks,
This is also of interest to me- is there a way to actually access both FlexSPI ports for use with other types of peripherals? In my use case I want two high-speed SPI ports to access other devices.