Link Search Menu Expand Document

Flight Core v2 External Sensors

Table of contents

  1. GPS/Compass
    1. Hardware
    2. Software
  2. External SPI Based Sensors
    1. Hardware
    2. Software

GPS/Compass

Hardware

Use J10 for standard 6pin style GPS/compass assemblies.

Pin #Signal Name
15VDC (other pins 3.3V, input or output if supplied at another pin)
2EXT_GPS_UART_2W_TX
3EXT_GPS_UART_2W_RX
4EXT_GPS_I2C_SCL
5EXT_GPS_I2C_SDA
6GND

Software

See standard PX4 GPS/compass drivers.

External SPI Based Sensors

Hardware

An external SPI bus connected to SPI6 is available on J14

Flight Core v2

Pin #Signal Name
1VREG_3V3
2SPI6_MISO_EXPANSION (3P3V)
3SPI6_MOSI_EXPANSION (3P3V)
4SPI6_SCK_EXPANSION (3P3V)
5SPI6_CS_EXPANSION_N (3P3V)
6 
7 
8 
9 
10 
11 
12GND

Software

You can enable the external SPI device to run on startup here as required: boards/modalai/fc-v2/init/rc.board_sensors.

For example, and note the -S is capital to denote external IMU, also not specifying bus with -b X which causes the probe to fail:

# External SPI6 ICM-42688
icm42688p -S -R 12 start