Skip to content

Commit

Permalink
fix PR issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cvetaevvitaliy committed Jan 14, 2025
1 parent 326c96a commit cab185e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
30 changes: 25 additions & 5 deletions libraries/AP_HAL_ChibiOS/hwdef/StellarH7V2/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,17 @@ https://stingbee.com.ua/flight_controllers/stellarh7v2
DPS310/BMP280 barometer
AT7456E OSD
SD Card
W25N02G/1G dataflash
Power
8S Lipo input voltage with voltage monitoring
12V, 3A BEC for powering Video Transmitter
5V, 2A BEC for internal and peripherals
Interfaces
10x PWM outputs DShot capable
10x PWM outputs DShot capable, 4 outputs BDShot capable
7x UARTs
1x CAN
1x I2C
3x ADC
SD card and 128/256MB NAND for logging
SD card for logging
USB-C port
LED
Red, 3.3V power indicator
Expand Down Expand Up @@ -61,22 +60,41 @@ multiple CAN peripherals can be connected to one CAN bus in parallel. similarly

## RC Input

RC input is configured on the UART4(SERIAL4). It supports all serial RC protocols. SERIAL2_PROTOCOL=23 by default.
The default RC input is configured on the UART4 RX4 input and can be used for all ArduPilot supported unidirectional receiver protocols.
* PPM is not supported.
* SBUS/DSM/SRXL connects to the RX4 pin.
* FPort requires connection to TX4 and RX4 via a bi-directional inverter. See :ref:`common-FPort-receivers`.
* CRSF also requires a TX4 connection, in addition to RX6, and automatically provides telemetry.
* SRXL2 requires a connection to TX4 and automatically provides telemetry. Set :ref:`SERIAL4_OPTIONS<SERIAL4_OPTIONS>` to “4”.


## OSD Support

StellarH7V2 supports using its internal OSD using OSD_TYPE 1 (MAX7456 driver). External OSD support such as DJI or DisplayPort is supported using any spare UART. See :ref:`common-msp-osd-overview-4.2` for more info.
StellarH7V2 supports using its internal OSD using OSD_TYPE 1 (MAX7456 driver). Simulatenous DisplayPort OSD operation is preconfigured on SERIAL 6 but requires OSD_TYPE2 = 5. See :ref:`common-msp-osd-overview-4.2` for more info.

## PWM Output

StellarH7V2 supports up to 10 PWM outputs. All outputs support DShot.

All the channels support DShot. Channels 1-4 support bi-directional DShot. PWM outputs are grouped and every group must use the same output protocol:
* 1, 2,are Group 1;
* 3 - 6 are Group 2;
* 7 - 9 are Group 3;


## Battery Monitoring

The board has 1 built-in voltage dividers and 2x current ADC. support external 3.3V based current sensor

The voltage input is compatible with 2~8S LiPo batteries.
The default battery parameters are:
* :ref:`BATT_MONITOR<BATT_MONITOR>` = 4
* :ref:`BATT_VOLT_PIN<BATT_VOLT_PIN__AP_BattMonitor_Analog>` = 10
* :ref:`BATT_CURR_PIN<BATT_CURR_PIN__AP_BattMonitor_Analog>` = 11
* :ref:`BATT_VOLT_MULT<BATT_VOLT_MULT__AP_BattMonitor_Analog>` = 11
* :ref:`BATT_AMP_PERVLT<BATT_AMP_PERVLT__AP_BattMonitor_Analog>` = 10
* :ref:`BATT2_CURR_PIN<BATT2_CURR_PIN__AP_BattMonitor_Analog>` = 7


## Compass

Expand All @@ -92,3 +110,5 @@ boot button pressed. Then you should load the "ardu*_with_bl.hex" firmware, usin
Subsequently, you can update firmware with Mission Planner.


## Camera Switch
GPIO 81 controls which camera input (CAM1 or CAM2) is applied to the internal OSD. A RELAY function can be enabled to control the switching.
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/StellarH7V2/hwdef-bl.dat
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ define HAL_LED_ON 0
PC15 IMU_CS CS
PB12 MAX7456_CS CS
PE11 FLASH_CS CS

2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/StellarH7V2/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ PD3 GPIO_CAN1_SILENT OUTPUT PUSHPULL SPEED_LOW LOW GPIO(70)
# Motors
PB0 TIM3_CH3 TIM3 PWM(1) BIDIR GPIO(50)
PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51)
PA0 TIM5_CH1 TIM5 PWM(3) GPIO(52)
PA0 TIM5_CH1 TIM5 PWM(3) BIDIR GPIO(52)
PA1 TIM5_CH2 TIM5 PWM(4) GPIO(53)
PA2 TIM5_CH3 TIM5 PWM(5) GPIO(54)
PA3 TIM5_CH4 TIM5 PWM(6) GPIO(55)
Expand Down

0 comments on commit cab185e

Please sign in to comment.