Jump to content

lrxd2046

Members
  • Posts

    3
  • Joined

  • Last visited

lrxd2046's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Hi Attila, Thanks for the answer. Actually, I didn't want that delay. The reason I put wait between each command is I was trying to see if the wait can define the delay between each command. I'm trying to use the portal logic analyzer (digital discovery) to read a flash memory. As the waveform showed, the delay between each command takes 90% of the data transfer time. I also tried to use python directly call API to do SPI communication, the delay was even longer than the Waveforms software. As you said, if the delay is USB latency or system latency, there isn't much I can do to reduce the delay. I'll try to execute my scripts on a Linux system to see the results. Thanks for your help.
  2. Hi Attila, I tested, and found that even I put the wait before different commands (Start, Read, Write, Stop), there is still a long delay. I found the delay is typically ~5-6ms. I attached my code and recorded waveforms. I'm wondering if there is any method that we can use to reduce the delay? For example, after a stop command, I want the next start() happens within 100us. Is this possible using the script? Or I have to go with python script?
  3. Hi, I'm trying to test a spi flash memory using Digital Discovery. I'm wondering the how can I change the time interval between two Write or two Read functions. The sample code attached below. Thanks for any answers!
×
×
  • Create New...