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 (3/4)
2
Reputation
-
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?
-
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
-
JAlaj started following Digilent HW with 32 digital IO channels
-
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
-
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
-
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
-
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
-
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;
-
attila reacted to an answer to a question: Digital Discovery to collect 16 bit SPI data - multiple slaves with same CS, CLK, MOSI and individual MISO