Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

USB 3300 PHY not showing up on DE1-SoC board.

Hello All,

I was trying to get some data to pop up over the 3300 (http://www.microchip.com/wwwproducts/devices.aspx?product=usb3300) USB phy.

And was finding the .QSF file was incomplete, so I assigned the pins at 3.3v LVTTL.

and used..


module Phytherface (
input clock,
input direction,
input  readline,
inout  uart,
output writeline
);
reg  a;
reg  b;
assign uart = direction ? a : 8'bz;
assign writeline = b;
always @ (posedge clock)
begin 
b <= uart;
a <= readline;
end

in conjunction with.


Phytherface AK01 (.direction(HPS_USB_DIR),.clock(HPS_USB_CLKOUT),.uart(HPS_USB_DATA),.writeline(take));
wire take;
takeone TK01 (.in(take),.out (HEX5)); /*<-- posedge sample&hold*/
endmodule

But no go,

Did I do something obviously wrong (with the tristate?)?

13 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Cyclone V SOC has inbuilt USB Controller which supports ULPI Interface. That USB controller uses that USB PHY chip.

    --- Quote End ---

    If you're not going to tell what it's going to be that's causing it, you're just spamming the topic. Thats why I brought up the link to the area I'd like to move into twice. Since that topic sank into oblivion again.. Which may well have had the potential to save me a day of work.

    I don't know what the problem would be. So does it mean the chip is misconfigured by default to recieve "is what im doing" a byte of data from whatever device, (that may well be a computer slave,or a MIDI controller master) ? And if so why?

    Seeing I don't think I would "have" to start feeding it headers, since it provides it's own clock.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    I'm using DE1-SoC board with linux console provided by Terasic. what should i do to change the USB Host mode to USB peripheral mode ? I know that i have to short the ID pin of usb3300 PHY to V3.3. But i don't know if i have to do some software modifications. The idea is to make my board act as a device and establish a communication between the PC and the board.

    ps: sorry for my bad english