LPSPI how to set for QSPI flash device

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

LPSPI how to set for QSPI flash device

Jump to solution
1,660 Views
fredfu
NXP Employee
NXP Employee

Hi,

   I see the RM of RT1060, as if the LPSPI module can support QSPI device, but it is very simply described in RM, and there is no example for the usage in SDK, the LPSPI module can support QSPI device? Thanks.

Best Regards,

Fred Fu

0 Kudos
Reply
1 Solution
1,642 Views
fredfu
NXP Employee
NXP Employee

Hi Mark,

     Thanks for your confirm.

Best Regards,

Fred Fu

View solution in original post

0 Kudos
Reply
2 Replies
1,655 Views
mjbcswitzerland
Specialist V

Hi

The LPSPI can be used in Quad data mode by configuring the WIDTH field of the transmit command register for 4-bit transfer (which can be done on a per-transaction basis).
The LPSPI pins use their data functions in this case

 

mjbcswitzerland_0-1604490023944.png

QSPI flash devices can usually operate in single-bit mode so the LPSPI can also operate in standard 1 bit mode with them too if the data rate is not critical.

Regards

Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or product development requirements

 

0 Kudos
Reply
1,643 Views
fredfu
NXP Employee
NXP Employee

Hi Mark,

     Thanks for your confirm.

Best Regards,

Fred Fu

0 Kudos
Reply