This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AT91SAM7SE-EK - AT91C_UDP_TXCOMP Interupt only every 1ms

Dear All,

I took the keil sample for AT91SAM7S-EK for mass storage and modufied it for my AT91SAMSE-EK. After the modification the program runs fine and I can use the board as a USB mass storage.

The big problem is the the reading speed on Windows side. Wrtite speed is acceptable. If the PC wants to read something, I read the sector from the flash (wich is pretty fast) and send 64 Byte to the host. After that I wait for the AT91C_UDP_TXCOMP Interupt that should come after the Buffer is empty to transfer the next 64 Byte. But this interupt occurs only every 1ms which slows down the reading speed. Does anybody know why the TXCOMP interupt is comming only every 1ms?

Thanks a lot for the help,

Christian

Parents Reply Children