diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-05-25 10:32:16 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-05-25 10:32:16 +0300 |
commit | fff25c50df4b8889416e9e822b7005791fc36614 (patch) | |
tree | 255818f55ce20db4d653e03caa11529cafbf1974 | |
parent | 22629149b8bbbeb41362b420c08e161d9f5d24cf (diff) |
Added a comment
-rw-r--r-- | src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.cpp b/src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.cpp index b4cc0e97..74da25e4 100644 --- a/src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.cpp +++ b/src/Networking/W5500Ethernet/Wiznet/Ethernet/WizSpi.cpp @@ -28,7 +28,7 @@ // SPI data rate. I tried 60MHz and we got some data corruption when uploading files, so I reduced it to 40MHz. // 2018-01-11: We have now received one report of data corruption at 40MHz, so reduced this to 30MHz // 2022-05-23: Very occasionally we get data corruption when uploading files, with a character being replaced by the following character. So reduced to 25MHz. -const uint32_t SpiClockFrequency = 25000000; +const uint32_t SpiClockFrequency = 25000000; // actually gets rounded down to 120/5 = 24MHz const unsigned int SpiPeripheralChannelId = 0; // we use NPCS0 as the slave select signal // Functions called by the W5500 module to transfer data to/from the W5500 via SPI |