Gateway Elf Pin usage 2 June 2016 Pin usage Information from Brent email of 10 May 2016 PWM channels for setting current limits on circuit breakers these contorl current limit of bus voltage 0% (low) = 5A 100% (high) = 0A Core Raw TIM3_CH1 on PC6 AM1 TIM3_CH2 on PC7 AM2 TIM3_CH3 on PC8 AM3 TIM3_CH4 on PC9 Main TIM9_CH1 on PB13 Turbine Raw TIM9_CH2 on PB14 Digital Inputs indicating the state of the breaker These indicate state of Bus voltage to the device High = MOSFET fully on Low = MOSFET Limiting Main PE7 Turbine Raw PE8 Core Raw PE9 AM1 PE10 AM2 PE11 AM3 PE12 Digital outputs to control circuit breakers to the Core, Turbine These control Logic power Low = Breaker On high = Breaker Off Core Logic PE13 Turbine Logic PE14 Digital Outputs that Turn the breaker off and put it in a low power state These all control Raw Bus Voltage High = Breaker on Low = Breaker off, low power state Main PD0 Turbine Raw PD1 Core Raw PD2 AM1 PD3 AM2 PD4 AM3 PD5 Digital inputs that indicate state of each circuit breaker output These indicate state of logic power Low = Transistor is in saturation, on High = Out of saturation, off Core Logic PD6 Turbine Logic PD7 Digital inputs that indicate if a circuit breaker has faulted These indicate fault on the Bus voltage Low = Output is turning off or has turned off due to high voltage or Current High = normal Main PD10 Turbine Raw PD11 Core Raw PD12 AM1 PD13 AM2 PD14 AM3 PD15 Turbine I2C SCK on PB10 and PA1 Turbine I2C SDA on PB11 and PA0 Core I2C SCK on PB8 and PB6 Core I2C SDA on PB9 and PE0 Digital output to source Turbine and Core Elf motor synchronization lines (this will generate your 20kHz signal) Core Sync TIM10_CH1 on PB12 Digital Output connected to the wakeup pin on all cartridge elfs Turbine Wake up TIM11_CH1 on PB15 Analog inputs for environmental sensors Pressure PA4 0.33V = 0psia 3.0V = 30psia Humidty PA5 VOUT=(VSUPPLY)(0.00636(sensor RH) + 0.1515), typical at 25C Temperature PA6 VOut= (+6.25 mV/°C × T °C) + 424 mV Water PA7 No water = 0 V, shorted = 3.3V Platform Voltage PC4 3V = 30V Platform Current PC5 3V = 5A Digital outputs for I2C accelerator enables high is enable low is low power state Core I2C PB7 Turbine I2C PE15 Command port UART lines USART1_TX on PA9 USART1_RX on PA10 USART1_CTS on PA11 USART1_RTS on PA12 Turbine Cartridge Processing Position excitation High = LED on Low = LED off TCPPexcitaiton PE1 Digital Input indicating ambient light High = Light sensed Low = Dark LightSense PC10 Digital Output to control 5V power supply High = On Low = Off 5V Shutdown PC11 GPIO to the connector for off-board UARTs PE3 UART Channel 6 PE4 UART Channel 7 PE5 UART Channel 8