This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

usb 2.0 bandwidth measurement using keil c?

I want to measure the bandwidth of the usb 2.0. I have a board with cypress Fx2 and FPGA. I have developed the firm ware in keil C.Should I code something in Keil C to measure the bandwidth delivered by USB or how can I do it ?
thanks
punitha

Parents
  • Do you mean you want to measure the actual throughput of the setup?
    Then, hook a frequency counter or a digital scope with frequency function to the strobe signal of the FX2-FPGA interface. It should flip every byte (or word) transfer.

    You may be able to built in similar function on the FPGA, and read it over JTAG - like Xilinx chip scope.

    Of cource, you may be able to write a code for the FX2 core,
    but I'm not sure I can explain it for you easy enough :-)

    Tsuneo

Reply
  • Do you mean you want to measure the actual throughput of the setup?
    Then, hook a frequency counter or a digital scope with frequency function to the strobe signal of the FX2-FPGA interface. It should flip every byte (or word) transfer.

    You may be able to built in similar function on the FPGA, and read it over JTAG - like Xilinx chip scope.

    Of cource, you may be able to write a code for the FX2 core,
    but I'm not sure I can explain it for you easy enough :-)

    Tsuneo

Children