add Variant Target CrazyBeeF4 Pro series

Add MATEKF411RX Variants: CrazyBEEF4 Pro series targets, including: CrazyBeeF4FRPro/CrazyBeeF4FSPro/CrazyBeeF4DXPro
This commit is contained in:
githubDLG 2018-12-21 18:42:33 +08:00
parent e7d38eeacd
commit d72169fa78
14 changed files with 291 additions and 17 deletions

View File

@ -0,0 +1,66 @@
# CrazyBee F4 DX Pro
![CrazyBee F4 DX Pro front](images/CrazyBeeF4DXProTop.jpg)
![CrazyBee F4 DX Pro back](images/CrazyBeeF4DXProBot.jpg)
## Description
CrazyBee F4 DX Pro flight controller is a Highly integrated board(Receiver/4in1 ESC/OSD/Current Sensor) for 1~2S Whoop brushless racing drone.
## MCU, Sensors and Features
### Hardware and Features
- MCU: STM32F411CEU6 (100MHZ, 512K FLASH)
- IMU: MPU6000 (SPI)
- OSD: Betaflight OSD
- Battery Voltage Sensor: yes
- Power supply: 1-2S battery input (DC 3.5-8.7V)
-Built-in 5V 1A Buck / Boost with LC filter
- Integrated Current sensorMax 28A,Current meter scale set to 1175
- Built-in Serial-based DSM2/DSMX compatible satellite receiver(UART2 RX)
- Integrated inverter for sbus(when use external rx) in UART1 RX
- Integrated 4x Blheli_s ESC: Max 5A per ESC(EMF8BB21F16G)
- ESC Connector: 3-pin, PicoBlade 1.25mm pitch
- Beeper output: 2-pin, soldering pad
- 4 Rx Indicating LEDs: 2 x red and 2 x white
- Board size: 28.5 * 28.5mm
## Resource mapping
| Label | Pin | Timer | DMA | Default | Note |
|----------------------------|------|-------|-----|-------------|----------------------------------|
| MPU6000_INT_EXTI | PA1 | | | | |
| MPU6000_CS_PIN | PA4 | | | | SPI1 |
| MPU6000_SCK_PIN | PA5 | | | | SPI1 |
| MPU6000_MISO_PIN | PA6 | | | | SPI1 |
| MPU6000_MOSI_PIN | PA7 | | | | SPI1 |
| OSD_CS_PIN | PB12 | | | | SPI2 |
| OSD_SCK_PIN | PB13 | | | | SPI2 |
| OSD_MISO_PIN | PB14 | | | | SPI2 |
| OSD_MOSI_PIN | PB15 | | | | SPI2 |
| PWM1 | PB8 | TIM2, CH3 | | | |
| PWM2 | PB9 | TIM4, CH1 | | | |
| PWM3 | PA3 | TIM4, CH2 | | | |
| PWM4 | PA2 | TIM4, CH3 | | | |
| VBAT_ADC_PIN | PB0 | | | | ADC1 |
| CURRENT_ADC_PIN | PB1 | | | | ADC1 |
| BEEPER | PC15 | | | | |
| UART1 TX | PA9 | | | | |
| UART1 RX | PA10 | | | | |
| UART2 TX | PA2 | | | | |
| UART2 RX | PA3 | | | |connect to built-in DSMX receiver |
## Manufacturers and Distributors
- Manufacturers: http://www.happymodel.cn/
- Distributors: Will add soon...
## Designers
## Maintainers
## FAQ & Known Issues
## Other Resources
- User Manual: Will add soon...

View File

