summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/main.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-19 21:57:17 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-23 12:39:09 -0700
commit910c85365ff3d7b2601132fd53542b6e594fa855 (patch)
treedc21cf764e9e25d876a8a02b02fb28364c2be2bd /cmd/sbc_harness/main.c
parent24cd8ca4ee1ea08526eb82e6c122870c86da5603 (diff)
Speed SPI back up
Diffstat (limited to 'cmd/sbc_harness/main.c')
-rw-r--r--cmd/sbc_harness/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c
index 23195b3..4683c72 100644
--- a/cmd/sbc_harness/main.c
+++ b/cmd/sbc_harness/main.c
@@ -71,7 +71,7 @@ COROUTINE init_cr(void *) {
rp2040_hwspi_init(&globals.dev_spi, "W5500", RP2040_HWSPI_0,
SPI_MODE_0, /* the W5500 supports mode 0 or mode 3 */
- 5*1000*1000, /* run at the W5500's max rate of 80MHz */
+ 60*1000*1000, /* as close to the W5500's max rate of 80MHz as we can without hwspi borking */
16, /* PIN_MISO */
19, /* PIN_MOSI */
18, /* PIN_CLK */