Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

ISP1362 device controller for USB

Altera_Forum
Honored Contributor II
1,485 Views

hi, 

 

I’m modifying the firmware coding of ISP1362 USB device controller in Altera CD-ROM (DE2_NIOS_DEVICE_LED in DE2_Demonstrations folder). So that it can transfer 16 bytes data per bulk transfer. 

Please give me suggestion whether I’m doing correctly or not. 

1) Read the user enter characters from PC 

2) Enable the bulk transfer 

3) ReadEndpoint with length 16 bytes 

Hal4D13_ReadEndpoint(EPINDEX4EP01,(data + offset), 8) 

4) Write endpoint with length 16 bytes 

Hal4D13_WriteEndpoint(EPINDEX4EP02, data, 16) 

5) Display the result on PC 

Am I missing anything? Please give me some advices and suggestions. 

Thanks and regards, 

Summer
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
509 Views

COuld you give some help about that :)

0 Kudos
Reply