7.2MHz logic analyzer speaking the SUMP protocol for the stm32f103
  • C 99.4%
  • Assembly 0.3%
  • Linker Script 0.2%
  • Makefile 0.1%
Find a file
2021-01-10 17:31:28 -06:00
Drivers second DMA channel 2017-04-03 21:40:14 -05:00
Inc 7.2MHz mode, add triggers 2017-04-12 22:24:33 -05:00
Middlewares/ST/STM32_USB_Device_Library second DMA channel 2017-04-03 21:40:14 -05:00
Src Fix numbers 2021-01-10 23:40:33 +03:00
startup test: 1MHz output PWM 2017-04-01 21:35:03 -05:00
.cproject second DMA channel 2017-04-03 21:40:14 -05:00
.gitignore initial state 2017-01-07 21:33:20 -06:00
.mxproject second DMA channel 2017-04-03 21:40:14 -05:00
.project second DMA channel 2017-04-03 21:40:14 -05:00
Makefile custom lengths and speeds 2017-04-03 21:32:58 -05:00
ols.profile-stm32f103.cfg 7.2MHz mode, add triggers 2017-04-12 22:24:33 -05:00
openocd.cfg fix flashing config 2017-04-03 21:32:09 -05:00
README.md README file 2017-04-12 22:36:37 -05:00
STM32F103C8Tx_FLASH.ld second DMA channel 2017-04-03 21:40:14 -05:00
sump.ioc DMA maxes out around 7Mtransactions/s, use assembly polling 2017-04-03 22:33:21 -05:00
sump.xml test: 1MHz output PWM 2017-04-01 21:35:03 -05:00

This logic analyzer polls pins PA0..PA7 at up to a 7.2MHz rate. Use a SUMP client: https://lxtreme.nl/projects/ols/

Copy the file ols.profile-stm32f103.cfg to your ols plugins directory (there will be other ols.*.cfg files there)

When capturing, the device type is "STM32F103 Logic Analyzer"

Largest capture size is 10KB

This sump protocol code is based on https://github.com/gillham/logic_analyzer/blob/master/logic_analyzer.ino

There is some debug output on uart1 PA9/PA10, but it's not needed to use this code.

There's a 100KHz PWM setup on pin PB4 for testing

Compiling requires make and arm-none-eabi-gcc in your path. newlib is recommended