Difference between revisions of "Hantek PSO2020"

From sigrok
Jump to navigation Jump to search
m
(Wikify EEPROM contents. Doesn't contain firmware so we can actually host this.)
Line 104: Line 104:
'''Note''': The firmware is '''not''' flashed into the device permanently! It will be automatically "uploaded" to the Cypress FX2's SRAM every time you attach the device to a USB port.
'''Note''': The firmware is '''not''' flashed into the device permanently! It will be automatically "uploaded" to the Cypress FX2's SRAM every time you attach the device to a USB port.


EEPROM content: [[File:EEPROM_Hantek_PSO2020_1204-24611_201712182026.zip]]
=== EEPROM layout ===
 
The device has a 256-byte I²C EEPROM with the following layout:
 
<span style="background-color: orange">c0</span> <span style="background-color: lime">b4 04</span> <span style="background-color: green">23 60</span> <span style="background-color: lightgreen">00 00</span> <span style="background-color: brown">00</span> <span style="background-color: yellow">91 91 91 91 8a 8a 85 85</span>
<span style="background-color: yellow">81 81 91 91 8a 8a 85 81 81 81 81 81 91 91 91 91</span>
<span style="background-color: yellow">8a 8a 85 85 81 81 91 91 8a 8a 85 81 81 81 81 81</span>
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 
Description:
 
{| border="0" style="font-size: smaller;" class="alternategrey sigroktable"
!Bytes
!Description
|-
| style="background-color: orange" | 0
| '''0xc0''': FX2 "c0 load" mode, i.e. VID/PID/DID are loaded from EEPROM (but not firmware).
|-
| style="background-color: lime" | 1-2
| '''0x04b4''': USB vendor ID (VID).
|-
| style="background-color: green" | 3-4
| '''0x6023''': USB product ID (PID).
|-
| style="background-color: lightgreen" | 5-6
| '''0x0000''': USB device ID (DID).
|-
| style="background-color: brown" | 7
| '''0x00''': FX2 configuration byte (see FX2 TRM for details).
|-
| style="background-color: yellow" | 8-47
| Unknown. Possibly calibration data?
|-
| style="background-color: cyan" | 48-255
| All-0xff.
|}


== Resources ==
== Resources ==

Revision as of 15:09, 24 December 2017

Hantek PSO2020
Hantek PSO2020 0.JPG
Status
Source code [1]
Channels 1
Samplerate 96MHz
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 PSO2020 is a USB-based, 1-channel oscilloscope with an analog bandwidth of 20MS/s and 96MS/s sampling rate. Wide input rage, from ±100mV to ±50V.

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

Hardware


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 (TODO):

FX2 pins Description
CTL2 Connected to AD9288 ENCA and ENCB and FX2 IFCLK.
PB0-PB7 Connected to AD9288 D0A-D7A.
PD0-PD7 Connected to AD9288 D0B-D7B.
PA7 High Voltage Rele'
PC6 Green LED.


Photos

Protocol

Firmware

Note: The firmware is not flashed into the device permanently! It will be automatically "uploaded" to the Cypress FX2's SRAM every time you attach the device to a USB port.

EEPROM layout

The device has a 256-byte I²C EEPROM with the following layout:

c0 b4 04 23 60 00 00 00 91 91 91 91 8a 8a 85 85
81 81 91 91 8a 8a 85 81 81 81 81 81 91 91 91 91
8a 8a 85 85 81 81 91 91 8a 8a 85 81 81 81 81 81
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

Description:

Bytes Description
0 0xc0: FX2 "c0 load" mode, i.e. VID/PID/DID are loaded from EEPROM (but not firmware).
1-2 0x04b4: USB vendor ID (VID).
3-4 0x6023: USB product ID (PID).
5-6 0x0000: USB device ID (DID).
7 0x00: FX2 configuration byte (see FX2 TRM for details).
8-47 Unknown. Possibly calibration data?
48-255 All-0xff.

Resources