1
Discussion - Software / Re: Different writing speeds
« on: February 08, 2019, 01:05:48 PM »
Hi,
Thank your for answer.
I tried putting in practice all your suggestion. I think the problem is not because of using LibMPSSE library.I used the D2XX drivers direct, as you suggest, and also use the LibMPSSE_0_6_Beta and the results are the same. I also tried to verify the influence of the OS and USB Host by copying a large amount of data to several USB Sticks in the same time with writing on the memory. I tried to execute the program on others SO (Windows 7, for example). The results were the same: there are only 2 different writing (or reading) speeds s1 and s2 ~= 3,5*s1.
I have observed the SPI bus with Oscilloscope and I saw that the data were transferred with the SPI clock that was set to, but with big gaps between frames (10ms for s1 speed and 30 ms for s2 speed).
I've made some other tests like: put the USB selective suspend setting on Disable, change the clock from 1MHz to 30MHz, put pullup resistors on MISO and CS memory pins, use ResetMemory() function before writing any data and WriteDisable() function after writing data on the memory.
In conclusion the results were the same. I don’t know what others test to perform.
If anyone has any suggestions I will be glad to implement it.
Thank your for answer.
I tried putting in practice all your suggestion. I think the problem is not because of using LibMPSSE library.I used the D2XX drivers direct, as you suggest, and also use the LibMPSSE_0_6_Beta and the results are the same. I also tried to verify the influence of the OS and USB Host by copying a large amount of data to several USB Sticks in the same time with writing on the memory. I tried to execute the program on others SO (Windows 7, for example). The results were the same: there are only 2 different writing (or reading) speeds s1 and s2 ~= 3,5*s1.
I have observed the SPI bus with Oscilloscope and I saw that the data were transferred with the SPI clock that was set to, but with big gaps between frames (10ms for s1 speed and 30 ms for s2 speed).
I've made some other tests like: put the USB selective suspend setting on Disable, change the clock from 1MHz to 30MHz, put pullup resistors on MISO and CS memory pins, use ResetMemory() function before writing any data and WriteDisable() function after writing data on the memory.
In conclusion the results were the same. I don’t know what others test to perform.
If anyone has any suggestions I will be glad to implement it.