From ff161318745523baf2b08df26688521dd02724f0 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Tue, 17 May 2022 10:47:31 -0400 Subject: [PATCH] icm42670p run at full speed --- .../imu/invensense/icm42670p/InvenSense_ICM42670P_registers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/imu/invensense/icm42670p/InvenSense_ICM42670P_registers.hpp b/src/drivers/imu/invensense/icm42670p/InvenSense_ICM42670P_registers.hpp index 48790473bd..5e9d8259c7 100644 --- a/src/drivers/imu/invensense/icm42670p/InvenSense_ICM42670P_registers.hpp +++ b/src/drivers/imu/invensense/icm42670p/InvenSense_ICM42670P_registers.hpp @@ -54,7 +54,7 @@ static constexpr uint8_t Bit5 = (1 << 5); static constexpr uint8_t Bit6 = (1 << 6); static constexpr uint8_t Bit7 = (1 << 7); -static constexpr uint32_t SPI_SPEED = 12 * 1000 * 1000; // 24 MHz SPI +static constexpr uint32_t SPI_SPEED = 24 * 1000 * 1000; // 24 MHz SPI static constexpr uint8_t DIR_READ = 0x80; static constexpr uint8_t WHOAMI = 0x67;