USB low-full-high speed peripherals Forum Discussions
hi, sir/miss
I want to use GPIF for get the data from a adc. But I found a promblem after I add the GPIF.c, which is exported by GPIF designer, to the keil project. I built the project. and download the HEX file to the 68013. But after than, the 68013 look like halted, there are no response. the USB Console said that there are not device connected. The problem disappear after I remove the GPIF.C file in the project.
I think the problem is casued by the linker, so I check the project options in the example project. finally, I fixed this problem by modified the code range and xdata range in the bl51 tab, which is located in the option for the project. here is the snapshot of the setting
Show LessHi
Is there "multiple buffering example"?
Hi,
(sorry if I'm writing this to a wrong forum chapter - I haven't found 100% related one)
My question is in the subject. I want my old an2131 devices to be available on 64-bit OSes so I have to use cyusb.sys. I tried to rewrite working INFs of my fx1 devices simply changing the VIDs and PIDs but unlucky - firmware download didn't work. I even tried downloading procedure of my previous driver based on ezusb.sys so I wanted to connect the cyusb.sys with the renumerated device but failed again. Now I'm unsure if cyusb.sys supports the an2131 at all.
Bring me some light, please.
Regards,
Dmitry
Show Lesshi, Sir/ Madam
now I want to use the GPIF to collect data from an ADC. every convertion will product 6 words of data. These data will be write into the FIFO(e.g. using the EP2). I know the FIFO pointer will increase after the data bus on "Activate".
but I have to give a time stamp before the 6 words be writed into the FIFO. I want to use EPxFIFOBUF to accomplish this goal.
however, I am afraid the GPIF will overlap the time stamp.
If I use the EPxFIFOBUF, like
EPxFIFOBUF[3] =12;
EPxFIFOBUF[4] = 14;
atfer this opration, will the FIFO pointer point to the EPxFIFOBUF[5], or the FIFO pointer won't have any different?
by the way, can I use the FIFO pointer directly in the 8051? Like what the GPIF do.
thanks a lot!
regards!
aaron
Show Less