Difference between revisions of "YiXingDianZi MDSO"
Jump to navigation
Jump to search
(FX2 pins to analog switches) |
(Change color for ADC inputs) |
||
Line 42: | Line 42: | ||
<small> | <small> | ||
{{chip_56pin | {{chip_56pin | ||
| 1=<span style="color: | | 1=<span style="color:green">(AD9288 D5B)</span> PD5 | ||
| 2=<span style="color: | | 2=<span style="color:green">(AD9288 D6B)</span> PD6 | ||
| 3=<span style="color: | | 3=<span style="color:green">(AD9288 D7B)</span> PD7 | ||
| 4=GND | | 4=GND | ||
| 5=CLKOUT | | 5=CLKOUT | ||
Line 62: | Line 62: | ||
| 18=VCC | | 18=VCC | ||
| 19=GND | | 19=GND | ||
| 20=<span style="color: | | 20=<span style="color:navy">(FX2 CTL0)</span> <span style="color:green">(AD9288 ENCA/B)</span> *IFCLK | ||
| 21=RESERVED | | 21=RESERVED | ||
| 22=<span style="color:purple">(EEPROM SCL)</span> SCL | | 22=<span style="color:purple">(EEPROM SCL)</span> SCL | ||
| 23=<span style="color:purple">(EEPROM SDA)</span> SDA | | 23=<span style="color:purple">(EEPROM SDA)</span> SDA | ||
| 24=VCC | | 24=VCC | ||
| 25=<span style="color: | | 25=<span style="color:green">(AD9288 D0A)</span> PB0 | ||
| 26=<span style="color: | | 26=<span style="color:green">(AD9288 D1A)</span> PB1 | ||
| 27=<span style="color: | | 27=<span style="color:green">(AD9288 D2A)</span> PB2 | ||
| 28=<span style="color: | | 28=<span style="color:green">(AD9288 D3A)</span> PB3 | ||
| 29=PB4 <span style="color: | | 29=PB4 <span style="color:green">(AD9288 D4A)</span> | ||
| 30=PB5 <span style="color: | | 30=PB5 <span style="color:green">(AD9288 D5A)</span> | ||
| 31=PB6 <span style="color: | | 31=PB6 <span style="color:green">(AD9288 D6A)</span> | ||
| 32=PB7 <span style="color: | | 32=PB7 <span style="color:green">(AD9288 D7A)</span> | ||
| 33=GND | | 33=GND | ||
| 34=VCC | | 34=VCC | ||
| 35=GND | | 35=GND | ||
| 36=CTL0 <span style="color: | | 36=CTL0 <span style="color:green">(AD9288 ENCA/B)</span> <span style="color:navy">(FX2 IFCLK)</span> | ||
| 37=CTL1 | | 37=CTL1 | ||
| 38=CTL2 | | 38=CTL2 | ||
Line 96: | Line 96: | ||
| 50=VCC | | 50=VCC | ||
| 51=*WAKEUP | | 51=*WAKEUP | ||
| 52=PD0 <span style="color: | | 52=PD0 <span style="color:green">(AD9288 D0B)</span> | ||
| 53=PD1 <span style="color: | | 53=PD1 <span style="color:green">(AD9288 D1B)</span> | ||
| 54=PD2 <span style="color: | | 54=PD2 <span style="color:green">(AD9288 D2B)</span> | ||
| 55=PD3 <span style="color: | | 55=PD3 <span style="color:green">(AD9288 D3B)</span> | ||
| 56=PD4 <span style="color: | | 56=PD4 <span style="color:green">(AD9288 D4B)</span> | ||
}} | }} |
Revision as of 00:45, 6 November 2018
Status | in progress |
---|---|
Channels | 2 |
Samplerate | 48MHz |
Analog bandwidth | 20MHz |
Vertical resolution | 8bit |
Triggers | none (SW-only) |
Input impedance | 1MΩ‖25pF |
Memory | none |
Display | none |
Connectivity | USB |
The YiXingDianZi MDSO is a USB-based, 2-channel oscilloscope with an analog bandwidth of 20MS/s and 48MS/s sampling rate.
It comes in very compact plastic case (82x65x23mm) without any branding. It has:
- usb type B input
- 2c BNC inputs
- red led
See YiXingDianZi MDSO/Info for more details (such as lsusb -v output) on the device.
Hardware
- Cypress FX2LP CY7C68013A-56PVXC (USB 2.0 HS controller)
- ADC: Analog Devices AD9288
- EEPROM: Microchip 24LC64I (64K I²C EEPROM)
- 2x ST 74HC4051 (8-Channel Analog Mux)
- Crystal oscillator 24MHz (crystal)
- 4x 145 MHz FastFET Op Amp: Analog Devices AD8065 (top markings HRA)
- unmarked DC/DC converter
- 3.3V LDO: AMS1117-3.3
Cypress FX2 pinout:
(AD9288 D5B) PD5 | 1- | O | -56 | PD4 (AD9288 D4B) |
(AD9288 D6B) PD6 | 2- | -55 | PD3 (AD9288 D3B) | |
(AD9288 D7B) PD7 | 3- | -54 | PD2 (AD9288 D2B) | |
GND | 4- | -53 | PD1 (AD9288 D1B) | |
CLKOUT | 5- | -52 | PD0 (AD9288 D0B) | |
VCC | 6- | -51 | *WAKEUP | |
GND | 7- | -50 | VCC | |
RDY0/*SLRD | 8- | -49 | RESET# | |
RDY1/*SLWR | 9- | -48 | GND | |
AVCC | 10- | -47 | PA7 | |
(24MHz crystal) XTALOUT | 11- | -46 | PA6 (CH2 74HC4051 S2) | |
(24MHz crystal) XTALIN | 12- | -45 | PA5 (CH2 74HC4051 S1) | |
AGND | 13- | -44 | PA4 (CH2 74HC4051 S0) | |
AVCC | 14- | -43 | PA3 (CH1 74HC4051 S2) | |
(USB D+) DPLUS | 15- | -42 | PA2 (CH1 74HC4051 S1) | |
(USB D-) DMINUS | 16- | -41 | PA1 (CH1 74HC4051 S0) | |
AGND | 17- | -40 | PA0 | |
VCC | 18- | -39 | VCC | |
GND | 19- | -38 | CTL2 | |
(FX2 CTL0) (AD9288 ENCA/B) *IFCLK | 20- | -37 | CTL1 | |
RESERVED | 21- | -36 | CTL0 (AD9288 ENCA/B) (FX2 IFCLK) | |
(EEPROM SCL) SCL | 22- | -35 | GND | |
(EEPROM SDA) SDA | 23- | -34 | VCC | |
VCC | 24- | -33 | GND | |
(AD9288 D0A) PB0 | 25- | -32 | PB7 (AD9288 D7A) | |
(AD9288 D1A) PB1 | 26- | -31 | PB6 (AD9288 D6A) | |
(AD9288 D2A) PB2 | 27- | -30 | PB5 (AD9288 D5A) | |
(AD9288 D3A) PB3 | 28- | -29 | PB4 (AD9288 D4A) |
ST 74HC4051 (upper/lower, CH1/CH2) pinout:
CH1 (U13) | CH2 (U10) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Microchip 24LC64I pinout:
(VCC) 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 AD9288 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. |
D0A-D7A | Connected to FX2 PB0-PB7. |
D0B-D7B | Connected to FX2 PD0-PD7. |
Firmware
Note: The firmware is flashed into the device permanently.
EEPROM layout
The device has a 8KB I²C EEPROM with the following layout:
c2 47 05 31 21 00 00 04 XX XX XX XX XX XX .. ..
Description:
Bytes | Description |
---|---|
0 | 0xc2: FX2 "c2 load" mode, i.e. VID/PID/DID are loaded from EEPROM as the firmware. |
1-2 | 0x0547: USB vendor ID (VID before firmware renumerate). |
3-4 | 0x2131: USB product ID (PID before firmware renumerate). |
5-6 | 0x0000: USB device ID (DID before firmware renumerate). |
7 | 0x04: FX2 configuration byte (see FX2 TRM for details). |
8-1917h | Firmware. |
1918h -1fffh | All-0xff. |
See full dump of FX2 boot communication with EEPROM: Media:YiXingDianZi MDSO eeprom read.sr.gz