Skip to content

"Poor man" oscilloscope based on STM32F746-DISCO evaluation kit

Notifications You must be signed in to change notification settings

QuangHaiNguyen/Oscilloscope_STM32F746

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Oscilloscope on STM32F746 Discovery kit

oscilloscope

Update 2

Hi all, I have never realized that there are people being interested in this project and I have got some requests to port it to the actual STM32CubeIDE framework. Therefore I will dig the project up and spend sometime (during christmas maybe) to port it.

It's not a promise since I still have some other pet projects but here are some milestones I can think of:

  • Port to actual STM32CubeIDE framework
  • Bug fix, refactor, redesign the GUI abit

In the very far future:

  • Implement a spectrum analyzer
  • support a external ADC (coud be via SPI) so that the sampling frequency can be increased
  • Implement logic analyzer (quite tempting but I am not sure if the STM32F7 can handle it)

Update 1

Since STMicroelectronics bought TouchGFX and integrate the graphical stack into the toolchain STM32CubeIDE, this application must be updated to the new toolchain.

Motivation

This oscilloscope is built based on the STM32F746-DISCO kit from STMicroelectronics to demonstrate the processing capability of a Cortex-M7 Microcontroller.

The two main blocks of the application are ADC peripheral, which sampling data from the input and graphcal interface, which displays the data and provides a HMI. The graphical interface is built based on TouchGFX grpahical stack, which provide a mordern look and smartphone feel interface.

Features

  • 2 input channel
  • Sampling rate 1 mega-sample/s per channel
  • Maximum input voltage 3.3V
  • Rising/Falling edge trigger
  • Adjust voltage level, time scale
  • Marker for signal mesurement

Requirements

Hardware

  • STM32F746-DISCO Kit link

Software

These tools are used for developing the application

  • Microsoft Visual Studio (Graphical interface development)
  • Keil (Embedded firmware development)
  • STM32 ST-Link Utility (This tool is used for flasing the application)

Flashing the application

  • Start STM32 ST-Link utility, connect the board to PC, press Connect to the target button
  • Drag and drop the binary file into ST-Link. Binary file is located in folder archive/Project/Oscilloscope/Binary
  • On the top menu bar, choose External Loader -> Add External Loader -> Choose N25Q128A_STM32F746G-DISCO -> Click Validate
  • Click Program verify, click Start

Runing the application

The 2 inputs channel 1 and 2 of the oscilloscope are located on pins A0 and A1 of the arduino header or PA0 and PF10 STM32F7 pin. The Input voltage for those pins are 3.3V.

Project struture

  • archive
    • Project: source code of the project
      • Oscilloscope
        • Binary: binary file of the application
        • Firmware: source code of the firmware
        • Graphic: source code of the graphical interface
    • touchgfx: TouchGFX stack

Contact

For any information or feedback, please use Issues or drop me an email: hainguyen.eeit@gmail.com

About

"Poor man" oscilloscope based on STM32F746-DISCO evaluation kit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published