Using 2 USB ports with LPC55S16-EVK

cancel
Showing results for 
Search instead for 
Did you mean: 

Using 2 USB ports with LPC55S16-EVK

45 Views
embedded_eng_
Contributor II

Hi,

I have a LPC55S16-EVK, and my main goal is to connect 2 different machines to the EVK using USB ports.

1 machine connected to the USB Full-Speed port and 1 machine connected to the USB Hi-Speed port.

I need that both machines will detect the EVK as a USB device.

Currently, I'm able to detect the EVK as a USB device from my linux machine (connected to Full Speed USB port), using dev_composite_cdc_msc_bm exmaple.

Now, I would like to detect the Hi-Speed port as a USB device as well.

I'm looking for an example that uses both ports as USB devices.

Thanks

0 Kudos
3 Replies

36 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

embedded_eng_

As I know, MCUXpresso SDK doesn't include demo for dual USBs. MCUXpresso Config Tool can't configure two USBs either.

Our suggestion is to manually combine two existing MCUXpresso SDK USBs demos by user self.

My colleague ever developed a demo code of USB device generic dual. see attached. Please note, we don't provide technical support for the code revise.

Have a nice day,

Jun Zhang

 

0 Kudos

27 Views
embedded_eng_
Contributor II

Thanks for the replay.

I've tried to load this SDK to MCUXpresso without success.

I have installed the SDK:

Screenshot from 2021-04-11 10-11-03.png

Then I clicked at "Import SDK example(s)" and could not find the dual USB one.

 

I also tried to click at "Import project(s) from file system" and select the SDK, but the "Projects" field is empty.

Screenshot from 2021-04-11 10-40-11.png

 

How can I flash this Project to my board? and how can I modify the code?

(This is the first time I'm using this IDE..)

Thanks.

0 Kudos

14 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

This demo is for Keil and IAR. It doesn't support MCUXpresso IDE.

0 Kudos