Hi folks,

This series of patches implement some missing functions in the dslogic 
driver.

The patches are available at:
     g...@github.com:asanza/libsigrok.git dslogic

The first patch implements full triggering capability. It reimplements 
patch 3db03ef and add support for the dslogic pro.

The second patch add support for setting voltage thresholds. The dslogic 
is capable to change the voltage threshold between 3.3v logic and 5v 
logic. The dslogic pro is capable of setting an arbitrary threshold 
between 0 and 5v. This patch fully supports dslogic, but only allows 
dslogic pro to set one of two thresholds (3.3 and 5v).

The third patch implements acquisition using an external clock. This was 
only tested with the dslogic, but should also work with the dslogic pro.

The four and fifth patch add support for streaming mode (continuous 
sampling). DSLogic is capable of either buffering samples into internal 
ram or stream them to the usb interface.
These patches allows the user to select which mode should be used.
The four patch changes the type of SR_CONF_CONTINUOUS from UINT to BOOL 
as this makes easier to add support in pulseview (and it does makes more 
sense), while the fifth patch adds proper CONTINUOUS mode support. (it 
should be noted that continuous mode only works for sample rates up to 
25MHz).

The first and second patches where tested in dslogic and dslogic pro, 
third to fifth where only tested with dslogic, but should also work with 
dslogic pro.

Let me know if something needs to be changed,

Kind Regards,
Diego Asanza

The following changes since commit afb001a359f8d2943adb81127ce185acc000f4f0:

   udev rules file: Add entry for Sainsmart DDS120. (2016-05-05 14:06:51 
+0200)

are available in the git repository at:

   g...@github.com:asanza/libsigrok.git dslogic

for you to fetch changes up to 95b05e4f3ffc760c1c54a6c6237795ecc8ccebed:

   dslogic: implement continuous mode (2016-05-07 13:30:46 +0200)

----------------------------------------------------------------
Diego Asanza (5):
       dslogic: Implement Trigger Functionality
       dslogic: add support for voltage threshold
       dslogic: implement acquisition with external clock.
       hwdriver.c: change type of SR_CONF_CONTINUOUS from UINT to BOOL
       dslogic: implement continuous mode

  src/hardware/fx2lafw/api.c      | 130 
++++++++++++++++++++++++++++++++++++----
  src/hardware/fx2lafw/dslogic.c  |  89 ++++++++++++++++++---------
  src/hardware/fx2lafw/dslogic.h  |  10 +++-
  src/hardware/fx2lafw/protocol.c |  31 ++++++++--
  src/hardware/fx2lafw/protocol.h |   9 ++-
  src/hwdriver.c                  |   2 +-
  6 files changed, 218 insertions(+), 53 deletions(-)


--
Diego Asanza



------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to