LPC55x with 2x USB CDC's, one to each core

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

LPC55x with 2x USB CDC's, one to each core

690 Views
dav1
Contributor V

Hi,

I'd like to run two different applications on the LPC55S6x, both needing its own USB CDC connection.
It needs to be the same physical USB PHY (HS/480mbit)

What would be the easiest and most efficient way to achieve this?

 

In AN12335 it briefly mentions Inter-CPU Mailbox and that shared resource can be claimed by both cores. But I can't find how to define so that one USB endpoint is tied to core0 vs another endpoint is tied to core1

 

Thanks

Labels (3)
0 Kudos
4 Replies

668 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

I think you can consider it as two separate projects, each with its own space and endpoint to config USB CDC .

 

 

0 Kudos

665 Views
dav1
Contributor V

can you please provide an example how you would configure two cores, both getting data from the same usb-phy (usb1). i.e. two cdc's one to each m33

0 Kudos

658 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Dav,

 

Sorry I haven't find this example, there is demo Composite CDC_VCOM_CDC_VCOM under SDK.

 

BR

Alice

0 Kudos

656 Views
dav1
Contributor V

that demo seem to run on a single core

my question is how to assign different usb endpoints to different arm core's

0 Kudos