Difference between revisions of "Hantek 6022BE"

From sigrok
Jump to navigation Jump to search
Line 89: Line 89:
}}
}}
</small>
</small>
'''Analog Devices ADS9288 pinout''':
{| border="0" style="font-size: smaller" class="alternategrey sortable sigroktable"
|-
!AD9288 pins
!Description
|-
| S1, S2
| S1=VCC, S2=GND. "Normal operation, data align disabled".
|-
| DFS
| Tied to GND. Data format select = "offset binary" (not "twos complement").
|-
| A<sub>IN</sub>A, A<sub>IN</sub>B
| Analog input channels.
|}
'''Cypress FX2 pinout''':
{| border="0" style="font-size: smaller" class="alternategrey sortable sigroktable"
|-
!FX2 pins
!Description
|-
| CTL2/IFCLK
| Connected to AD9288 ENC<sub>A</sub> and ENC<sub>B</sub>.
|-
| PB0-PB7
| Connected to AD9288 D0<sub>A</sub>-D7<sub>A</sub>.
|-
| PD0-PD7
| Connected to AD9288 D0<sub>B</sub>-D7<sub>B</sub>.
|-
| PA7
| 1kHz probe calibration pin.
|-
| PC0/PC1
| Dual-color (red/green) LED.<br />PC0=1 + PC1=0: LED green.<br />PC0=0 + PC1=1: LED red.<br />PC0=1 + PC1=1: LED off.
|}


== Photos ==
== Photos ==

Revision as of 00:31, 8 April 2017

Hantek 6022BE
Hantek 6022be mugshot.png
Status supported
Source code hantek-6xxx
Channels 2
Samplerate 48MHz
Analog bandwidth 20MHz
Vertical resolution 8bit
Triggers none (SW-only)
Input impedance 1MΩ‖25pF
Memory none
Display none
Connectivity USB
Website hantek.com

The Hantek 6022BE is a USB-based, 2-channel oscilloscope with an analog bandwidth of 20MS/s and 48MS/s sampling rate.

See Hantek 6022BE/Info for more details (such as lsusb -v output) about the device.

Hardware

NXP 74HC4051D (upper/lower, CH1/CH2) pinout:

(GND) Y4 1-   O -16 VCC
(GND) Y6 2- -15 Y2
Z 3- -14 Y1
(GND) Y7 4- -13 Y0
(GND) Y5 5- -12 Y3
(GND) E# 6- -11 S0 (FX2 PC2)
VEE 7- -10 S1 (FX2 PC3)
GND 8- -9 S2 (FX2 PC4)
(GND) Y4 1-   O -16 VCC
(GND) Y6 2- -15 Y2
Z 3- -14 Y1
(GND) Y7 4- -13 Y0
(GND) Y5 5- -12 Y3
(GND) E# 6- -11 S0 (FX2 PC5)
VEE 7- -10 S1 (FX2 PC6)
GND 8- -9 S2 (FX2 PC7)

Microchip 24LC02BI pinout:

(Low, but not GND) A0 1-   O -8 VCC
(GND) A1 2- -7 WP (GND)
(GND) A2 3- -6 SCL (FX2 SCL)
VSS 4- -5 SDA (FX2 SDA)

Analog Devices ADS9288 pinout:

AD9288 pins Description
S1, S2 S1=VCC, S2=GND. "Normal operation, data align disabled".
DFS Tied to GND. Data format select = "offset binary" (not "twos complement").
AINA, AINB Analog input channels.

Cypress FX2 pinout:

FX2 pins Description
CTL2/IFCLK Connected to AD9288 ENCA and ENCB.
PB0-PB7 Connected to AD9288 D0A-D7A.
PD0-PD7 Connected to AD9288 D0B-D7B.
PA7 1kHz probe calibration pin.
PC0/PC1 Dual-color (red/green) LED.
PC0=1 + PC1=0: LED green.
PC0=0 + PC1=1: LED red.
PC0=1 + PC1=1: LED off.

Photos

Another teardown:

Protocol

Oscilloscope command bRequest value Notes
Set CH0 voltage range 0xE0 Possible values: 1,2,5,10 (5V, 2.5V, 1V, 500mV).
Set CH1 voltage range 0xE1 Possible values: 1,2,5,10 (5V, 2.5V, 1V, 500mV).
Set sampling rate 0xE2 Possible values: 48, 30, 24, 16, 8, 4, 1 (MHz) and 50,20,10 (*10kHz).
Trigger oscilloscope 0xE3 Possible values: 1 == start sampling.
Set number of channels 0xE4 Possible values: 1, 2.

Firmware

In order to use this device, the sigrok-firmware-fx2lafw (>= 0.1.4) firmware is required.

The firmware was originally written by Jochen Hoenicke (see README for details), thanks a lot!

Note: The firmware is not flashed into the device permanently! You only need to make it available in the usual place where libsigrok looks for firmware files, it will be used automatically (and "uploaded" to the Cypress FX2's SRAM every time you attach the device to a USB port).

Resources