Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
494 Discussions

How to configure device tree and defconfig for using USB device?

sunyeong
Beginner
535 Views

Hi,

 

I'm using an Agilex 5E Premium Development kit board.

I'm trying to communicate with my PC via USB, and I'm planning to use this device as a device(gadget).
Can you tell me how to configure defconfig, device tree, etc. for this?

 

Regards,

Jung.

 

0 Kudos
8 Replies
Jeet14
Employee
474 Views
0 Kudos
sunyeong
Beginner
465 Views

Hi, Jeet14.

 

Thanks for comment.

As I know, some configuration needs for using Gadget Serial feature like below url.

https://www.rocketboards.org/foswiki/Documentation/REFLEXCESAchillesArria10SoCSOM

Can I use the usb-gadget.cfg mentioned in this document as Agilex5 kernel configuration?

 

In device tree, the "dr_mode" property in usb node have to be added as I know.

This property can be configured as "peripheral", "otg", or "host".

Which value shoud I use?

 

Regards,

Jung.

 

 

0 Kudos
Jeet14
Employee
385 Views

Hi,


You need to use the dr_mode as "host".

I believe you are using the board USB as Host through which you are connecting the USB devices.


Regards

Tiwari


0 Kudos
sunyeong
Beginner
324 Views

Hi,

 

I think that there is some miss commnunication.

I said that I want to use the Developlment Kit as a gadget(device).

And I will use My PC as a HOST.

(FYI, In USB communication, there is a host/gadget concept.

It is concept like between master/slave.)

So, setting up a development board to act as a host seems a little different than what I'm asking for.

 

Regards,

Jung.

0 Kudos
Jeet14
Employee
238 Views

Hi,


Apologies for delayed response.

Then you need to use the "peripheral" mode, as the PC will be the host.


Regards

Tiwari


0 Kudos
Jeet14
Employee
215 Views

Hi


Please let me know if there is any query on this.


Regards

Tiwari


0 Kudos
Jeet14
Employee
198 Views

As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


0 Kudos
sunyeong
Beginner
162 Views

Hi,

 

It's been so long time since I asked. So I forgot this issue.

It took almost a month to get this answer....

The Devkit that I use is ES version.

It seems that this board doesn't support USB 3.1 like below.

usb_not_supported_in_ES_devkit.jpg

So I can't check this feature for now.

 

Thank you.

Regards.

0 Kudos
Reply