JAlaj
Members-
Posts
44 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Everything posted by JAlaj
-
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
-
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;
-
Hello I am looking to use Digital Discovery to capture 16 bit SPI data on multiple slaves, all slaves will have CS, MOSI and CLK shorted, and MISO line will be individual for each slave. I want to capture continuous data for 24 hrs and dump it in a text file I also want to power up the part using same HW, so that i can capture SPI right after power up Pls suggest, Thanks, Jalaj
-
Thanks Attila We do not have a slave device at present which can understand JTAG command and respond accordingly. The idea is to use Digilent discovery HW to act as JTAG master to send command and decode the response. As you mentioned to use SPI, and last shifted bit with TMS high. Just curious, how the response on JTAG will be decoded. Do you have any example, just for reference purpose. It will help to understand the command/response.
-
Hello Team, After a successful implementation of SWD, i am now looking to communicate via JTAG protocol using Digilent Discovery. Please route me to any available example for same Thanks, Jalaj
-
Serial Wire Debug(SWD) and JTAG analyzer
JAlaj replied to yogeshL's question in Test and Measurement
Thanks a lot Attila I really appreciate the awesome support. You are setting the new standards and increasing our expectations. Regards, Jalaj- 69 replies
-
- digital discovery
- waveforms
-
(and 1 more)
Tagged with:
-
Serial Wire Debug(SWD) and JTAG analyzer
JAlaj replied to yogeshL's question in Test and Measurement
Thanks Attila We are planning to use Digital Discovery extensively in our project. We are using SPI,I2C, JTAG and SWD Just wanted to know if there is a roadmap for JTAG and SWD LabVIEW support. I understand it has been a recent development and I truly appreciate that you put a lot of hard work to get it done. Would be great to have a LabVIEW based utility for same Many Thanks, Jalaj- 69 replies
-
- digital discovery
- waveforms
-
(and 1 more)
Tagged with:
-
Serial Wire Debug(SWD) and JTAG analyzer
JAlaj replied to yogeshL's question in Test and Measurement
Thank You Shalin and Attila. I appreciate the good work and prompt responses from both sides to close the gaps. Moving forward we would like to develop LabView based automation for this application. Would be great, if you can suggest Shalin about the library and .dll files etc. to be used. Regards, Jalaj- 69 replies
-
- digital discovery
- waveforms
-
(and 1 more)
Tagged with:
-
SPI data capture, 2 million samples at 200kHz sampling
JAlaj posted a question in Test and Measurement
Hello I am trying to use Digilent discovery for 16 bit SPI communication. I want to capture 2 million samples by reading three registers again and again, 2 million times. Need to sample the MISO data at 200kHz. And i need to dump these 2 million MISO data samples in text file. Please suggest how to proceed. Thanks, Jalaj -
Serial Wire Debug(SWD) and JTAG analyzer
JAlaj replied to yogeshL's question in Test and Measurement
Hello Attila, yes, you are right. The SWD you implemented is as per specifications and i remember you asked for Logic Analyzer data to debug why we are not able to communicate with part. Shalin, I think you should share both the scenarios, one in which part is able to communicate (wherein you are sending commands via different SWD hardware (Seger). You should capture the same via Logic Analyzer and share both command and response. In second case, you send the command via Digilent Discovery, and then capture the command and response on Logic Analyzer. Then it will be easier to compare Regards, Jalaj- 69 replies
-
- digital discovery
- waveforms
-
(and 1 more)
Tagged with: