mRo ctrl zero updates

- add ICM20602 and ICM20648 data ready interrupts
 - enable Bosch BMI088 IMU
 - move HRT_TIMER to TIM3 (same timer as PPM channel)
This commit is contained in:
Daniel Agar
2019-12-01 17:43:15 -05:00
parent a859a6b57c
commit fd72e5e795
6 changed files with 25 additions and 9 deletions
+6
View File
@@ -203,6 +203,9 @@ __EXPORT void board_spi_reset(int ms)
stm32_configgpio(_PIN_OFF(GPIO_SPI1_SCK));
stm32_configgpio(_PIN_OFF(GPIO_SPI1_MISO));
stm32_configgpio(_PIN_OFF(GPIO_SPI1_MOSI));
stm32_configgpio(_PIN_OFF(GPIO_SPI1_DRDY1_ICM20602));
stm32_configgpio(_PIN_OFF(GPIO_SPI1_DRDY2_ICM20948));
// SPI5
for (auto cs : spi5selects_gpio) {
@@ -242,6 +245,9 @@ __EXPORT void board_spi_reset(int ms)
stm32_configgpio(GPIO_SPI1_SCK);
stm32_configgpio(GPIO_SPI1_MISO);
stm32_configgpio(GPIO_SPI1_MOSI);
stm32_configgpio(GPIO_SPI1_DRDY1_ICM20602);
stm32_configgpio(GPIO_SPI1_DRDY2_ICM20948);
// SPI5
for (auto cs : spi5selects_gpio) {