NXP RT1020, SD and QSPI with LQFP100 - Page 1
Forum section: electronics / general

author: luiHS
author_rank: Frequent Contributor
timestamp: July 27, 2018, 08:42:36 am
content: Hello.I am designing a product with the NXP RT1020 LQFP100 microcontroller, I am based on the schematics of the MIMXRT1020-EVK evaluation board.The problem is that the MIMXRT1020-EVK board installs an LQFP144, and I'm going to use an LQFP100 (the only one currently available, otherwise I would have used an LQFP144 that interests me more). This affects the design of the boot with SD card and QSPI. I see in the diagrams of the evaluation board, that the SD card is connected to the ports GPIO_SD_B0_ and the QSPI to the ports GPIO_SD_B1_.In the LQFP100, the GPIO_SD_B0_ port does not exist, and that is my problem, where to connect the SD card and the QSPI in an LQFP100.I suspect that the SD card must be connected to the GPIO_SD_B1_ ports with the same numbering that the evaluation board connects to the GPIO_SD_B0_ but I am not sure. On the other hand, the QSPI could also be connected to the GPIO_SD_B1_ ports, but in that case the GPIO_SD_B1_06 port is shared between the SD and the QSPI.All this, unless the QSPI must be really connected to the "FlexSPI2nd Option" ports, GPIO_AD_B1_.Can someone confirm where the SD card and QSPI are connected to an RT1020 LQFP100?I am reading these documents, to try to understand how to connect QSPI and SD with RT1020 LQFP100Processor Reference Manualhttps://www.nxp.com/docs/en/reference-manual/IMXRT1020RM.pdfHardware Development Guidehttps://www.nxp.com/docs/en/nxp/user-guides/MIMXRT1020HDUG.pdfDatasheethttps://www.nxp.com/docs/en/data-sheet/IMXRT1020CEC.pdfMIMXRT1020-EVK Schematicshttps://www.nxp.com/products/processors-and-microcontrollers/applications-processors/i.mx-applications-processors/i.mx-rt-series/i.mx-rt1020-evaluation-kit:MIMXRT1020-EVK?fpsp=1&tab=Design_Tools_TabBest Regards

author: luiHS
author_rank: Frequent Contributor
timestamp: July 29, 2018, 06:03:10 am
content: Thanks for your suggestions evb149, I will check everything.I think I'll try the SD card in SD2 and QSPI in the second Flexspi option. I do not know if I can connect SD to SD2 and QSPI to FlexSPI, because then I have to share the port GPIO_SB_B1_06, and I need both devices, one for the boot, and at run time both, one to run the program and the other to store data.Meanwhile, I will do my tests with the evaluation board, I have designed a board to connect it to the expansion ports (Arduino interface pins) of the MIMXRT1020-EVK, so that I can use the program / debugging on the board.About the Configuration Tools in MCUXpresso, unfortunately, the Peripheral Tool is not available for RT1020 and RT1050, so I can only work with examples of SDK sources and Technical Documents.I hope that NXP will soon release an SDK update that supports the Peripheral tool, for me it is essential to be able to do a development from scratch, instead of having to use samples SDK sources. With the STM32 and Cubemx, I can configure all the peripherals very easily, the same should be able to do with the RT and MCUXpresso if the Periphery tools are enabled.This is the first time I work with a microcontroller that boot from external memory, and I found it very interesting because it allows much more memory than with a microcontroller with internal flash, I hope it is not very complex to configure.

author: luiHS
author_rank: Frequent Contributor
timestamp: July 29, 2018, 06:40:04 pm
content: For now I have decided to design a board that connects to the MIMXRT1020-EVK evaluation board, specifically to the board connectors that are called the Arduino interface.So I can use the whole programming system and debug using the OpenSDA of the board. It is a pity that NXP has not yet released the LQFP144, nor have news of when it will, because the LQFP100 is insufficient in number of ports, and I do not know if I will have the limitation of not being able to use the SD card at the same time. a QSPI flash for the boot system.