tonrei 0 Posted September 23, 2014 Share Posted September 23, 2014 Tiva- Connected Launchpad DSO Here is a beginners version of an Oscilloscope and Network Analyser, using the Connected Launchpad as digitiser and a modified version of the CircuitGear Mini Graphic User Interface of Syscomp Electronic Design Ltd. www.syscompdesign.com. Spec’s: 1 channel differential @ 4 Msps or 2 channel diff. @ 2 Msps max.The 12 bit ADCs sample always at 2Msps, on lower required speeds the signals are oversampled as much as practical for an output of 14 bit unsigned integers. This makes aliasing-filtering easier.The timing is entirely done by the ADC-clock. The software is made with "Energia version 0101E0012" ; thanks for this "easy to start with" tool.and with the wiring_analog.c from https://github.com/vladn2/Energia/ . (this one does not use interrupts). There are many comments in the code to explain the workings. There are timing problems while using Energia version 0101E0013 even with the new pde.jar for optimisation. With a AD9850 direct digital synthesis (DDS) as sine-wave generator, output frequency resolution of 0.0291 Hz with a 125 MHz reference clock. This is based on: http://forum.stellarisiti.com/topic/558-ad9850-with-energia/ CircuitGear GUI modification. The offset (new in vertical.tcl) and Gnd-shift (in cursors.tcl) is now handled in the GUI (display.tcl), not in hardware. In display.tcl is channel C embedded as product of chan.A and B for power measurement. Change of the vertical settings or the cursors ends in a re-plot of the screen with the old data for further investigation. For the trigger-modes and options are buttons used, very handy especially for Single-shot to quickly stop acquisition when a freak signal occurs (the menus are still there). The Single-shot mode now also functions in the scan-mode, so that acquisition stops at the end of the screen. While developing, it became necessary to add a ‘disconnect, item to the hardware menu. The Waveform Generator GUI sends its frequency value as one big number to the LaunchPad. Amplitude and offset are not used (yet). In the Network Analyser mode the logarithmic frequency settings and the right plot limit are changed and the ‘End Frequency’ is as measurement step added.The logarithmic steps are now set by the number of steps per decade. To implement these changes, install the GUI from www.syscompdesign.com. Than rename the original tcl-files in the source-directory that must be replaced by the modified ones and copy the modified versions in the source-directory. Also copy the two images (these were necessary to better fit my screen) in the Images-directory. Future plans: Build the analog part.Implement amplitude setting on the DDS.Implement a Hi-Res-mode by using a longer circular buffer. Tiva-DSO and GUI modification.zip CircuitGear display.zip dubnet, Fred, Automate and 1 other 4 Quote Link to post Share on other sites
icdiman 0 Posted February 24, 2015 Share Posted February 24, 2015 I have downloaded your package on 64 bit linux, and I would very much like to try it, but it says it needs tkTable. I have installed the tktable package, and it still says that it needs tkTable. Can you provide any help? I am not that familiar with tcl/tk. C/C++ has always been my playground Quote Link to post Share on other sites
tonrei 0 Posted February 24, 2015 Author Share Posted February 24, 2015 Hi icdiman, You best check the manual (pdf ) from www.syscompdesign.com. Quote Link to post Share on other sites
icdiman 0 Posted February 24, 2015 Share Posted February 24, 2015 Actually, I have gone through that, already and done the troubleshooting in there. Still having the issues with your software. It appears they do not use tktable. Your project does, however. At least, I can run their project, but when I make the changes with your project, I have the problems with tktable. Quote Link to post Share on other sites
icdiman 0 Posted February 24, 2015 Share Posted February 24, 2015 I have tried ASCII communication with the microcontroller, and that end seems fine. The only issue seems to be this tktable. I have even tried a dump of a strip chart, and I get a stream of data. Quote Link to post Share on other sites
icdiman 0 Posted February 25, 2015 Share Posted February 25, 2015 Hmm, I guess you wouldn't be interested in my ethernet code to add to the project then, either. Well, thanks. Quote Link to post Share on other sites
tonrei 0 Posted February 27, 2015 Author Share Posted February 27, 2015 Hi Icdiman, I used windows 7 and stopt this project, at least for now. Since u say that their project runs ok, did you change the anwer on the "i" command? If so, maybe change in their program the subprograms step by step. (or even line by line, I used Notepad++ for that). Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.