UPS25 4
RTD Embedded Technologies, Inc
TABLE OF CONTENTS
CHAPTER 1
- INTRODUCTION ............................................................................... 7
Features ........................................................................................................................................................................ 7
Some of the key features of the UPS25 include: ................................................................................................... 7
Power supply unit........................................................................................................................................................ 8
Charger unit................................................................................................................................................................. 8
Host interface and control .......................................................................................................................................... 8
Mechanical description ............................................................................................................................................... 8
Connector description ................................................................................................................................................. 8
What comes with your board ..................................................................................................................................... 9
When you need help .................................................................................................................................................. 10
CHAPTER 2
- BOARD SETTINGS......................................................................... 11
Factory-Configured Jumper Settings ...................................................................................................................... 11
Charger control
(Factory setting: C/2, top off charge enabled) ....................................................................... 15
CHAPTER 3
- BOARD INSTALLATION................................................................. 16
Board installation ...................................................................................................................................................... 16
General installation guidelines: ........................................................................................................................... 16
Installation integrated with a PC/104 module stack:............................................................................................ 16
External power connections...................................................................................................................................... 18
CHAPTER 4
- HARDWARE DESCRIPTION .......................................................... 20
Current Limit ....................................................................................................................................................... 21
Charger power converter ......................................................................................................................................... 21
Ni-Mh/Ni-CD Battery Pack and Thermistor........................................................................................................ 22
Ni-Mh\Ni-Cd battery charger .............................................................................................................................. 23
Discharging Ni-Mh/Ni-Cd battery pack .............................................................................................................. 23
Charger mode configuration- solder blobs B2 and B3 ........................................................................................... 24
Power switching circuitry ......................................................................................................................................... 25
CHAPTER 5
- BOARD OPERATION AND PROGRAMMING ................................ 28
Defining the Memory Map ....................................................................................................................................... 28
BA+0 Control register
(Read and Write)......................................................................................................... 28
BA+1 Status register
(Read) ........................................................................................................................... 29
BA+1 Status register
(Write) .......................................................................................................................... 29
Programming the UPS25 .......................................................................................................................................... 29
Clearing and setting bits in an I/O port................................................................................................................... 30
INTERRUPTS ........................................................................................................................................................... 30
What is an interrupt? ........................................................................................................................................... 30
Interrupt request lines .......................................................................................................................................... 31
8259 Programmable Interrupt Controller ............................................................................................................ 31
Interrupt Mask Register (IMR)............................................................................................................................ 31
End-of-Interrupt (EOI) Command ....................................................................................................................... 31
What exactly happens when an interrupt occurs? ................................................................................................ 32