UM0527
General description
23/66
1.1.16
Microcontroller IN/OUT signals
Power supply VDD and VCC
On
On
On
On
On
On
Off
Communication
On
On
On
On
On
On
Off
1.
Programming microcontroller only
Table 4.
UPS modes (continued)
Mains
mode
Boost
mode
Buck
mode
Inverter
mode
Standby
mode
Standby
charge
mode
OFF
mode
Table 5.
Microcontroller IN/OUT signals
Signal
name
Port
ST7
Pin no
ST7
Type/active state
Description
LEDR
PA3
31
digital output/active low
Red LED control
LEDG
PA4
34
digital output/active low
Green LED control
LEDY
PA5
35
digital output/active low
Yellow LED control
INV_A!
PA6
36
digital output/active high
Inverter control
INV_B!
PA7
37
digital output/active high
Inverter control
ACF!
PB0
2
digital output/active low
Input voltage (mains) fail
ACL
PB1
3
digital output/active high
AVR boost control
ACH
PB2
4
digital output/active high
AVR buck control
OUT_REL
PB3
5
digital output/active high
UPS output on/off
BAT_LOW
PB4
6
digital output/active high
Battery low voltage
USB_IN!
PC0
23
digital input/active low
USB connected to source (PC) signal
PHASE
PC1
24
digital input/active high
Input voltage (mains) phase signal
UPS_OFF!
PC2
25
digital input/active low
The UPS output off – joint signal
BUTTON
PC3
26
digital input/active high
Button signal
ICC_DATA
PC4
27
SPI/ICC
Data input from external EEPROM /
ICC data input (flash programming)
MOSI
PC5
28
SPI
Data output for external EEPROM
ICC_CLK
PC6
29
SPI/ICC
SPI clock / ICC clock output (flash
programming)
Unused
PC7
30
TERM
PD0
7
ADC analog input
Temperature sense
PWR_LEV
PD1
8
ADC analog input
Output current measurement signal
AKK_LEV
PD2
9
ADC analog input
Battery voltage measurement signal
OUT_LEV
PD3
10
ADC analog input
Inverter output voltage measurement
signal
INP_LEV
PD4
11
ADC analog input
Input voltage measurement signal