- Jul 18, 2017
-
-
David Sidrane authored
system_source - This battery status is for the brick that is supplying VDD_5V_IN priority - Zero based, This battery status is for the brick that is connected to the Power controller's N-1 priority input. V1..VN. 0 would normally be Brick1, 1 for Brick2 etc Battery now assigns connected from the api in the updateBatteryStatus, as well as system_source and priority
-
David Sidrane authored
The PX4IO is an population option on some varients. To have 1) FMU only control 2) IO Only control 3) FMU fall back control These pins need to come up as inputs, until the configuration is determined.
-
David Sidrane authored
Dispite what the ref manaul says. Some HW needs the added pull down to insure the pin reads low when not plugged in to USB.
-
David Sidrane authored
-
David Sidrane authored
-
David Sidrane authored
-
David Sidrane authored
-
David Sidrane authored
Added comments to ADC defines with Pin numbers. Added the GPIO_HW_{REV:VER}_DRIVE signals Define the GPIO_nPOWER_IN_{A:C] and assign them to BRICK1, BRICK2 and USB Valid. Regroupped power signals and defined true logic Power Control macros in the arch agnostic form. Defined the same IOCTL defines for FMU GPIO IOCTL Use the power Control macros on board_app_initialize
-
David Sidrane authored
-
David Sidrane authored
-
David Sidrane authored
As done on fmuV4 on resets invoked from system (not boot) insure we establish a low output state (discharge the pins) on PWM pins before they become inputs as a result of the pending reset. We also delay the reset by 400 MS to insure the 3.1 Ms pulse is not too close to the last PWM pulse.
-
David Sidrane authored
The LTC4417 provides a valid signals for brick1, brick 2 and USB This change configures the GIOP and provides 1) a MACRO to read the pin and 2) the IOCTL defines to read it from the FMU. The macro's result is true logic: It is true when the signal is active. (Active low on the the LTC4417). The IOCTL read would be the actual pin state.
-
David Sidrane authored
The V4 HW replaced the LTC4417 provided valid signal for USB. with an active high, version. This commit configures the GIOP and provides 1) a MACRO to read the pin and the IOCTL defines to read it from the FMU. The macro result true logic: true when the signal is high. The IOCTL read would be the actual pin state.
-
David Sidrane authored
The LTC4417 provides a valid signal for USB. This change configures the GIOP and provides 1) True logic macro to read the pin and the IOCTL defines to read it from the FMU. The macro will return true when the signal is active (low on the LTC4417). The IOCTL will read be the actual pin state.
-
David Sidrane authored
Since Hardware flow control has not been enabled this typo survived.
-
David Sidrane authored
-
David Sidrane authored
-
David Sidrane authored
-
David Sidrane authored
-
David Sidrane authored
board_spi_reset is used to reset the internal SPI bus. therefore GPIO_SPI5_DRDY7_EXTERNAL1 should not have been minipulated, as it is on SPI5
-
David Sidrane authored
-
David Sidrane authored
GPIO_nVDD_5V_PERIPH_EN is Active low. board_peripheral_reset need to tune it OFF then ON
-
David Sidrane authored
-
David Sidrane authored
Define the GPIO pin list use the board_gpio_init
-
David Sidrane authored
Removed extra V GPIO_VDD_3V3[V]_SD_CARD_EN and it is active High
-
David Sidrane authored
When BOARD_NUMBER_BRICKS exists it will enable multiple power source testing and reporting.
-
David Sidrane authored
Per https://docs.google.com/spreadsheets/d/1-n0__BYDedQrc_2NHqBenG1DNepAgnHpSGglke-QQwY/edit#gid=730959725 Usage of the PWM UI led is optional and if used it's polaity may be set ot Active low or high.
-
David Sidrane authored
-
David Sidrane authored
-
David Sidrane authored
-
David Sidrane authored
Moving forward we want all the board configs to drive the configuration. This is just cleanup to give a clear example of how ADC should be defined by a simple list, based on ADC pin number as related to the GPIO and channel number. Then the xxx_CHANNEL bit are used to form the ADC_CHANNELS (mask). The GPIO will are used to for a list for initalization.
-
David Sidrane authored
-
David Sidrane authored
Allows Anaode of LEDs to be tied to V5 or V3.3
-
David Sidrane authored
-
Simone Guscetti authored
-
Simone Guscetti authored
-
Simone Guscetti authored
FMU_CH7/8 use timer 12 ch1/2 FMU_CAP use timer 2 Buzzer use timer 9
-
Simone Guscetti authored
-
Simone Guscetti authored
-
Simone Guscetti authored
-