replace INAV code line reference to function reference
[inav.wiki.git] / Legacy-target-Colibri-RACE.md
blob89a3de4c585658e2ebdd96109c4e29c13150228e
1 # Board - Colibri RACE
3 The Colibri RACE is a STM32F3 based flight control designed specifically to work with the TBS POWERCUBE multi rotor stack. 
5 ## Hardware Features:
6 * STM32F303 based chipset for ultimate performance
7 * PPM, SBUS, DSM, DSMX input (5V and 3.3V provided over internal BUS). No inverters or hacks needed.
8 * 6 PWM ESC output channels (autoconnect, internal BUS)
9         * RGB LED strip support incl. power management
10         * Extension port for GPS / external compass / pressure sensor
11         * UART port for peripherals (Blackbox, FrSky telemetry etc.)
12         * Choose between plug & play sockets or solder pads for R/C and buzzer
13         * 5V buzzer output
14         * MPU6500 new generation accelerometer/gyro
15         * 3x status LED (DCDC pwr/ 3.3V pwr/ status)
16         * Battery monitoring for 12V, 5V and VBat supply
17         * Size: 36mmx36mm (30.5mm standard raster)
18         * Weight: 4.4g
20         For more details please visit:
21         http://www.team-blacksheep.com/powercube
23 ## Serial Ports
25         | Value | Identifier   | Board Markings | Notes                                     |
26         | ----- | ------------ | -------------- | ------------------------------------------|
27         | 1     | VCP          | USB PORT       | Main Port For MSP                         |
28         | 2     | USART1       | FREE PORT      | PC4 and PC5(Tx and Rx respectively)       |
29         | 3     | USART2       | PPM Serial     | PA15                                      |
30         | 4     | USART3       | GPS PORT       | PB10 and PB11(Tx and Rx respectively)     |
32 ## Pinouts
34         Full pinout details are available in the manual, here:
36         http://www.team-blacksheep.com/colibri_race
39 ### SWD - ICSP
41         | Pin | Function       | Notes                                        |
42         | --- | -------------- | -------------------------------------------- |
43         | 1   | VCC_IN         | 3.3 Volt                                     |
44         | 2   | SWDIO          |                                              |
45         | 3   | nRESET         |                                              |
46         | 4   | SWCLK          |                                              |
47         | 5   | Ground         |                                              |
48         | 6   | SWO/TDO        |                                              |
50 ### Internal Bus
52         | Pin | Function       | Notes                                        |
53         | --- | -------------- | -------------------------------------------- |
54         | 1   | PWM1           | MOTOR 1                                      |
55         | 2   | PWM2           | MOTOR 2                                      |
56         | 3   | PWM3           | MOTOR 3                                      |
57         | 4   | PWM4           | MOTOR 4                                      |
58         | 5   | PWM5           | MOTOR 5 (For Y6 or Hex X)                    |
59         | 6   | PWM6           | MOTOR 6 (For Y6 or Hex X)                    |
60         | 7   | BST SDA        | Use For TBS CorePro Control Device           |
61         | 8   | BST SCL        | Use For TBS CorePro Control Device           |
62         | 9   | PWM7           | Can be a normal GPIO (PA1) or PWM            |
63         | 10  | PWM8           | Can be a normal GPIO (PA2) or PWM            |
64         | 11  | 12.2V DCDC     | If 12v is detected, the Blue LED will turn on|
65         | 12  | 5.1V DCDC      | Voltage for MCU                              |
67 ### Servo
69         | Pin | Function       | Notes                                        |
70         | --- | -------------- | -------------------------------------------- |
71         | 1   | Ground         |                                              |
72         | 2   | VCC_OUT        | 5.1 Volt output to LCD Strip                 |
73         | 3   | PWM Servo      | PB14 - PWM10                                 |
75 ### IO_1 - LED Strip
77         | Pin | Function          | Notes                                        |
78         | --- | ----------------- | -------------------------------------------- |
79         | 1   | LED_STRIP         | Enable `feature LED_STRIP`                   |
80         | 2   | VCC_OUT           | 5.1 Volt output to LCD Strip                 |
81         | 3   | Ground            |                                              |
83 ### IO_2 - Sensor Interface
85         | Pin | Function          | Notes                                        |
86         | --- | ----------------- | -------------------------------------------- |
87         | 1   | VCC_OUT           | 4.7 Volt output to the device                |
88         | 2   | Ground            |                                              |
89         | 3   | UART3 TX          | GPS                                          |
90         | 4   | UART3 RX          | GPS                                          |
91         | 5   | SDA               | mag, pressure, or other i2c device           |
92         | 6   | SCL               | mag, pressure, or other i2c device           |
94 ### IO_3 - RC input
96         IO_3 is used for RX_PPM/RX_SERIAL. Under the `PORT` tab, set RX_SERIAL to UART2 when using RX_SERIAL.
98         | Pin | Function          | Notes                                        |
99         | --- | ----------------- | -------------------------------------------- |
100         | 1   | PPM/Serial        | Can PPM or Serial input                      |
101         | 2   | VCC_OUT           | 3.3 Volt output to the device                |
102         | 3   | Ground            |                                              |
103         | 4   | VCC_OUT           | 5.1 Volt output to the device                |
105 ### IO_4 - Buzzer
107         | Pin | Function          | Notes                                        |
108         | --- | ----------------- | -------------------------------------------- |
109         | 1   | BUZZER            | Normal high (5.1v)                           |
110         | 2   | VCC_OUT           | 5.1 Volt output to the device                |
112 ### IO_5 - Free UART
114         | Pin | Function          | Notes                                        |
115         | --- | ----------------- | -------------------------------------------- |
116         | 1   | UART1 TX          | Free UART                                    |
117         | 2   | UART1 RX          | Free UART                                    |
118         | 3   | Ground            |                                              |
119         | 4   | VCC_OUT           | 4.7 Volt output to the device                |
121 ### IO_6 - IR TX (extension)
123         | Pin | Function          | Notes                                        |
124         | --- | ----------------- | -------------------------------------------- |
125         | 1   | IR TX             |                                              |
126         | 2   | Ground            |                                              |