Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: bhc on November 08, 2020, 09:52:23 PM

Title: AnalogMAX (TEI0015) External Trigger
Post by: bhc on November 08, 2020, 09:52:23 PM
In looking through the documentation and examples, I can't seem to easily identify a mechanism to synchronize data acquistion with an external trigger.  The pinouts suggest there are a range of digital pins and the acquisition clearly can be triggered using the keyboard but I'm after a configuration where the acquisition is synchronized between measurements.  Is there any guidance and mechanism to make this happen?

https://www.arrow.com/en/research-and-events/articles/analogmax
https://wiki.trenz-electronic.de/display/PD/TEI0015+-+Data+capture+Demo

Cheers
Title: Re: AnalogMAX (TEI0015) External Trigger
Post by: Thomas D on November 11, 2020, 03:28:31 PM
Hi,
you can communicate via a serial console (e.g. putty) with the board. By pressing the "t" key 1 mega sample is measured and stored into the sdram memory. By pressing the "*" key 16k samples are transmitted from the stored values in the sdram memory to the pc.
You can also measure and transmit only one ADC value by pressing "r".
In the following link you will find an overview with all possible commands: https://wiki.trenz-electronic.de/display/PD/TEI0015+-+Communication+Interface+and+Commands (https://wiki.trenz-electronic.de/display/PD/TEI0015+-+Communication+Interface+and+Commands).

br
Thomas
Title: Re: AnalogMAX (TEI0015) External Trigger
Post by: bhc on November 11, 2020, 05:30:03 PM
Thanks for the clarification.  Do you have any sense for how much latency might be involved using a serial command?  I was trying to envision how to use the system as a lower cost, single-channel scope but a consistent trigger is essential.  The red pitaya platform has a setting where the user can simply "listen" for the data and the transfer is initiated on receipt of a trigger on the board. 

In the absence of that functionality, one approach might be to use a second microcontroller that can spit out the "t" and "*" characters upon an external trigger.  Are there any future plans for expanded functionality to be added?
Title: Re: AnalogMAX (TEI0015) External Trigger
Post by: Thomas D on November 12, 2020, 03:14:41 PM
Quote from: bhc on November 11, 2020, 05:30:03 PM
Do you have any sense for how much latency might be involved using a serial command? 
No, sorry.

Quote from: bhc on November 11, 2020, 05:30:03 PM
In the absence of that functionality, one approach might be to use a second microcontroller that can spit out the "t" and "*" characters upon an external trigger.  Are there any future plans for expanded functionality to be added?
There are no future plans for this. But you can send a request for the source code to support@trenz-electronic.de and then make the desired changes yourself.

br
Thomas