summaryrefslogtreecommitdiff
path: root/libhw/rp2040_include
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-02 23:22:40 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-04 00:12:54 -0700
commit7a1f764cda070de396fcb186e1f7457ff2704ba4 (patch)
tree7597531f40d76017114b1762e2803f687888a132 /libhw/rp2040_include
parentc336bf7f2205131c86e6d2991770a2c150d85ca9 (diff)
Bump the CPU clock speed, wring a few more MHz out of the hwspi
Diffstat (limited to 'libhw/rp2040_include')
-rw-r--r--libhw/rp2040_include/libhw/rp2040_hwspi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhw/rp2040_include/libhw/rp2040_hwspi.h b/libhw/rp2040_include/libhw/rp2040_hwspi.h
index f90c1af..a76a2c8 100644
--- a/libhw/rp2040_include/libhw/rp2040_hwspi.h
+++ b/libhw/rp2040_include/libhw/rp2040_hwspi.h
@@ -73,6 +73,10 @@ LO_IMPLEMENTATION_H(spi, struct rp2040_hwspi, rp2040_hwspi)
* that the CPU can't do things in time.
* + Experimentally:
* | clk_sys=125MHz | baud=31.25MHz | works OK |
+ * | clk_sys=160MHz | baud=40 MHz | works OK |
+ * | clk_sys=170MHz | baud=42.5 MHz | works OK |
+ * | clk_sys=180MHz | baud=45 MHz | mangled in funny ways? |
+ * | clk_sys=200MHz | baud=50 MHz | messages get shifted right a bit |
* | clk_sys=125MHz | baud=62.5 MHz | messages get shifted right a bit |
*
* Both of these restrictions aught to be avoidable by using a