Hi ,
I was working on LPC54018 Customized EVK Board to connect with TFT Controller.Where we connected external flash memory (W25Q128FV) to flash the code.
Doubts?
1.How to find which types of SPI to transfer the data whether it was single,dual or quad?
2.How to change the MODE of SPI in MCUXPRESSO?
Solved! Go to Solution.
Hello @VIGNESH_BABU,
You may find the information in LPC54018JxM/LPC54S018JxM User manual. At Chapter 33: LPC54018JxM/LPC54S018JxM SPI flash interface (SPIFI), section 33.6 Register description.
There is a register called SPIFI control register that controls the overall operation of the SPIFI and should be written before any commands are initiated. There you could set the DUAL bit to select the mode of operation between Quad and Dual.
Do you mean SPIFI? If that’s the case, then you could change it as follows:
As mentioned in the answer of your first question, you can modify between QUAD and DUAL:
And trough Peripheral drivers add SPIFI and configure it according to your needs. In SPI Protocol you could select between QUAD and DUAL.
Do not forget to Update the code.
For more information, please take a look to the LPC54018JxM/LPC54S018JxM User manual (you could download it here LPC540XX Family of Microcontrollers (MCUs) | NXP Semiconductors) and SPIFI driver files in MCUXpresso.
Regards, Raul.
Hello @VIGNESH_BABU,
You may find the information in LPC54018JxM/LPC54S018JxM User manual. At Chapter 33: LPC54018JxM/LPC54S018JxM SPI flash interface (SPIFI), section 33.6 Register description.
There is a register called SPIFI control register that controls the overall operation of the SPIFI and should be written before any commands are initiated. There you could set the DUAL bit to select the mode of operation between Quad and Dual.
Do you mean SPIFI? If that’s the case, then you could change it as follows:
As mentioned in the answer of your first question, you can modify between QUAD and DUAL:
And trough Peripheral drivers add SPIFI and configure it according to your needs. In SPI Protocol you could select between QUAD and DUAL.
Do not forget to Update the code.
For more information, please take a look to the LPC54018JxM/LPC54S018JxM User manual (you could download it here LPC540XX Family of Microcontrollers (MCUs) | NXP Semiconductors) and SPIFI driver files in MCUXpresso.
Regards, Raul.