Skip to content

Write a firmware for DSO Shell using STM32 Duino as basis

License

Notifications You must be signed in to change notification settings

belotv/DSO_STM32Duino

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSOSTM32Duino

This is a new firmware for the DSO 150/DSO shell cheap oscilloscope. It is using the framework provided by the (very nice) STM32duino project, R Clarck version. Please note that it is using cmake-arduino-stm32 as a build system.

Features :

  • Screen support for both ST7789 and ILI9341, autodetected
  • Support both STM32F103 and GD32F303 (the latter is ~ 2 times faster)
  • Supports vanilla hardware and usb+enhanced rotary encoder mod through compiliation switch
  • Zero level and fine voltage calibration
  • Smart use of ADC & gain stages to provide maximum accuracy
  • Trigger : Rising, Falling, both
  • Auto setup : Press "OK" for 3 seconds
  • Settable test signal. Press the rotary encoder for 3 sec to enter the menu.
  • Single shot or repeat mode
  • USB support (not really used as of today)
  • Multithreaded so that it should be relatively responsive
  • Using ADC in DMA or Timer mode depending on the time scale
  • Frequency down to 5us / division using dual ADC capture mode

NB: Recent versions are using PB14 and PB15 for the rotary encoder hack!

screenshot

The code is using parts derived from pig-o-scope and other projects for the ADC management Open DSO150 was used as documentation for the circuit.

About

Write a firmware for DSO Shell using STM32 Duino as basis

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 64.7%
  • C++ 33.3%
  • PHP 0.7%
  • CMake 0.6%
  • HTML 0.4%
  • Python 0.3%