DLO-138 OScope
DLO-138 is alternate firmware for DSO-138 and adds second analog channel, two logic channels, more sample depth and serial port data output.
Code: https://github.com/ardyesp/DLO-138

- pic3.png (153.54 KiB) Viewed 8814 times
DLO-138 is alternate firmware for DSO-138 and adds second analog channel, two logic channels, more sample depth and serial port data output.
Code: https://github.com/ardyesp/DLO-138

Mon Sep 25, 2017 11:48 am
Mon Sep 25, 2017 12:09 pm
Mon Sep 25, 2017 2:06 pm
"C:\Users\Meiner\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\5 2016q3/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -MMD -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_generic_stm32f103c -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10804 -DARDUINO_GENERIC_STM32F103C -DARDUINO_ARCH_STM32F1 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\system/libmaple" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\system/libmaple/include" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\system/libmaple/stm32f1/include" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\system/libmaple/usb/stm32f1" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\system/libmaple/usb/usb_lib" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\cores\maple" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\variants\generic_stm32f103c" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\libraries\EEPROM" "-IC:\Users\Meiner\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "C:\Users\Meiner\AppData\Local\Temp\arduino_build_317073\sketch\DLO-138.ino.cpp" -o "C:\Users\Meiner\AppData\Local\Temp\arduino_build_317073\sketch\DLO-138.ino.cpp.o"Mon Sep 25, 2017 3:43 pm
Or run Arduino with the option: –preserve-temp-files —-> CMD Arduino.exe –preserve-temp-files Ok?
Wed Sep 27, 2017 9:31 pm
[stevestrong – Mon Sep 25, 2017 2:06 pm] –
You could
-copy the line which compiles the sketch file:
"C:\Users\Meiner\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\5 2016q3/bin/arm-none-eabi-g++" -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++11 -MMD -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_generic_stm32f103c -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10804 -DARDUINO_GENERIC_STM32F103C -DARDUINO_ARCH_STM32F1 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ -DMCU_STM32F103C8 -mthumb -march=armv7-m -D__STM32F1__ "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\system/libmaple" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\system/libmaple/include" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\system/libmaple/stm32f1/include" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\system/libmaple/usb/stm32f1" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\system/libmaple/usb/usb_lib" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\cores\maple" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\variants\generic_stm32f103c" "-IC:\Arduino1.8.3\hardware\Arduino_STM32-master\STM32F1\libraries\EEPROM" "-IC:\Users\Meiner\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "C:\Users\Meiner\AppData\Local\Temp\arduino_build_317073\sketch\DLO-138.ino.cpp" -o "C:\Users\Meiner\AppData\Local\Temp\arduino_build_317073\sketch\DLO-138.ino.cpp.o"
Thu Sep 28, 2017 6:11 am
Thu Sep 28, 2017 3:35 pm
Thu Sep 28, 2017 4:42 pm
--preserve-temp-files
Keep temporary files (preprocessed sketch, object files…) after termination. If omitted, temporary files are deleted.
This option is only valid together with --verify or --upload.Thu Sep 28, 2017 6:08 pm
Thu Sep 28, 2017 8:00 pm
Fri Sep 29, 2017 10:09 am
Sat Sep 30, 2017 4:41 am
I had no problem with the code from 8.Setember (MA_MI…) in this thread. I haven’t change the assembler code, I only changed the
display (to ILI9341ILI9341Displays, touch panels and LEDs… shows on my screen. I have used and programmed a few different types of SPI screens( ili9341 , st7735) using Python very successfully and these parallel screens have many of the…View in hardware catalog -SPI and some things in the menu ).
I tested with IDE 1.6.3, 1.8.3 and 1.8.4 with Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog and Blue-Pill (Bootloader with 17k). The compile is ok,the osci is running, I have now only problems with changing the preamp-values(SPI).
Mon Oct 02, 2017 9:49 pm
Sat Oct 07, 2017 6:05 pm
I’ve been able to get the basic wiring from your setup (@mausimick) (LCD and one encoder) and seems that it’s working “OK”.
There are some glitches on D1 and D2, the selection boxes are not cleared.
I had to install also the MCP4725MCP4725Analog, logic and power components… think the difficulties come with the TFT-Lib. Therefore I tried it with an I2C DAC ( MCP4725 ) with success, but In need Pins PB6 PB7, so I had to eliminate the TEST_WAVE on PB&…View in hardware catalog and URTouch libraries.
The problem you had before was also the op-amp gain setting?
I’m going to try and connect the rest of the wires to get the op-amps running and test them.
Might be related to the SPI Chip-Selects or the speed changes.
Sun Oct 08, 2017 4:52 pm
After a long search I found the cause.
in Setup (), the line:
afio_cfg_debug_ports (AFIO_DEBUG_SW_ONLY);purely.
now I can install my own modifications.
Tue Oct 31, 2017 3:42 pm
I am back from Greece, it was wonderful !
I have tested now the old pgm-version, but had problems to with the PGA’s and the DAC.
Therefore I have changed the program and use SPI1 for the tft and SPI2 for PGA’s and DAC.
Now it works, I had some problems with the PGA’s (…S91) with the offset by changing gain …
Tue Oct 31, 2017 3:55 pm

Tue Oct 31, 2017 4:31 pm
Wed Nov 01, 2017 5:49 pm
Yes, that is probably the best approach. It was what I did with my setup.
What is the amplitude of the input signal in the video? it seems to have a bit of noise…
Are the amplitude measures working? They show values on the mV range… Is that the amplitude of the signal? If so that might be why the signal seems a bit “noisy”.
Yes, I also had the offset problem and with 2 amp stages it becomes even more noticeable…
I haven’t been able to assemble your setup just yet, it’s halfway
but now I have disassembled mine so no setup working yet.
I bought a few DSO150DSO150Modules, instruments and finished devices… Mon Feb 27, 2017 5:07 pm Question to willfly1: what about adopting Your software do DSO-150 ? I understand, it is much like DSO-138, but with digital switches (74HC4051)? Here: (…View in hardware catalog to give them a test. They seem ok but only one channel… The encoder interface is simple and works ok.
Thu Nov 02, 2017 3:14 am
I have modified the program, now the offset by changing gain is ok. The noise – I think – is from the preamp without compensation. I need some picoFarad …
[url]https://youtu.be/vbiXGKW42pU/url]