- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dma uses auto mode, and the dma data link is configured as follows
gpif(FPGA)->CY_U3P_PIB_SOCKET_1->CY_U3P_UIB_SOCKET_CONS_1
The usb ports are defined as follows:
#define CY_FX_EP_PRODUCER 0x01 /* EP 1 OUT */
#define CY_FX_EP_CONSUMER 0x81 /* EP 1 IN */
Use the tool streamer that comes with fx3 sdk to perform data acquisition test. When the usb extension cable is short enough, the acquisition test is normal; when the usb extension cable is lengthened to 5 meters, the streamer starts to report an error after collecting for a period of time, and no data can be collected after that.
By reading the DMA Socket and Descriptor Registers, it is found that the UIB status register (SCK_STATUS) is automatically set to 0x04e00000,But the PIB P-PORTDMA register seems to be normal.
When the usb extension cable is too long, what should my program do to transmit data normally (allowing to reduce the transmission speed)?
Solved! Go to Solution.
- Tags:
- fx3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the following KBA:
We recommend to use a certified USB cable of less than 3m length for data transmission. However, you can extend the length by using USB 3.0 hubs or active repeater cables as mentioned in the above KBA.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the following KBA:
We recommend to use a certified USB cable of less than 3m length for data transmission. However, you can extend the length by using USB 3.0 hubs or active repeater cables as mentioned in the above KBA.
Jayakrishna