- Download files from github. Download zip. Unzip to any directory - desktop or documents will work.
- Get a sump GUI. I use Logic Sniffer (ols.lxtreme.nl). Download the latest zip file and unzip to any directory. Requires Java JRE to be installed.
- If using Logic Sniffer, copy the configuration files from TeensyLogicAnalyzer/LogicSniffer to ols-0.9.7.2/plugins
- Run Teensy or TyQt to load desired file from Hex directory
- Teensy 3.1/3.2 - set Tools -> Clock Speed to 96 MHz optimized (overclock)
- Teensy 3.0 - set Tools -> Clock Speed to 96 MHz (overclock)
- Teensy LC - set Tools -> Clock Speed to 48 MHz optimized
It will get a warning, "Low memory available, stability problems may occur". This is ok - we want to record as much data as possible :)
If you don't have any signals to connect, you can change the $define CREATE_TEST_FREQUENCIES to 1 to generate test signals. This will output PWM signals on certain pins. No jumpering of pins is necessary to see the data. Output pins are 3,4,5 (and 6,7 on 3.x).
- Load Teensy with the logic analyzer code and run (LED should be blinking every 2 seconds).
- In ols-0.9.7.2 directory, run or click on run.bat.
- Select Capture -> Begin Capture
- Set Connection type to Serial port, Analyzer port to your Teensy COM port (verify at Teensyduino Tools -> Port), Port Speed 115200bps (may not matter since USB)
- Set Device type as follows: (if it's not available, did you copy the .cfg file correctly?)
-
Teensy 3.0/3.1/3.2 - Teensy 96 MHz OLS
-
Teensy LC - Teensy LC 48 MHz OLS
- Select Acquisition tab and set Sampling Rate and Recording Size to desired settings.
- If a trigger is desired, select Triggers tab, set Enabled, set Before/After ratio, and select Mask and Value.
- Select Capture. Data should show up in window.
Basic pinout:
Channel | Pin |
---|---|
0 | 2 |
1 | 14 |
2 | 7 |
3 | 8 |
4 | 6 |
5 | 20 |
6 | 21 |
7 | 5 |
Hardware pinout:
Channel | Pin |
---|---|
0 | 1 |
1 | 8 |
See Users_Guide.pdf for more details and how to build/use Hardware configurations.