@ -0,0 +1,83 @@
# CrazyBee F4 FR Pro
![CrazyBee F4 FR Pro front](images/CrazyBeeF4FRProTop.jpg)
![CrazyBee F4 FR Pro back](images/CrazyBeeF4FRProBot.jpg)
## Description
CrazyBee F4 FR Pro flight controller is a Highly integrated board(Receiver/4in1 ESC/OSD/Current Sensor) for 1~2S Whoop brushless racing drone.
## MCU, Sensors and Features
### Hardware and Features
- MCU: STM32F411CEU6 (100MHZ, 512K FLASH)
- IMU: MPU6000 (SPI)
- OSD: Betaflight OSD
- Battery Voltage Sensor: yes
- Power supply: 1-2S battery input (DC 3.5-8.7V)
- Built-in 5V 1A Buck / Boost with LC filter
- Integrated Current sensorMax 28A,Current meter scale set to 1175
- Built-in SPI Frsky receiver with telemetry(D8/D16 switchable)
- Integrated inverter for sbus(when use external rx) in UART1 RX
- Integrated 4x Blheli_s ESC: Max 5A per ESC(EMF8BB21F16G)
- ESC Connector: 3-pin, PicoBlade 1.25mm pitch
- Beeper output: 2-pin, soldering pad
- 4 Rx Indicating LEDs: 2 x red and 2 x white
- Board size: 28.5 * 28.5mm
## Resource mapping
| Label | Pin | Timer | DMA | Default | Note |
|----------------------------|------|-------|-----|-------------|----------------------------------|
| MPU6000_INT_EXTI | PA1 | | | | |
| MPU6000_CS_PIN | PA4 | | | | SPI1 |
| MPU6000_SCK_PIN | PA5 | | | | SPI1 |
| MPU6000_MISO_PIN | PA6 | | | | SPI1 |
| MPU6000_MOSI_PIN | PA7 | | | | SPI1 |
| OSD_CS_PIN | PB12 | | | | SPI2 |
| OSD_SCK_PIN | PB13 | | | | SPI2 |
| OSD_MISO_PIN | PB14 | | | | SPI2 |
| OSD_MOSI_PIN | PB15 | | | | SPI2 |
| RX_CS_PIN | PA15 | | | | SPI3 |
| RX_SCK_PIN | PB3 | | | | SPI3 |
| RX_MISO_PIN | PB4 | | | | SPI3 |
| RX_MOSI_PIN | PB5 | | | | SPI3 |
| RX_GDO0_PIN | PC14 | | | | |
| BIND_PLUG_PIN | PB2 | | | | |
| RX_LED_PIN | PB9 | | | | |
| PWM1 | PB8 | TIM2, CH3 | | | |
| PWM2 | PB9 | TIM4, CH1 | | | |
| PWM3 | PA3 | TIM4, CH2 | | | |
| PWM4 | PA2 | TIM4, CH3 | | | |
| VBAT_ADC_PIN | PB0 | | | | ADC1 |
| CURRENT_ADC_PIN | PB1 | | | | ADC1 |
| BEEPER | PC15 | | | | |
| UART1 TX | PA9 | | | | |
| UART1 RX | PA10 | | | | |
| UART2 TX | PA2 | | | | |
| UART2 RX | PA3 | | | | |
## Manufacturers and Distributors
- Manufacturers: http://www.happymodel.cn/
- Distributors: Will add soon...
## Designers
## Maintainers
## FAQ & Known Issues
FRSKY Version:
- To bind to your Taranis, you need to be running the non-eu OpenTX version, which allows you to use the required D8 setting to bind to the RX. The factory default BF receiver mode is FRSKY_X, so remember to configure this if needed.
- FrSky X (8 / 16 channels) and FrSky D (8 channels) work both reliably, including in combination with crash flip / Dshot beacon, as long as the TELEMETRY feature is disabled;
Basic telemetry information like RSSI and battery voltage will be sent even when the TELEMETRY feature is disabled;
- On FrSky D, the TELEMETRY feature causes occasional dropouts, depending on how many sensors (BARO, GPS, ...) are enabled, probably due to a timing overrun;
- On FrSky X, the TELEMETRY feature causes hard lockups due to a bug in the telemetry generation code.
## Other Resources
- User Manual: Will add soon...

View File

