From ff5689e9e1d2694e34223327ca5d76304b365284 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 22 Jun 2021 00:57:28 -0400 Subject: [PATCH] docs: Add rp2040 benchmark results to Benchmarks.md Signed-off-by: Kevin O'Connor --- docs/Benchmarks.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/Benchmarks.md b/docs/Benchmarks.md index 7a418873..5514f7df 100644 --- a/docs/Benchmarks.md +++ b/docs/Benchmarks.md @@ -360,6 +360,32 @@ micro-controller. | 1 stepper (no delay) | 42 | | 3 stepper (no delay) | 194 | +### RP2040 step rate benchmark ### + +The following configuration sequence is used on the RP2040: + +``` +allocate_oids count=4 +config_stepper oid=0 step_pin=gpio25 dir_pin=gpio3 invert_step=0 +config_stepper oid=1 step_pin=gpio26 dir_pin=gpio4 invert_step=0 +config_stepper oid=2 step_pin=gpio27 dir_pin=gpio5 invert_step=0 +config_stepper oid=3 step_pin=gpio28 dir_pin=gpio6 invert_step=0 +finalize_config crc=0 +``` + +The test was last run on commit `c5667193` with gcc version +`arm-none-eabi-gcc (Fedora 10.2.0-4.fc34) 10.2.0` on a Raspberry Pi +Pico board. + +| rp2040 | ticks | +| -------------------- | ----- | +| 1 stepper | 52 | +| 2 stepper | 52 | +| 3 stepper | 52 | +| 4 stepper | 66 | +| 1 stepper (no delay) | 5 | +| 3 stepper (no delay) | 22 | + ### Linux MCU step rate benchmark ### The following configuration sequence is used on a Raspberry Pi: @@ -420,6 +446,7 @@ hub. | sam4s8c (USB) | 650K | 8d4a5c16 | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | | samd51 (USB) | 864K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | | stm32f446 (USB) | 870K | 01d2183f | arm-none-eabi-gcc (Fedora 7.4.0-1.fc30) 7.4.0 | +| rp2040 (USB) | 873K | c5667193 | arm-none-eabi-gcc (Fedora 10.2.0-4.fc34) 10.2.0 | Host Benchmarks ===============