Project

General

Profile

USB0_ID on MityARM-1810 PROFIBUS DK

Added by Emmett Bradford almost 12 years ago

We are using MityARM-1810F on the PROFIBUS DK board.
We are trying to use the TI starterware examples to get USB0 to act as a peripheral.
The USB0_ID is always low regardless of the cable attach.

1. Is there a pullup on the MityARM-1810F?

2. Is there an FPGA connection?

3. Is J100 pins 1-5 laid out in that order? If so, it looks like it's pin 4 that goes to the plane, and pin 5 that goes off on a small trace.


Replies (4)

RE: USB0_ID on MityARM-1810 PROFIBUS DK - Added by Michael Williamson almost 12 years ago

Hello Mr. Bradford,

1. There is no pullup on the MityARM-1810F SOC for the USB0_ID pin (though there is likely one in the AM1810 itself, not sure of the default configuration off hand).

2. There is no connection to the FPGA for any of the USB0 pins. They should be straight connections to the edge connection.

3. Not sure what you are after here, I'll look at the schematics / layout.

We have successfully used AM1808's and L138's in peripheral mode using the development kit board under linux (in RNDIS mode), so I have a suspicion that there is a software configuration issue. Which Starterware demonstration are you referencing? What kind of device are you trying to present/enumerate as to the host PC?

-Mike

RE: USB0_ID on MityARM-1810 PROFIBUS DK - Added by Tim Eastham almost 12 years ago

Mike,

I am working with Emmett on the software side. I have ported the usb_dev_bulk example into the UART example, removing the LCD calls because I do not have a display attached. I am calling the USBDBulkInit(0, (tUSBDBulkDevice *)&g_sBulkDevice) function, which is returning a valid pointer. A valid pointer return means that USBDCDInit() is being called and consequently USBDevConnect, which sets the USB_POWER_SOFTCONN of the Power register to trigger the attach as long as it is setup as a device not a host. From what we have read, this is done through the physical USBID pin? How is that pin managed? I can't find any software commands or registers to manipulate that. I am presently using an ordinary microUSB (actually the cable from one of my spectrum digital emulators) and attaching it to my USB port on my XP PC - expecting to see the device in the Device Manager or at least a New Hardware Wizard to pop up.

Thanks,
Tim

RE: USB0_ID on MityARM-1810 PROFIBUS DK - Added by Emmett Bradford almost 12 years ago

FYI Mike,

Our cable is a A to mini-B and pins 4&5 are not shorted.
USB0_ID is always low regardless of cable presence.

The AM1808 SPRS653C 2.7.17 says that USB0_ID is an analog input w/o a pullup.
They don't say that it needs an external pullup either.

The AM1808 TRM SPRUH82A 34.2.2, 34.2.7 says to leave it floating for peripheral ops.
It doesn't say what voltage it would be when floating.

RE: USB0_ID on MityARM-1810 PROFIBUS DK - Added by Emmett Bradford almost 12 years ago

Mike,
I asked for TI tech support about this, but no reply.
In reference to my last reply:
Can you check your hardware to see if you can measure USBO_ID = high when in USB peripheral mode?
That would help me know when we've fixed it.
Thanks,
Emmett

    (1-4/4)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)