Jump to content

JAlaj

Members
  • Posts

    44
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

JAlaj's Achievements

Frequent Visitor

Frequent Visitor (3/4)

2

Reputation

  1. Thanks JColvin I have not attempted this capture yet. I am trying to understand the overall setup using Digilent Discovery. If drive strength becomes bottleneck, then i will have to design Buffer ckt on board. But i was first curious to understand the HW requirements, and settings in GUI. Regarding your suggestion of different SPI pattern generator and Logic Analyzer, do you mean i should use two Digital Discoveries HW?
  2. Thanks Attila I was trying that but i couldn't understand how FIFO will work here. Since Digilent DD has limited memory, it has to dump data into file to empty buffer and collect next set of data. But how do i make it synchronous. Would be great, if you can share one example code. I was trying to follow example code in script, but didn't get much help
  3. Hello Attila, I am trying to capture SPI data every 1ms. Its a 16 bit SPI capture. My target is to capture data for 3 hours. Periodic capture is required as i need to perform FFT on this data. I am unable to achieve this. Please suggest the best way
  4. Hello Team, Please suggest if there is any available hardware wherein i can have 32 MISO lines, 1Chip select, 1 CLK and 1 MOSI Thanks, Jalaj
  5. Thanks Attila Is there a way to dump data in text file and capture simultaneously so that i never hit the memory limit, something like filling/emptying FIFO Also, how do you dump the 15 MISOs data in text file Regarding your question on read/write in my SPI commands....my part works on below SPI format bit15 , bit[14:0] if bit 15 is 0, then its a read command for part if bit 15 is 1, then its a write command for part... so if give Write (16, 0x0055), then i am reading address 55 if i give Write (16, 0x0055) followed by another Write (16, 0x00AA)....here i am writing register 55 with data AA Regards JAlaj
  6. Hello Attila i tried the Sensor tab as you suggested Attached is my script. i want to configure my part first and then read data iteratively I see there is huge delay between commands outside the loop function(refer attached logic analyzer snap). Please suggest how it can be minimized Additionally it would be nice if the logic analyzer displays correct data even if i zoom after capturing large data
  7. Hello Attila Thanks for sharing the command help My objective is to read data from 24 MISOs. 24 slaves will have common CS, CLK and MOSI This Digilent 16 bit SPI Master will keep sending commands to 24 slaves and i need to capture 24 MISOs. Need to capture this data in file. This communication need to run continuously for 24 hrs. The sampling rate needs to be around 200us , means CS falling to falling edge is 200us. I am struggling to achieve this via Digilent as i am still not able to do this for 1 slave (MISO) Would appreciate if you can suggest some script. I tried following Sensor examples you mentioned earlier, but couldn't follow much. Regards Jalaj
  8. Hello Attila Please suggest if there is any documentation about the commands used in various examples. what is the syntax used, and response expected out of those commands Thanks, Jalaj
  9. Hello Using Sensor tab, i was following 3rd example. I couldn't understand example 1 and 2. In example 3, how do i read the reg 0x330, hex address is 330. Please suggest. Moreover, the max limit on number of samples is 1M. How do i go beyond that
  10. Thanks Attila Where can i see the details about commands used in example menu. Basically, i am trying to understand about the commands used and intent in this example function loop(){ var rg = CmdRead(8, 0xF2, 0, 8, 6); // DATA X Y Z // convert data bits to signed value relative to gravitational constant var x = data2g(rg[1], rg[0]); var y = data2g(rg[3], rg[2]); var z = data2g(rg[5], rg[4]); // total acceleration var s = sqrt(sqr(x)+sqr(y)+sqr(z)); if(!FileAppendLine("~/Desktop/default.csv", [s, z, y, z])) return "File write failed"; rgG.push(s); return true;
  11. Thanks Attila, this works how do i dump all the MISO data in a file read via Sensor tab Also, how do i capture multiple MISO via this sensor tab and dump all data in csv
  12. Thanks, but still the CS disabled time is very high after the command is done. How can i shorten that time too. I want to minimize the over all time to sample data faster Regards, Jalaj
  13. Image attached for Chip select, i want cobtrol the chip select low and high duration
  14. When i captured the Chip select, CLK, MOSI on oscilloscope, it seems that CS falling to rising delay is in order of millisec. Even when my clock is in Mhz. Can i reduce/control the CS delay
×
×
  • Create New...