Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The Hantek 6022BE Digital Storage OscilloscopeFor the course on embedded systems we need an oscilloscope to be able to see certain signals created by micro-controller code. These signals are have a signal level of either 5V or 3.3V and are rather slow. These means that a rather limited but cheap scope is good enough for us.The Hantek 6022BE has a sampling rate of 48 MHz or a bandwidth of some 20 MHz. To make things really cheap it uses an USB interface and the display capabilities of a PC to display scope traces and a graphical user interface (GUI) of the PC to control timebase, signal sensitivity and trigger level. Don’t expect features you will get on a 10 kUS$ Textronix scope, you will quickly hit the limitations of the 6022BE, however it should meet the requirements imposed by the course exercises. ![]() The Hantek 6022BE has 2 DC coupled input channels, a calibration signal generator emitting a square signal and it is delivered with 2 80 MHz probes and a USB cable to connect it to the PC. In addition to this you get a mini CD with Windows software implementing a GUI based control program and a software development kit which allows to implement your own code. The scope is based on a Cypress CY7C68013A chip, which is essentially a 8051 μ Controller with built in RAM, I2C and USB interface. An external I2C EPROM is used to store USB Vendor and Product ID as well as a few calibration parameters. When the scope is plugged into the Windows PC a driver is started downloading firmware into the Cypress RAM making it ready for operation. The code is stored in RAM and must therefore re-loaded each time the scope is powered. Once the firmware is loaded the Vendor ID is changed making the scope looks like a different device. | ||||||||
Added: | ||||||||
> > |
This is how the Windows application looks like:
![]() The horizontal time base can be selected between 1,2,5,10,20,50,100,200,500 ns/division up to 1,2,5 s/division. Of course 1 ns/division is pretty useless on 20 MHz scope. The vertical sensitivity can be selected from 20 mV to 5V per division. You can trigger the scope in
| |||||||
Running the Hantek 6022BE under LinuxJust like in the Windows case we must first first load the scope with its firmware. There are different ways to do this:use udev rules to load the firmware using the fxload program make the application program load the firmware if it is not loaded yet When is scope is plugged in without the firmware being loaded it announces itself as a Cypress Semiconductor device with Vendor ID 0x04b4. | ||||||||
Line: 29 to 51 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|