@ -0,0 +1,73 @@
# CrazyBee F4 FS Pro
![CrazyBee F4 FS Pro front](images/CrazyBeeF4FSProTop.jpg)
![CrazyBee F4 FS Pro back](images/CrazyBeeF4FSProBot.jpg)
## Description
CrazyBee F4 FS Pro flight controller is a Highly integrated board(Receiver/4in1 ESC/OSD/Current Sensor) for 1~2S Whoop brushless racing drone.
## MCU, Sensors and Features
### Hardware and Features
- MCU: STM32F411CEU6 (100MHZ, 512K FLASH)
- IMU: MPU6000 (SPI)
- OSD: Betaflight OSD
- Battery Voltage Sensor: yes
- Power supply: 1-2S battery input (DC 3.5-8.7V)
- Built-in 5V 1A Buck / Boost with LC filter
- Integrated Current sensorMax 28A,Current meter scale set to 1175
- Built-in SPI Flysky receiver with telemetry(AFHDS/AFHDS2A switchable)
- Integrated inverter for sbus(when use external rx) in UART1 RX
- Integrated 4x Blheli_s ESC: Max 5A per ESC(EMF8BB21F16G)
- ESC Connector: 3-pin, PicoBlade 1.25mm pitch
- Beeper output: 2-pin, soldering pad
- 4 Rx Indicating LEDs: 2 x red and 2 x white
- Board size: 28.5 * 28.5mm
## Resource mapping
| Label | Pin | Timer | DMA | Default | Note |
|----------------------------|------|-------|-----|-------------|----------------------------------|
| MPU6000_INT_EXTI | PA1 | | | | |
| MPU6000_CS_PIN | PA4 | | | | SPI1 |
| MPU6000_SCK_PIN | PA5 | | | | SPI1 |
| MPU6000_MISO_PIN | PA6 | | | | SPI1 |
| MPU6000_MOSI_PIN | PA7 | | | | SPI1 |
| OSD_CS_PIN | PB12 | | | | SPI2 |
| OSD_SCK_PIN | PB13 | | | | SPI2 |
| OSD_MISO_PIN | PB14 | | | | SPI2 |
| OSD_MOSI_PIN | PB15 | | | | SPI2 |
| RX_CS_PIN | PA15 | | | | SPI3 |
| RX_SCK_PIN | PB3 | | | | SPI3 |
| RX_MISO_PIN | PB4 | | | | SPI3 |
| RX_MOSI_PIN | PB5 | | | | SPI3 |
| RX_IRQ_PIN | PA14 | | | | |
| BIND_PLUG_PIN | PB2 | | | | |
| RX_LED_PIN | PB9 | | | | |
| PWM1 | PB8 | TIM2, CH3 | | | |
| PWM2 | PB9 | TIM4, CH1 | | | |
| PWM3 | PA3 | TIM4, CH2 | | | |
| PWM4 | PA2 | TIM4, CH3 | | | |
| VBAT_ADC_PIN | PB0 | | | | ADC1 |
| CURRENT_ADC_PIN | PB1 | | | | ADC1 |
| BEEPER | PC15 | | | | |
| UART1 TX | PA9 | | | | |
| UART1 RX | PA10 | | | | |
| UART2 TX | PA2 | | | | |
| UART2 RX | PA3 | | | | |
## Manufacturers and Distributors
- Manufacturers: http://www.happymodel.cn/
- Distributors: Will add soon...
## Designers
## Maintainers
## FAQ & Known Issues
## Other Resources
- User Manual: Will add soon...

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 KiB

View File

