ardupilot/libraries/AP_HAL_ChibiOS/hwdef/JFB110
Peter Barker 956ac243e1 AP_HAL_ChibiOS: adjust hwdef files for define renames 2024-07-11 09:34:00 +10:00
..
README.md
defaults.parm AP_HAL_ChibiOS/hwdef: changed defaults parm in JFB110 board definition 2023-11-28 15:58:53 +09:00
hwdef-bl.dat hwdef: don't use DEFAULTGPIO in bootloaders 2024-06-25 12:05:40 +10:00
hwdef.dat AP_HAL_ChibiOS: adjust hwdef files for define renames 2024-07-11 09:34:00 +10:00

README.md

JFB-110 Flight Controller

The JFB-110 flight controller is sold by JAE

Features

  • STM32H755 microcontroller
  • Three IMUs: SCHA63T and IIM42652 x2
  • Two BAROs: MS5611 SPI barometer x2
  • builtin I2C IST8310 magnetometer
  • microSD card slot
  • 5 UARTs plus USB, RCIN, SBUS_OUT
  • 16 PWM outputs
  • Four I2C and two CAN ports
  • External Buzzer (Open/Drain and 33V Out)
  • external safety Switch
  • voltage monitoring for servo rail and Vcc
  • two dedicated power input ports for external power bricks

UART Mapping

  • SERIAL0 -> USB
  • SERIAL1 -> UART7 (Telem1)
  • SERIAL2 -> UART5 (Telem2)
  • SERIAL3 -> USART1 (GPS)
  • SERIAL4 -> UART4 (GPS2, marked UART/I2CB)
  • SERIAL5 -> USART6 (RCIN)
  • SERIAL6 -> UART8 (SBUS_OUT)
  • SERIAL7 -> USART3 (debug)
  • SERIAL8 -> USB (SLCAN)

The Telem1 and Telem2 ports have RTS/CTS pins, the other UARTs do not have RTS/CTS.

The USART3 connector is labelled debug, but is available as a general purpose UART with ArduPilot.

RC Input

RC input is configured on the port marked DSM/SBUS RC. This connector supports all RC protocols. Two cables are available for this port. To use software binding of Spektrum satellite receivers you need to use the Spektrum satellite cable.

PWM Output

The JFB-110 supports up to 16 PWM outputs. These are directly attached to the STM32H755 and support all PWM protocols.

The 16 PWM outputs are in 6 groups:

  • PWM 1 and 2 in group1 (TIM15)
  • PWM 3 and 4 in group2 (TIM3)
  • PWM 5, 11 ,12 and 13 in group3 (TIM4)
  • PWM 6 ,9 and 10 in group4 (TIM1)
  • PWM 7 ,8 and 15 in group5 (TIM5)
  • PWM 14 and 16 in group6 (TIM12)

Channels within the same group need to use the same output rate. If any channel in a group uses DShot then all channels in the group need to use DShot.

Battery Monitoring

The board has two dedicated power monitor ports on 8 pin connectors. The correct battery setting parameters are dependent on the type of power brick which is connected. Recomended input voltage is 4.9 to 5.5 volt.

Compass

The JFB-110 has a builtin IST8310 compass. Due to potential interference the board is usually used with an external I2C compass as part of a GPS/Compass combination.

GPIOs

The 16 PWM ports can be used as GPIOs (relays, buttons, RPM etc). To use them you need to limit the number of these pins that is used for PWM by setting the BRD_PWM_COUNT to a number less than 6. For example if you set BRD_PWM_COUNT to 4 then PWM5 and PWM6 will be available for use as GPIOs.

The numbering of the GPIOs for PIN variables in ArduPilot is:

  • PWM(1) 50
  • PWM(2) 51
  • PWM(3) 52
  • PWM(4) 53
  • PWM(5) 54
  • PWM(6) 55
  • PWM(7) 56
  • PWM(8) 57
  • PWM(9) 58
  • PWM(10) 59
  • PWM(11) 60
  • PWM(12) 61
  • PWM(13) 62
  • PWM(14) 63
  • PWM(15) 64
  • PWM(16) 65
  • FMU_CAP1 66
  • FMU_CAP2 67

Analog inputs

The JFB-110 has 9 analog inputs

  • ADC Pin16 -> Battery Voltage
  • ADC Pin18 -> Battery Current Sensor
  • ADC Pin9 -> Battery Voltage 2
  • ADC Pin6 -> Battery Current Sensor 2
  • ADC Pin5 -> ADC 5V Sense
  • ADC Pin11 -> ADC 3.3V Sense
  • ADC Pin10 -> RSSI voltage monitoring
  • ADC Pin13 -> ADC SPARE 1
  • ADC Pin12 -> ADC SPARE 2

I2C Buses

The JFB-110 has 4 I2C interfaces. I2C 3 is for internal only.

  • the internal I2C port is bus 3 in ArduPilot (I2C3 in hardware)
  • the port labelled I2CA is bus 4 in ArduPilot (I2C4 in hardware)
  • the port labelled I2CB is bus 2 in ArduPilot (I2C2 in hardware)
  • the port labelled GPS is bus 1 in ArduPilot (I2C1 in hardware)

CAN

The JFB-110 has two independent CAN buses, with the following pinouts.

Debug

The JFB-110 supports SWD debugging on the debug port

Loading Firmware

The board comes pre-installed with an ArduPilot compatible bootloader, allowing the loading of *.apj firmware files with any ArduPilot compatible ground station.