Browse Source

icm42670p run at full speed

main
Daniel Agar 3 years ago committed by David Sidrane
parent
commit
ff16131874
  1. 2
      src/drivers/imu/invensense/icm42670p/InvenSense_ICM42670P_registers.hpp

2
src/drivers/imu/invensense/icm42670p/InvenSense_ICM42670P_registers.hpp

@ -54,7 +54,7 @@ static constexpr uint8_t Bit5 = (1 << 5); @@ -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;

Loading…
Cancel
Save