aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorriceman2000 <[email protected]>2025-09-14 11:30:22 -0400
committerriceman2000 <[email protected]>2025-09-14 11:30:22 -0400
commitdaae1fe5c9357ae97b897defae3d149eeafcc49f (patch)
treedc843411a1b5269f5316db808a1155c02f5cc88b
parent6beb7e35a6bf2ae0e72a389b2dac6bde08e5dcd2 (diff)
Up SPI freq
-rw-r--r--examples/rp/src/bin/ethernet_w55rp20_tcp_server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rp/src/bin/ethernet_w55rp20_tcp_server.rs b/examples/rp/src/bin/ethernet_w55rp20_tcp_server.rs
index 0d69b66c4..f51df2df9 100644
--- a/examples/rp/src/bin/ethernet_w55rp20_tcp_server.rs
+++ b/examples/rp/src/bin/ethernet_w55rp20_tcp_server.rs
@@ -64,7 +64,7 @@ async fn main(spawner: Spawner) {
64 64
65 // Construct an SPI driver backed by a PIO state machine 65 // Construct an SPI driver backed by a PIO state machine
66 let mut spi_cfg = SpiConfig::default(); 66 let mut spi_cfg = SpiConfig::default();
67 spi_cfg.frequency = 10_000_000; // The PIO SPI program is much less stable than the actual SPI 67 spi_cfg.frequency = 12_500_000; // The PIO SPI program is much less stable than the actual SPI
68 // peripheral, use higher speeds at your peril 68 // peripheral, use higher speeds at your peril
69 let spi = Spi::new(&mut common, sm0, clk, mosi, miso, p.DMA_CH0, p.DMA_CH1, spi_cfg); 69 let spi = Spi::new(&mut common, sm0, clk, mosi, miso, p.DMA_CH0, p.DMA_CH1, spi_cfg);
70 70