1
0
Fork 0

max5719: Slow down SPI clock

- setting it to 30MHz hang MCU core
This commit is contained in:
linuswck 2024-01-11 17:46:35 +08:00
parent d3e3451d37
commit 709eae8566
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ pub const SPI_MODE: spi::Mode = spi::Mode {
polarity: spi::Polarity::IdleLow,
phase: spi::Phase::CaptureOnFirstTransition,
};
pub const SPI_CLOCK_MHZ: MegahertzU32 = MegahertzU32::from_raw(30);
pub const SPI_CLOCK_MHZ: MegahertzU32 = MegahertzU32::from_raw(10);
pub const MAX_VALUE: u32 = 0xFFFFF;