@ -20,8 +20,19 @@
#pragma once
#if defined(CRAZYBEEF4FR)
#define TARGET_BOARD_IDENTIFIER "C4FR"
#define USBD_PRODUCT_STRING "CrazyBee F4 FR"
#elif defined(CRAZYBEEF4FS)
#define TARGET_BOARD_IDENTIFIER "C4FS"
#define USBD_PRODUCT_STRING "CrazyBee F4 FS"
#elif defined(CRAZYBEEF4DX)
#define TARGET_BOARD_IDENTIFIER "C4DX"
#define USBD_PRODUCT_STRING "CrazyBee F4 DX"
#else
#define TARGET_BOARD_IDENTIFIER "M41R"
#define USBD_PRODUCT_STRING "MATEKF411RX"
#endif
#define LED0_PIN PC13
@ -47,11 +58,18 @@
#define USE_GYRO
#define USE_GYRO_SPI_MPU6000
#if defined(CRAZYBEEF4FS) || defined(CRAZYBEEF4FR) || defined(CRAZYBEEF4DX)
#define GYRO_1_ALIGN CW90_DEG
#else
#define GYRO_1_ALIGN CW180_DEG
#endif
#define USE_ACC
#define USE_ACC_SPI_MPU6000
#if defined(CRAZYBEEF4FS) || defined(CRAZYBEEF4FR) || defined(CRAZYBEEF4DX)
#define ACC_1_ALIGN CW90_DEG
#else
#define ACC_1_ALIGN CW180_DEG
#endif
// *************** SPI2 OSD *****************************
#define USE_SPI_DEVICE_2
#define SPI2_SCK_PIN PB13
@ -67,32 +85,61 @@
#define SPI3_SCK_PIN PB3
#define SPI3_MISO_PIN PB4
#define SPI3_MOSI_PIN PB5
#define USE_RX_SPI
#define RX_SPI_INSTANCE SPI3
#define RX_NSS_PIN PA15
#if defined(CRAZYBEEF4FS)
#define USE_LED_STRIP
#define USE_RX_SPI
#define USE_RX_FLYSKY
#define RX_CHANNELS_AETR
#define DEFAULT_RX_FEATURE FEATURE_RX_SPI
#define RX_SPI_DEFAULT_PROTOCOL RX_SPI_A7105_FLYSKY_2A
#define FLYSKY_2A_CHANNEL_COUNT 14
#define RX_SPI_INSTANCE SPI3
#define RX_IRQ_PIN PA14
#define BINDPLUG_PIN PB2
#define USE_RX_FLYSKY_SPI_LED
#define RX_FLYSKY_SPI_LED_PIN PB9
#elif defined(CRAZYBEEF4DX)
#define USE_LED_STRIP
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#define SERIALRX_PROVIDER SERIALRX_SPEKTRUM2048
#define SERIALRX_UART SERIAL_PORT_USART2
#define RX_CHANNELS_TAER
#elif defined(CRAZYBEEF4FR)
#define USE_LED_STRIP
#define USE_RX_SPI
#define RX_SPI_INSTANCE SPI3
#define RX_CC2500_SPI_DISABLE_CHIP_DETECTION
#define RX_CC2500_SPI_GDO_0_PIN PC14
#define RX_SPI_LED_PIN PB9
#define RX_SPI_LED_INVERTED
#define USE_RX_CC2500_SPI_PA_LNA
#define RX_CC2500_SPI_TX_EN_PIN PA8
#define RX_CC2500_SPI_LNA_EN_PIN PA13
#define USE_RX_CC2500_SPI_DIVERSITY
#define RX_CC2500_SPI_ANT_SEL_PIN PA14
#define BINDPLUG_PIN PB2
#define RX_CC2500_SPI_LED_PIN PB9
#define BINDPLUG_PIN PB2
#define USE_RX_FRSKY_SPI_D
#define USE_RX_FRSKY_SPI_X
#define USE_RX_SFHSS_SPI
#define DEFAULT_RX_FEATURE FEATURE_RX_SPI
#define RX_SPI_DEFAULT_PROTOCOL RX_SPI_FRSKY_X
#define USE_RX_FRSKY_SPI_TELEMETRY
#else
#define USE_RX_SPI
#define RX_SPI_INSTANCE SPI3
#define RX_CC2500_SPI_DISABLE_CHIP_DETECTION
#define RX_CC2500_SPI_GDO_0_PIN PC14
#define RX_CC2500_SPI_LED_PIN PB9
#define RX_CC2500_SPI_LED_PIN_INVERTED
#define USE_RX_CC2500_SPI_PA_LNA
#define RX_CC2500_SPI_TX_EN_PIN PA8
#define RX_CC2500_SPI_LNA_EN_PIN PA13
#define USE_RX_CC2500_SPI_DIVERSITY
#define RX_CC2500_SPI_ANT_SEL_PIN PA14
#define BINDPLUG_PIN PB2
#define USE_RX_FRSKY_SPI_D
#define USE_RX_FRSKY_SPI_X
#define USE_RX_SFHSS_SPI
#define DEFAULT_RX_FEATURE FEATURE_RX_SPI
#define RX_SPI_DEFAULT_PROTOCOL RX_SPI_FRSKY_X
#define USE_RX_FRSKY_SPI_TELEMETRY
#endif
// *************** UART *****************************
#define USE_VCP

View File

@ -11,3 +11,8 @@ TARGET_SRC = \
rx/cc2500_frsky_d.c \
rx/cc2500_frsky_x.c \
rx/cc2500_sfhss.c
ifeq ($(TARGET), CRAZYBEEF4FS)
TARGET_SRC += \
drivers/rx/rx_a7105.c \
rx/flysky.c
endif