Difference between revisions of "IKALOGIC Scanalogic-2"
Marc Schink (talk | contribs) (→Photos) |
Marc Schink (talk | contribs) |
||
Line 42: | Line 42: | ||
== Protocol == | == Protocol == | ||
In progress. | |||
=== Starting an acquisition === | |||
An acquisition can be started by sending 128 bytes to the device at which only the first 12 bytes which are described below have a meaning. All following bytes can have an arbitrary value. The device is capable to acquire up to 262128 samples whereas the vendor software limits it to 261888 samples. The number of pre- and post-trigger samples together must not exceed the sample limit of the device. | |||
{| border="0" width="50%" style="font-size: smaller;" class="alternategrey sigroktable" | |||
|- | |||
! Byte(s) | |||
! Value | |||
! Description | |||
|- | |||
| 0 | |||
| 0x01 | |||
| Command which indicates to start an acquisition. | |||
|- | |||
| 1 | |||
| 0x00 | |||
| This byte must always be 0x00. | |||
|- | |||
| 2-3 | |||
| Pre-trigger samples | |||
| Number of samples to acquire in multiples of 8 before the trigger occurs. | |||
|- | |||
| 4-5 | |||
| Post-trigger samples | |||
| Number of samples to acquire in multiples of 8 after the trigger occurs. | |||
|- | |||
| 6 | |||
| Samplerate | |||
| | |||
|- | |||
| 7 | |||
| Trigger type | |||
| | |||
|- | |||
| 8 | |||
| Trigger channel | |||
| | |||
|- | |||
| 9 | |||
| 0x00 | |||
| This byte must always be 0x00. | |||
|- | |||
| 10-11 | |||
| After trigger delay | |||
| Time that the trigger will be delayed in milliseconds. The trigger can be delayed from 0 to 65000 ms. | |||
|} | |||
The following example starts an acqusition with a samplerate of 5 MHz and with 2384 samples before and 17456 samples after the trigger occurs. The trigger is configured to channel 2 with a rising edge and is delayed for 20000 ms. | |||
0x01 0x00 0x2A 0x01 0x86 0x08 0x02 0x01 0x03 0x00 0x20 0x4E 0x00 0x00 0x00 | |||
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ... | |||
== Resources == | == Resources == |
Revision as of 11:25, 10 June 2013
Status | in progress |
---|---|
Channels | 4 |
Samplerate | 20MHz |
Samplerate (state) | — |
Triggers | rising, falling, either |
Min/max voltage | -0.7V — 5.5V |
Threshold voltage | ? |
Memory | 256ksamples/ch |
Compression | none |
Website | ikalogic.com |
The SCANALOGIC-2 PRO is a USB-based, 4-channel logic analyzer with up to 20MHz sampling rate.
See Ikalogic SCANALOGIC-2 PRO/Info for more details (such as lsusb -vvv output) about the device.
Hardware
- Atmel ATmega168 PA (datasheet)
- 2x Fairchild Semiconductor 74LCX125
- 4x Microchip 23K256I (datasheet)
- 20 MHz crystal
Photos
Protocol
In progress.
Starting an acquisition
An acquisition can be started by sending 128 bytes to the device at which only the first 12 bytes which are described below have a meaning. All following bytes can have an arbitrary value. The device is capable to acquire up to 262128 samples whereas the vendor software limits it to 261888 samples. The number of pre- and post-trigger samples together must not exceed the sample limit of the device.
Byte(s) | Value | Description |
---|---|---|
0 | 0x01 | Command which indicates to start an acquisition. |
1 | 0x00 | This byte must always be 0x00. |
2-3 | Pre-trigger samples | Number of samples to acquire in multiples of 8 before the trigger occurs. |
4-5 | Post-trigger samples | Number of samples to acquire in multiples of 8 after the trigger occurs. |
6 | Samplerate | |
7 | Trigger type | |
8 | Trigger channel | |
9 | 0x00 | This byte must always be 0x00. |
10-11 | After trigger delay | Time that the trigger will be delayed in milliseconds. The trigger can be delayed from 0 to 65000 ms. |
The following example starts an acqusition with a samplerate of 5 MHz and with 2384 samples before and 17456 samples after the trigger occurs. The trigger is configured to channel 2 with a rising edge and is delayed for 20000 ms.
0x01 0x00 0x2A 0x01 0x86 0x08 0x02 0x01 0x03 0x00 0x20 0x4E 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ...