mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 03:21:36 +08:00
px4_fmu-v6xrt:SPI1 is icm42686p
This commit is contained in:
committed by
Daniel Agar
parent
86f96f3b95
commit
f1f5934ba2
@@ -44,7 +44,7 @@
|
|||||||
constexpr px4_spi_bus_all_hw_t px4_spi_buses_all_hw[BOARD_NUM_SPI_CFG_HW_VERSIONS] = {
|
constexpr px4_spi_bus_all_hw_t px4_spi_buses_all_hw[BOARD_NUM_SPI_CFG_HW_VERSIONS] = {
|
||||||
initSPIHWVersion(V6XRT_00, {
|
initSPIHWVersion(V6XRT_00, {
|
||||||
initSPIBus(SPI::Bus::LPSPI1, {
|
initSPIBus(SPI::Bus::LPSPI1, {
|
||||||
initSPIDevice(DRV_IMU_DEVTYPE_ICM42688P, SPI::CS{GPIO::Port2, GPIO::Pin11}, SPI::DRDY{GPIO::Port3, GPIO::Pin19}), /* GPIO_EMC_B2_01 GPIO2_IO11, GPIO_AD_20, GPIO3_IO19 */
|
initSPIDevice(DRV_IMU_DEVTYPE_ICM42686P, SPI::CS{GPIO::Port2, GPIO::Pin11}, SPI::DRDY{GPIO::Port3, GPIO::Pin19}), /* GPIO_EMC_B2_01 GPIO2_IO11, GPIO_AD_20, GPIO3_IO19 */
|
||||||
}, {GPIO::Port2, GPIO::Pin1}), // Power GPIO_EMC_B1_33 GPIO2_IO01
|
}, {GPIO::Port2, GPIO::Pin1}), // Power GPIO_EMC_B1_33 GPIO2_IO01
|
||||||
|
|
||||||
initSPIBus(SPI::Bus::LPSPI2, {
|
initSPIBus(SPI::Bus::LPSPI2, {
|
||||||
@@ -64,7 +64,7 @@ constexpr px4_spi_bus_all_hw_t px4_spi_buses_all_hw[BOARD_NUM_SPI_CFG_HW_VERSION
|
|||||||
|
|
||||||
initSPIHWVersion(V6XRT_30, {
|
initSPIHWVersion(V6XRT_30, {
|
||||||
initSPIBus(SPI::Bus::LPSPI1, {
|
initSPIBus(SPI::Bus::LPSPI1, {
|
||||||
initSPIDevice(DRV_IMU_DEVTYPE_ICM42688P, SPI::CS{GPIO::Port2, GPIO::Pin11}, SPI::DRDY{GPIO::Port3, GPIO::Pin19}), /* GPIO_EMC_B2_01 GPIO2_IO11, GPIO_AD_20, GPIO3_IO19 */
|
initSPIDevice(DRV_IMU_DEVTYPE_ICM42686P, SPI::CS{GPIO::Port2, GPIO::Pin11}, SPI::DRDY{GPIO::Port3, GPIO::Pin19}), /* GPIO_EMC_B2_01 GPIO2_IO11, GPIO_AD_20, GPIO3_IO19 */
|
||||||
}, {GPIO::Port2, GPIO::Pin1}), // Power GPIO_EMC_B1_33 GPIO2_IO01
|
}, {GPIO::Port2, GPIO::Pin1}), // Power GPIO_EMC_B1_33 GPIO2_IO01
|
||||||
|
|
||||||
initSPIBus(SPI::Bus::LPSPI2, {
|
initSPIBus(SPI::Bus::LPSPI2, {
|
||||||
@@ -83,7 +83,7 @@ constexpr px4_spi_bus_all_hw_t px4_spi_buses_all_hw[BOARD_NUM_SPI_CFG_HW_VERSION
|
|||||||
}),
|
}),
|
||||||
initSPIHWVersion(V6XRT_50, {
|
initSPIHWVersion(V6XRT_50, {
|
||||||
initSPIBus(SPI::Bus::LPSPI1, {
|
initSPIBus(SPI::Bus::LPSPI1, {
|
||||||
initSPIDevice(DRV_IMU_DEVTYPE_ICM42688P, SPI::CS{GPIO::Port2, GPIO::Pin11}, SPI::DRDY{GPIO::Port3, GPIO::Pin19}), /* GPIO_EMC_B2_01 GPIO2_IO11, GPIO_AD_20, GPIO3_IO19 */
|
initSPIDevice(DRV_IMU_DEVTYPE_ICM42686P, SPI::CS{GPIO::Port2, GPIO::Pin11}, SPI::DRDY{GPIO::Port3, GPIO::Pin19}), /* GPIO_EMC_B2_01 GPIO2_IO11, GPIO_AD_20, GPIO3_IO19 */
|
||||||
}, {GPIO::Port2, GPIO::Pin1}), // Power GPIO_EMC_B1_33 GPIO2_IO01
|
}, {GPIO::Port2, GPIO::Pin1}), // Power GPIO_EMC_B1_33 GPIO2_IO01
|
||||||
|
|
||||||
initSPIBus(SPI::Bus::LPSPI2, {
|
initSPIBus(SPI::Bus::LPSPI2, {
|
||||||
|
|||||||
Reference in New Issue
Block a user