Difference between revisions of "PoLabs PoScope Basic2"
Jump to navigation
Jump to search
Uwe Hermann (talk | contribs) |
Uwe Hermann (talk | contribs) m (→Sample rates) |
||
Line 92: | Line 92: | ||
!Samplerate | !Samplerate | ||
!Divider | !Divider | ||
!Request value | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 8 MHz | | 8 MHz | ||
| 0x00 | | 0x00 | ||
| 0xfffd | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 6 MHz | | 6 MHz | ||
| 0x01 | | 0x01 | ||
| 0xfffc | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 4 MHz | | 4 MHz | ||
| 0x02 | | 0x02 | ||
| 0xfffa | |||
|} | |} | ||
Line 111: | Line 115: | ||
!Samplerate | !Samplerate | ||
!Divider | !Divider | ||
!Request value | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 2.6 MHz | | 2.6 MHz | ||
| 0x03 | | 0x03 | ||
| 0xfff7 | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 2 MHz | | 2 MHz | ||
| 0x04 | | 0x04 | ||
| 0xfff4 | |||
|} | |} | ||
Line 127: | Line 134: | ||
!Samplerate | !Samplerate | ||
!Divider | !Divider | ||
!Request value | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 1 MHz | | 1 MHz | ||
| 0x05 | | 0x05 | ||
| 0xffe8 | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 900 kHz | | 900 kHz | ||
| 0x05 | | 0x05 | ||
| 0xffe6 | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 800 kHz | | 800 kHz | ||
| 0x05 | | 0x05 | ||
| 0xffe2 | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 700 kHz | | 700 kHz | ||
| 0x05 | | 0x05 | ||
| 0xffde | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 600 kHz | | 600 kHz | ||
| 0x05 | | 0x05 | ||
| 0xffd8 | |||
|} | |} | ||
Line 152: | Line 165: | ||
!Samplerate | !Samplerate | ||
!Divider | !Divider | ||
!Request value | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 500 kHz | | 500 kHz | ||
| 0x05 | | 0x05 | ||
| 0xffd0 | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 400 kHz | | 400 kHz | ||
| 0x05 | | 0x05 | ||
| 0xffc4 | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 300 kHz | | 300 kHz | ||
| 0x05 | | 0x05 | ||
| 0xffb0 | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 250 kHz | | 250 kHz | ||
| 0x06 | | 0x06 | ||
| 0xff88 | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 200 kHz | | 200 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 150 kHz | | 150 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 100 kHz | | 100 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 90 kHz | | 90 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 80 kHz | | 80 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 70 kHz | | 70 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 60 kHz | | 60 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 50 kHz | | 50 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 40 kHz | | 40 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 30 kHz | | 30 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 25 kHz | | 25 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 20 kHz | | 20 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 10 kHz | | 10 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 9 kHz | | 9 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 8 kHz | | 8 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 7 kHz | | 7 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 6 kHz | | 6 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 5 kHz | | 5 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 4 kHz | | 4 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 3 kHz | | 3 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 2.5 kHz | | 2.5 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#dddddd" | |- bgcolor="#dddddd" | ||
| 2 kHz | | 2 kHz | ||
| ... | | ... | ||
| | |||
|- bgcolor="#eeeeee" | |- bgcolor="#eeeeee" | ||
| 1 kHz | | 1 kHz | ||
| ... | | ... | ||
| | |||
|} | |} | ||
Revision as of 01:30, 6 January 2012
The PoLabs PoScope Basic2 is a 16-channel, 8MHz, USB-based logic analyzer (plus oscilloscope, signal/pattern generator, and more).
See PoLabs PoScope Basic2/Info for some more details (such as lsusb -vvv output) on the device.
Components
- Silicon Labs C8051F32x: 8051-based microcontroller with USB and 10bit ADC (datasheet)
- Omron G3VM-401G: Analog switching MOS FET relay (datasheet)
- Analog Devices AD8544: CMOS RRIO quad general-purpose opamp (datasheet)
- Texas Instruments HC74 87K G4 A6EK (TODO)
Photos
Protocol
Starting a sampling run
The command for starting an acquisition is a USB control transfer (request type: vendor-specific, request: 0x07, value: 0xffa0, index: 0x0000, length: 9).
The 9 bytes of data:
Byte | Description | Comments |
---|---|---|
0 | Samplerate divider | (see table below) |
1 | ||
2 | ||
3 | ||
4 | ||
5 | Trigger mask | Bit 0 is the mask for probe 0, bit 7 is the mask for probe 7. The same byte is used as trigger mask byte for bus A or bus B (only one at a time is possible). |
6 | ||
7 | ||
8 |
Stopping a sampling run
Sample rates
8MHz - 4MHz:
Buffer size is 128 bytes, only bus A is available, ...
Samplerate | Divider | Request value |
---|---|---|
8 MHz | 0x00 | 0xfffd |
6 MHz | 0x01 | 0xfffc |
4 MHz | 0x02 | 0xfffa |
2.6MHz - 2MHz:
Buffer size is 1160 bytes, only bus A is available, ...
Samplerate | Divider | Request value |
---|---|---|
2.6 MHz | 0x03 | 0xfff7 |
2 MHz | 0x04 | 0xfff4 |
1MHz - 600kHz:
Buffer size is 1544 bytes, ...
Samplerate | Divider | Request value |
---|---|---|
1 MHz | 0x05 | 0xffe8 |
900 kHz | 0x05 | 0xffe6 |
800 kHz | 0x05 | 0xffe2 |
700 kHz | 0x05 | 0xffde |
600 kHz | 0x05 | 0xffd8 |
500kHz and lower:
Buffer size is only limited by the PC memory, ...
Samplerate | Divider | Request value |
---|---|---|
500 kHz | 0x05 | 0xffd0 |
400 kHz | 0x05 | 0xffc4 |
300 kHz | 0x05 | 0xffb0 |
250 kHz | 0x06 | 0xff88 |
200 kHz | ... | |
150 kHz | ... | |
100 kHz | ... | |
90 kHz | ... | |
80 kHz | ... | |
70 kHz | ... | |
60 kHz | ... | |
50 kHz | ... | |
40 kHz | ... | |
30 kHz | ... | |
25 kHz | ... | |
20 kHz | ... | |
10 kHz | ... | |
9 kHz | ... | |
8 kHz | ... | |
7 kHz | ... | |
6 kHz | ... | |
5 kHz | ... | |
4 kHz | ... | |
3 kHz | ... | |
2.5 kHz | ... | |
2 kHz | ... | |
1 kHz | ... |