While playing with the ESP8266, ESP32, STM32 and OrangePIs, I decided it might be a good idea to invest in a logic analyser. I opted for a cheap Kingst LA1002 with a sampling rate of 24M @ 8channels. The product while still sold on Aliexpress does not seem to be available on their website.
While I doubt that it can actually achieve the stated specifications the associated product blurb states LA1002 is a logic analyzer product with high cost performance. It has 8 input channels and the sampling rate is up to 24M. Along with the PC software KingstVIS, 8 channels of digital signal could be sampled at the same time, and then they could be converted to digital waveform and displayed on the PC screen. The signal could be analyzed with many standard protocols, to get more straightforward communication data. It helps a lot in testing and analyzing digital system(MCU/ARM/FPGA, etc.), developing and debugging several communication programs, or monitoring and recording some digital signals for a long time. Features ·Portable and lightweight Specifications ·Input channels number: 8 Supported standard protocols: UART/RS-232/485, I2C, SPI, CAN, DMX512, HDMI CEC, I2S/PCM, JTAG,
·Max sampling rate: 24M @ 8channels
·Large sampling depth and support compression
·Compatible USB2.0/3.0 interface
·Powerful software and easy to use
·Support online upgrade automatically
·Max sampling rate: 24M
·Measurement bandwidth: 5M
·Min pulse width can be captured: 80ns
·Max sampling depth: 10G/channel
·Input voltage range: 0V ~ +5V
·Input impedance: 220KΩ, 12pF
·Threshold voltage: Low level < 1.0V, High level > 2.0V
·Standby current: 50mA
·Max operating current: 80mA
·Dimensions: 53mm * 28mm * 14mm
·Supported OS: Windows XP, Vista, Windows 7/8/10(32/64bit)
LIN, Manchester, Modbus, 1-Wire, UNI/O, SDIO, SMBus, USB1.1, PS/2, NEC InfraRed, Parallel, etc…
The LA1002 appears similar to the Saleae 8 channel logic analysers and is based around a Cypress CY7C68013A-56LTXC and may also be supported by Sigrok. The USB ID of the Cypress CY7C68013A-56LTXC can apparently be programmed/changed thereby emulating other “well known” devices.
I didn’t spend too much time investigating cloning LA1002’s USB ID to match the Salaea or using the Sigrok software as the Kingst supplied software (supporting Linux, Windows and Mac) seems more than adequate for my needs.
As can be seen in the screen grab, the KingstVIS software offers a nice range of protocol decoders and I find the dark shading of the User Interface quite easy on the eye.
What’s the best way of playing with this on an Arduino Uno?
Did you try? Any examples?
Cheers
It is very simple Just tap into the appropriate communication lines ensuring that the voltage is 5v or less.
For example when experimenting with serial the tap into to serial RX/TX/GND and connect to the analyser. The same for any other protocol e.g. 1-wire, i2c, SPI etc.
Have fun mate.