Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

ISP1362 device controller for USB

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

1 Reply