From c0ca4c5cc7379046221a250ce9c90f514e85ca7e Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 31 May 2025 12:41:31 -0400 Subject: [PATCH] docs: Update benchmarks with stm32g431 chip Signed-off-by: Kevin O'Connor --- docs/Benchmarks.md | 19 +++++++++++++++++++ docs/Features.md | 1 + 2 files changed, 20 insertions(+) diff --git a/docs/Benchmarks.md b/docs/Benchmarks.md index 8353003f..8ff0517c 100644 --- a/docs/Benchmarks.md +++ b/docs/Benchmarks.md @@ -286,6 +286,25 @@ The test was last run on commit `247cd753` with gcc version | 1 stepper | 58 | | 3 stepper | 243 | +### STM32G4 step rate benchmark + +The following configuration sequence is used on the STM32G431: +``` +allocate_oids count=3 +config_stepper oid=0 step_pin=PA0 dir_pin=PB5 invert_step=-1 step_pulse_ticks=17 +config_stepper oid=1 step_pin=PB2 dir_pin=PB6 invert_step=-1 step_pulse_ticks=17 +config_stepper oid=2 step_pin=PB3 dir_pin=PB7 invert_step=-1 step_pulse_ticks=17 +finalize_config crc=0 +``` + +The test was last run on commit `cfa48fe3` with gcc version +`arm-none-eabi-gcc (Fedora 14.1.0-1.fc40) 14.1.0`. + +| stm32g431 | ticks | +| ---------------- | ----- | +| 1 stepper | 47 | +| 3 stepper | 208 | + ### LPC176x step rate benchmark The following configuration sequence is used on the LPC176x: diff --git a/docs/Features.md b/docs/Features.md index 2cdd29fe..6c5520d1 100644 --- a/docs/Features.md +++ b/docs/Features.md @@ -190,6 +190,7 @@ represent total number of steps per second on the micro-controller. | SAM4E8E | 2500K | 1674K | | SAMD51 | 3077K | 1885K | | AR100 | 3529K | 2507K | +| STM32G431 | 3617K | 2452K | | STM32F407 | 3652K | 2459K | | STM32F446 | 3913K | 2634K | | RP2040 | 4000K | 2571K |