Difference between revisions of "Hantek DDS-3X25"

From sigrok
Jump to navigation Jump to search
Line 18: Line 18:


== Protocol ==
== Protocol ==
==== 0xA0: configure ====
Configures the device. The payload is 6 bytes as below:


{| border="0" width="95%" style="font-size: smaller" class="alternategrey sigroktable"
{| border="0" width="95%" style="font-size: smaller" class="alternategrey sigroktable"
|-
|-
! style="width: 3em;" | Command
! style="width: 3em;" | Byte
! style="width: 3em;" | Byte
! style="width: 3em;" | Bit
! style="width: 3em;" | Bit
Line 27: Line 30:


|-
|-
| valign="top" colspan="3" | 0XA0
| '''Configure'''
|-
|
| 1
| 1
|
|
| Mode
| Mode
|-
|-
|
|
|
| 7
| 7
|  
|  
|-
|-
|
|
|
| 6
| 6
|  
|  
|-
|-
|
|
|
| 5
| 5
| 1 = Reset external trigger (send only once)
| 1 = Reset external trigger (send only once)
|-
|-
|
|
|
| 4
| 4
| 1 = External trigger mode enabled
| 1 = External trigger mode enabled
|-
|-
|
|
|
| 3
| 3
| External trigger: 0 = falling, 1 = rising
| External trigger: 0 = falling, 1 = rising
|-
|-
|
|
|
| 2
| 2
| 0 = continuous, 1 = single wave
| 0 = continuous, 1 = single wave
|-
|-
|
|
|
| 1
| 1
|  
|  
|-
|-
|
|
|
| 0
| 0
Line 77: Line 67:


|-
|-
|
| 2
| 2
|
|
|  
|  
|-
|-
|
|
|
| 7
| 7
|  
|  
|-
|-
|
|
|
| 6
| 6
|  
|  
|-
|-
|
|
|
| 5
| 5
|  
|  
|-
|-
|
|
|
| 4
| 4
|  
|  
|-
|-
|
|
|
| 3
| 3
|  
|  
|-
|-
|
|
|
| 2
| 2
|  
|  
|-
|-
|
|
|
| 1
| 1
|  
|  
|-
|-
|
|
|
| 0
| 0
Line 123: Line 104:


|-
|-
|
| 3
| 3
|
|
Line 129: Line 109:


|-
|-
|
| 4
| 4
|
|
Line 135: Line 114:


|-
|-
|
| 5
| 5
|
|
Line 141: Line 119:


|-
|-
|
| 6
| 6
|
|

Revision as of 23:48, 5 April 2013

Hantek DDS-3X25 top.jpg

The Hantek DDS-3X25 is a 25MHz PC-based function generator. It has no external controls, requiring a USB connection to a computer.

Hardware

TODO.

Photos

Protocol

0xA0: configure

Configures the device. The payload is 6 bytes as below:

Byte Bit Description
1 Mode
7
6
5 1 = Reset external trigger (send only once)
4 1 = External trigger mode enabled
3 External trigger: 0 = falling, 1 = rising
2 0 = continuous, 1 = single wave
1
0 Measurement: 0 = frequency, 1 = counter
2
7
6
5
4
3
2
1
0 Output: 0 = pattern generator, 1 = programmable output
3 Digital I/O pins, bits 0-7
4 Bits 0-3 = digital I/O pins bits 8-11, bits 4-7 unused
5 Clock divider, based on 48KHz clock
6