This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6416 usb speed issue

5758.DEC6416_USB.rar

Hello,all;

In our prioject, use cy7c68001  chip connect to  C6416 EMIB ce0. But the usb speed just only 300kbps~600kbps. The speed is too slow.   Is anyone have an proposal to improve the speed.  I change to use Synchronization  type but the cy7c68001 command do not use. Thansk!!!!!

This is emifb configuration: 

static EMIFB_Config MyEmifbConfig =
{
 EMIFB_GBLCTL_RMK
 (
 EMIFB_GBLCTL_EK2RATE_FULLCLK,  //one  X EMIF input clock
  EMIFB_GBLCTL_EK2HZ_CLK,  //eclkout2 continue output during hold
  EMIFB_GBLCTL_EK2EN_ENABLE, //eclkout2 enable output
  EMIFB_GBLCTL_BRMODE_MRSTATUS, //bus request is memory access or refresh pending/in progress
  EMIFB_GBLCTL_NOHOLD_ENABLE,
  EMIFB_GBLCTL_EK1HZ_CLK,  //eclkout1 continue output during hold
  EMIFB_GBLCTL_EK1EN_ENABLE //eclkout1 enable output
 ),
 0x22a28a22,
 0x20a0c412,
 0x22a28a22,
 0x3373cd1f,  //  asynchronization 16bit type
 EMIFB_SDCTL_DEFAULT,
 EMIFB_SDTIM_DEFAULT,
 EMIFB_SDEXT_DEFAULT,
 0x00000002,
 0x00000002,
 0x00000043,
// 0x00000002
};

  • Hi Edward,

    Would you please give the details like what is the TI software package you used for this experiment?

     

    Regards,

    Shankari

     

  • Hi,Shankari:

    I use CCS3.3 and read the spraa13a  which is attached file。

    0131.emif to usb interface spraa13a.pdf

    In our experiment,hardware architecture is similar as spraa13a.pdf. but use 

    different GPIO pins and use address pins 1~3 (BEA[3:1] to connect cy7c68001 FIFOADR[2:0] pins.  

    Normal with computer communication, but  the issue is  write and read speed is very slow.

    the emifb inclock is 125M, base on the high clock,the transmission speed is too slow.

    I have modify the setup  strobe smiller, The asynchronous timing as below.

    the demo software is attached whick is download from ti.com

    0842.spraa13a.zip

    How to improve usb  speed? Please give some advices. Thanks a lot!! 

  • The cy7c68001 asynchronous timing as below:

     

    attacked the cy7c68001 datasheet:

    0741.CY7C68001-datasheet.pdf

  • Hello Edward,

    At what speed is your USB interface working now ?

    Have you done the DSP and SX2 configurations correctly as mentioned in SPRAA13A document ?

    Are you able to observe similar EMIFB read/write timing in your board as given in Figure 4 & 5 in SPRAA13A ?

    Have you done required modification in the demo code based on your hardware changes ?

    Regards,

    Senthil

  • Hello SenthilKumar Srinivasan:

    Thanks for your reply.

    The speed is 300Kbps~ 600Kbps as before,I have modify the GPIO and EMIFB configure based on my own board. The data could   tansfer normally.

    I use Oscilloscope to check  the read timing.  The time interval  of SLRD  is 112 Microseconds. The time interval is too long.  

    Because the transmission is asynchronous , so  according to the time interval to estimate the transmission speed.  

    I modify the setup timing number and strobe timing number and hold timing number in the EMIFB configure Register.   But  the EMIFB transfer speed do not increase. How much is the transmission speed for EMIBF?  

    Please  Provide some suggestions, Thanks a lot.

  • Hello Edward,

    The EMIFB maximum operating frequency is 120MHz. What is the EMIFB frequency you are operating ?

    Since you are seeing long timing interval in SLRD/RE, i guess you are operating the EMIFB interface at low frequency.

    Regards,
    Senthil

  • Hello SenthilKumar Srinivasan:

    Thanks very much for your reply.I use 125Mhz for the emifb inclock.  I have usbed 50Mhz inclock  for EMIFB() to check the interval time of SLRD/RE . The interval time same as use 125MHz。I do not undersand the same interval time at different emifb inclock。

    I use Oscilloscope to check  the read timing.  The time interval  of SLRD/RE  is 112 Microseconds (show as Figure 2) or  340ns(show as Figure 1).

    The time  340ns is normal for the transfor. 

    such as there is 4 asser for SLRD/RE .  Between 1 and 2 assert , the interval time is 340 ns.But between the 2 and 3 assert ,the interval time is 114 Microseconds. 

    I modify asynch memory cycles (Setup + Strobe + Hold + TA) .But the interval time not reduce.   

    Hwo to reduce the interval time?  Please give some advices. Thanks a lot!!

                                                     Figure 1

    The time interval  of SLRD/RE  is 112 Microseconds. The time interval is too long. show as the oscillograph.

    The interval time is 114.4 Microseconds.

    Figure 2