Hello @VIGNESH_BABU,
- How to find which type of SPI to transfer the data whether it was single, dual or quad?
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.

- How to change the MODE of SPI in MCUXPRESSO?
Do you mean SPIFI? If that’s the case, then you could change it as follows:
- First, you need to select the drivers to work with SPIFI. In new project -> drivers -> SPIFI and check the box. Then in the file fsl_spifi.c modify the next function in the highlighted line.

As mentioned in the answer of your first question, you can modify between QUAD and DUAL:

- In MCUXpresso there is a useful tool called ConfigTools, if you are aware of how it works, you could use Peripherals

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.