+ Post New Thread
Results 1 to 5 of 5
  1. #1
    expertengr
    Guest

    ZedBoard USB Interface

    Hi, I have 12 bit data from temperature readout out system. The data can be taken in to the ZedBoard using I/O ports. I am wondering how to send this data to to USB port on ZedBoard, and which IP core is needed in this case ? also and on the computer side, how to read or see the data ? Do I need to write any software or Vivado provide something ?

    •   AltAdvertisment

        
       

  2. #2
    Super Moderator
    Points: 70,762, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,474
    Helped
    3293 / 3293
    Points
    70,762
    Level
    64

    Re: ZedBoard USB Interface

    Hi,

    The developer has to decide this.

    There are many different ways
    * sending two 12 bit words as three 8 bit bytes needs the least uncompressed bit to transmit. But it is hard to receive and decode.
    * sending one 12 bit word as two bytes is good to decode. Maybe 7bits LSB plus the MSBit = low in one byte, then the rest 5 bits and the MSBit = high. Easy to decode, but nit human readable.
    * transferring the 12 bits into an ASCII string "1234" folowed by [Cr] [Lf] are 6 bytes to transmit, but human readable.
    * and there are numerous other solutions.

    Klaus



    •   AltAdvertisment

        
       

  3. #3
    Super Moderator
    Points: 252,684, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    44,016
    Helped
    13391 / 13391
    Points
    252,684
    Level
    100

    Re: ZedBoard USB Interface

    There are two "USB ports" on ZedBoard, USB UART and OTG. Which do you want to use?

    Both interfaces can be controlled by the processor subsystem.



    •   AltAdvertisment

        
       

  4. #4
    expertengr
    Guest

    Re: ZedBoard USB Interface

    Thanks @KlausST and @FvM. Let's chose USB OTG. In this case which IP core is needed to configure ? also and on the computer side, how to read or see this data ? Do I need to write any application specific software to write or Vivado provide something ?

    - - - Updated - - -

    I just discover that USB OTG is not recommended for new design on ZedBoard because of timing incompatibility between the TUSB1210 PHY and Zynq. Therefore, I would like to use USB UART. Any idea which IP do I need to configure and what about software on PC end ? Is it possible to log the data using serial port terminal for example TeraTerm etc ?

    Apart from USB communication I am wondering if there is ADC on the ZedBoard although it has analog header but I could not see any ADC. If there is ADC on board then I do not need to use external ADC with temperature readout system.



  5. #5
    Super Moderator
    Points: 70,762, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,474
    Helped
    3293 / 3293
    Points
    70,762
    Level
    64

    Re: ZedBoard USB Interface

    Hi,

    also and on the computer side, how to read or see this data ? Do I need to write any application specific software to write or Vivado provide something ?
    Until now you didn't give any description what you want to do on the PC side with the data.
    So how can we know if you can use existing software or need to write your own software?

    Is it possible to log the data using serial port terminal for example TeraTerm etc ?
    Every brief description of TeraTerm answers ths question.

    As written in post#2: it's a problem how you send the data. You can send it as non human readable binary or as human readable ASCII string.

    Klaus



--[[ ]]--