Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
1,111 Views

Intel Edison Usb Host Mode

Jump to solution

Hi,

How can i open usb host mode with li-ion battery.

My steps for open usb mode:

1- Intel Edison vsys and gnd pins -> 4.2v battery

2- pwrbtn pin -> vsys

3-I connected to Intel Edison with Putty

4-I write "lsusb" command

5-I got "Unable to initalize libusb:-99 "

6-usb_id pin -> low

7-I write "lsusb" command again

8- I didn't see my device(webcam)

What is the problem?

What should I connect to usb_vbus,FAULT and PSW pin?

0 Kudos

Accepted Solutions
Highlighted
Community Manager
141 Views

Hello ErayAktokluk,

 

 

Thank you for your interest in the Intel® Edison Breakout Board.

 

 

Even though custom board designs are out of the scope of this technical support team, I may be able to give you some insight regarding your question.

 

 

The USB_VBUS should be left unconnected, the reason behind this is that connecting to 5V is only required when the Edison is expected to work as client, and you mentioned you are looking to use it in host mode.

 

 

The FAULT and PSW pins are used for control purposes along with the power supply circuit for the USB device that will be connected to the Edison module, but if you won't use a power supply that requires control, then there is no need to use these pins, so my suggestion would be to use a pull up resistor to 1.8 V for the FAULT pin, and for the PSW pin, I recommend a pull down resistor to GND.

 

 

These couple of threads may be of your interest if you want to compare your design with other community member's:

 

 

Edison Custom Board USB OTG FT201X Device

 

https://communities.intel.com/message/473408# 473408 https://communities.intel.com/message/473408# 473408

 

 

USB Host mode internally

 

https://communities.intel.com/message/431137# 431137 https://communities.intel.com/message/431137# 431137

 

 

You can also check the schematics of the Edison expansion boards to see how he FAULT, PSW and VBUS pins are connected:

 

 

Schematics for the Intel® Edison Board for Arduino*

 

http://www.intel.com/content/dam/support/us/en/documents/edison/sb/edison_arduino_hvm_8_26.pdf

 

 

Schematics for the Intel® Edison Breakout Board

 

http://www.intel.com/content/dam/support/us/en/documents/edison/sb/mini_edison_breakout_hvm_8_26.pdf

 

 

Additionally, you have to pay attention to the USB ID pin. If the Edison is working as the Host device, the USB ID should be grounded, otherwise it will work as the client device. The error "Unable to initalize libusb:-99 " that you had previously was because the Edison was not working as the Host device. It was fixed after you connected the USB ID to ground.

 

 

If you have any other question or update, don't hesitate to contact us.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.

View solution in original post

0 Kudos
2 Replies
Highlighted
Community Manager
142 Views

Hello ErayAktokluk,

 

 

Thank you for your interest in the Intel® Edison Breakout Board.

 

 

Even though custom board designs are out of the scope of this technical support team, I may be able to give you some insight regarding your question.

 

 

The USB_VBUS should be left unconnected, the reason behind this is that connecting to 5V is only required when the Edison is expected to work as client, and you mentioned you are looking to use it in host mode.

 

 

The FAULT and PSW pins are used for control purposes along with the power supply circuit for the USB device that will be connected to the Edison module, but if you won't use a power supply that requires control, then there is no need to use these pins, so my suggestion would be to use a pull up resistor to 1.8 V for the FAULT pin, and for the PSW pin, I recommend a pull down resistor to GND.

 

 

These couple of threads may be of your interest if you want to compare your design with other community member's:

 

 

Edison Custom Board USB OTG FT201X Device

 

https://communities.intel.com/message/473408# 473408 https://communities.intel.com/message/473408# 473408

 

 

USB Host mode internally

 

https://communities.intel.com/message/431137# 431137 https://communities.intel.com/message/431137# 431137

 

 

You can also check the schematics of the Edison expansion boards to see how he FAULT, PSW and VBUS pins are connected:

 

 

Schematics for the Intel® Edison Board for Arduino*

 

http://www.intel.com/content/dam/support/us/en/documents/edison/sb/edison_arduino_hvm_8_26.pdf

 

 

Schematics for the Intel® Edison Breakout Board

 

http://www.intel.com/content/dam/support/us/en/documents/edison/sb/mini_edison_breakout_hvm_8_26.pdf

 

 

Additionally, you have to pay attention to the USB ID pin. If the Edison is working as the Host device, the USB ID should be grounded, otherwise it will work as the client device. The error "Unable to initalize libusb:-99 " that you had previously was because the Edison was not working as the Host device. It was fixed after you connected the USB ID to ground.

 

 

If you have any other question or update, don't hesitate to contact us.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.

View solution in original post

0 Kudos
Highlighted
New Contributor I
141 Views

Thank you for your answer.

0 Kudos