LPC reference code for USB M/S and HS-SPI

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

LPC reference code for USB M/S and HS-SPI

839 Views
Thomas_Kang
Contributor I

Hello,

 

I need reference code for

1) USB mass storage to save image data in SPI serial flash

2) Get data from the flash and send it to LCD via HS-SPI.

Could you please help to get the example code?

 

Best regards,
Thomas Kang




0 Kudos
3 Replies

828 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

Thank you for your interest in NXP Semiconductor products.
Could you provide the part number of the device you are working on?

Best regards,
Omar

0 Kudos

819 Views
Thomas_Kang
Contributor I

Hi Omar,

 

Specific part number will be fixed soon after customer meeting. Candidates are LPC541xx and LPC546xx.

As far as I know, there is a reference code based on LPC55xx MCU, so my company will support customer to port on 541xx or 546xx.

 

Best regards,
Thomas Kang

 

0 Kudos

815 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Thank you for your reply.

It's important to mention that the LPC546xx and LPC541xx don't have a specific HS-SPI controller like the LPC55xx does. The SPI communication on the LPC546xx and LPC541xx is done through the Flexcomm peripheral and both have a maximum data rate of 48Mbit/s in master mode. The SPI examples can be found at the corresponding SDK of each device.

Regarding the USB examples, each SDK has USB Mass storage examples.

Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar

0 Kudos