Home
conga-SBM3 User's Guide
Contents
1. 2012 congatec AG SBM3m12 7 57 congatec the rhythm of embedded computing 7 2 Electrical Connections cccccecccseecceeeeeneecaeeseeeesseseseeesseens 46 17 2 1 COM Express Electrical CONNECTIONS ccceeeeeeeeeeeeeeeees 46 7 2 1 1 conga SBM connection with CMCB mini carrier board 47 7 2 1 2 conga SBM connection with CEVAL Evaluation Board 48 1 2 1 3 conga SBM connection with TEVAL Evaluation Board 49 1 2 2 QSeven Electrical Connections rrrranrrrrrannrnnnnnnorrnnnennnnnnen 51 7 2 2 1 conga SBM connection with QMCB mini carrier board 52 7 2 2 2 conga SBM gt connection with QEVA Evaluation Board 53 7 3 SBSM Control Register rrrarnrnanrnnnnnnnnnnnanennnrrnnnrnnnnennernnnnennn 54 7 3 1 ER CNS erireisid 54 1 3 2 OptionalMfgCfgReg2 Register OX3E cccceccsseecseeeseeeeees 56 8 Industry SpecificationsS rrrrnrrrnarernnrrnanrnnanrranernnrennnrrnnnennnnne 57 Copyright 2012 congatec AG SBM3m12 8 57 congatec the rhythm of embedded computing Ei List of Tables Table 1 Firmware Feature Summary ccccssccsececseeeceeeseeeeseeeeseeess 13 Table 2 Hardware Feature Summary rnnnnnnnnrnnnnnnnnnrnnnnnnnnnnnnnnnnnnnnnnen 15 Table 3 Electrical Characteristics Overview rarrrnnnrnnnrnnnnrnnnnrnnnnnnnnen 18 Table 4 Signal Tables Terminology Descriptions r rrrranrrnnner
2. For the simplified state diagram refer to section 4 1 7 SBM task provides the deep discharge protection functionality so that when in G2 mode Off mode and only the batteries are attached the batteries are not discharged After a time out SB DEEP DISCHARGED TIMEOUT it switches off the whole battery kit The STM32 controller also switches off so that a stock laying device for example will not discharge batteries anymore thereby extending its lifetime to the maximum With a very short power button press the SBM task will quickly read out the registers from the smart battery The LEDs will show the Copyright 2012 congatec AG SBM3m12 26 57 4 1 7 Copyright 2012 congatec AG congatec the rhythm of embedded computing Ei remaining capacity for a short time SB DEEP DISCH LED SHOW TIMEOUT and immediately enter the deep protection mode again After the connection of DC IN the device will be powered all the time and the deep discharge protection mode will be disabled Firmware revision is stated in the som h under SBM FW REV NO It can be read out later via I2C from address 0x3C Turn on after power loss functionality is executed during the powering of the device from DC IN The battery controller goes from G2 mode to G1 mode shortly to switch the 5Vsb voltage on to the CPU module for a time SBM REMAIN ON TIMEOUT If this feature is activated the device will switch on otherwise the SBM task goes into G2 state again SBM tas
3. If DCDIV rises more than 1 8V above VCC then all of the power path switches are latched off until all power is removed Smart Battery Cell Count R99 R100 R102 Input Voltage Range for charging N kOhm kOhm kOhm V 2S 24 00 9 40 30 00 3S 1 20 13 60 30 00 4S 17 80 30 00 Copyright 2012 congatec AG SBM3m12 31 57 5 1 1 2 5 1 2 5 1 2 1 5 1 2 2 congatec the rhythm of embedded computing LOPWR If the voltage at LOPWR is lower than the LOPWR comparator threshold 1 19V then the system power has failed and power is autonomously switched to a higher voltage source if available Smart Battery Cell Count R103 R104 N kOhm kOhm 2S 820 00 210 00 3S 127 00 4S 820 00 93 10 Current Adjustment Adapter Limiting R93 monitors and limits the input current to protect the wall adapter If input current is higher than set the charger decreases the charge current so that batteries can keep input current under limit R93 Input Current Limit mOhm A 21 3 4 7 16 7 6 0 100 10 0 Maximum Charge Current Charging current is sensed on sense resistor R106 If dual charging is used both BAT1 and BAT2 currents must be added to calculate R106 R106 Charge Current mOhm A 25 0 4 1 20 0 5 1 12 0 8 2 10 0 10 2 gt Note Copyright O 2012 congatec AG SBM3m12 Do not forget to also reflect the proper value of R106 in firmware header file chr h as shown below 9257 con
4. Input Output PU PD PU 10k V 3V3 ALW PU 10k V 3V3 ALW TB1 gt gt TERM PD OO GND GND AP U BATA MB AR R O NM 6 1 9 BAT2 Connector Pin Signal Description Input Output PU PD PU 10k V 3V3 ALW PU 10k V 3V3 ALW TB2 gt TERM PD OO GND GND AP U BAT2 MB AR RA O NMD Copyright O 2012 congatec AG SBM3m12 42 57 congatec the rhythm of embedded computing 6 2 conga SBM connections with congatec Boards 6 2 1 conga SBM connection with COM Express modules Table5 conga SBM X4 Connector Control Cable conga SBM conga CMCB conga CEVAL conga TEVAL Description X4 Connector X20 Connector X27 Connector X53 Connector Pin Signal Pin Signal Pin Signal Pin Signal 1 S5 request 2 SUSC_S3 6 SUS_S3 _ 115 SUS SH 115 SUSS3H S3 Sleep request 3 Sleep request 4 I2DAT I2C data line 5 I2CLK I2C clock line 6 I2C interrupt line 7 PWRBTN CPUf 8 PWRBTNH 139 PWRBTN 139 PWRBTN Power button signal to CPU module 8 Reset to CPU module 9 Power OK signal to CPU module 10 GND Table 6 conga SBM X7 Connector Power Cable conga SBM conga CMCB conga CEVAL conga TEVAL Description X7 Connector X19 Connector X70 Connector X59 Connector Pin Signal Pin Signal Pin Signal Pin Signal 1 GND GND 2 GND 3 VSVSB 15 5VSTB 19 5V8B 19 SVSB VCC5VSB output 4 VCC 5V output 5 VCC 12V output 6 VCC 12V output Copyright 2012 congatec AG SBM3m12 43 57 congatec the
5. Refer to the corresponding COM Express module user s guide Copyright 2012 congatec AG SBM3m12 46 57 congatec the rhythm of embedded computing 7 2 1 1 conga SBM connection with CMCB mini carrier board SBM3 CMCB QMCB Control Cable PN 14000076 SBM3 CMCB QMCB Power Cable PN 14000075 SBM3 Power Input Cable PN 14000077 SBM3 Battery Power Cable PN 14000080 Cable Description CMCB Mini carrier Board PN Description SBM3 Connector Evaluation Board Connector 1 SBM3 CMCB QMCB Control Cable X4 X20 2 SBM3 CMCB QMCB Power Cable X7 X19 3 SBM3 Battery Power Cable X8 4 X9 5 SBM3 Power Input Cable X6 6 X5 7 X6 or X8 Copyright O 2012 congatec AG SBM3m12 47 57 amp congatec the rhythm of embedded computing 7 2 1 2 conga SBM connection with CEVAL Evaluation Board Notebook AC DC adapter PN 10000079 SATA Cable xEVAL control cable PN 14000022 PN 14000079 SBM3 Disc Power Cable PN 14000081 SBM3 ATX Power Cable PN 14000074 SBM3 Battery Power Cable KAB SATA Power Cable PN 14000080 PN 500001 Copyright O 2012 congatec AG SBM3m12 48 57 congatec the rhythm of embedded computing CEVAL B 0 Evaluation Board PN Description SBM3 Connector Evaluation Board Connector SBM3 xEVAL Control Cable X4 X27 SBM3 ATX Power Cable X7 X70 SBM3 Battery Power Cable X8 X9 X6 X5 X2 KAB SATA Power Cable Cable Description CO N OO 01 G PO 7 2 1 3 conga SB
6. both 5V 4A and 5Vsb 4A output possibilities Copyright O 2012 congatec AG SBM3m12 12 57 congatec p the rhythm of embedded computing 2 Specifications 2 1 Feature List Table1 Firmware Feature Summary DC IN Voltage The firmware is able to read the input voltage and then decide what additional steps to take e g due to charging limitations or other decisions depending on DC IN The device can not be switched on when less than 8V DC IN is present Over voltage above 30 volts results in the LTC1960 automatically switching off In order to safely recover from this over voltage protection state all power must be removed from the conga SBM battery kit PN XS ON TET et ida All PSUs are switched on and off properly in all power states to avoid back powering thereby ensuring proper power transitions Control signals to CPU module are open drain type to avoid back powering through signal lines LED Signaling 3x Status LED for charger PWRON Line Charge 5x Status LED for battery 41 100 75 50 25 Empty 5x Status LED for battery 42 100 75 50 25 Empty 3x LED for power rail status 12V 5V 5Vsb Power Button Power button to manually switch on off the device Valid timing for button press events are 1 Very short press lt 400 ms When in deep discharge protection mode with battery connected the conga SBM gt shows only the remaining capacity of the battery on LEDs for about 2 seconds The device the
7. calculated and stored in a variable gCHR ata uiDualCurrent Its value changes to the maximum value allowed by the smart battery with lower voltage An optimal case would be to have two similar smart batteries with same or very close parameters The charger supports low current mode in order to recover a depleted smart battery from its protection mode In this mode the smart battery is internally switched off and needs a special procedure for the recovery Another support offered by the charger is the condition cycle if it is requested from the smart battery In this case the smart battery has lost track of the state of the cell chemistry This means that the smart battery will not be able to estimate the remaining capacity or it will report a false remaining capacity Commands to the charger are sent per SPI commands where the returned data are always checked for validity otherwise the command will be sent again There is a mechanism to update the charger with only the data that has been changed The exception is a periodic command CHRupdateCharger used when charging the batteries This must be used to keep the charger working otherwise its safety mechanism will be activated after a certain timeout and the charging will stop The charger task will analyze the charge requests from batteries with their voltage and current requirements and then will decide on the amount of current necessary to protect the maximum power dissipation of the battery chargin
8. conditions set out in the respective owner s license agreements which are available at www congatec com and or upon request Beginning on the date of shipment to its direct customer and continuing for the published warranty period congatec AG represents that the products are new and warrants that each product failing to function properly under normal use due to a defect in materials or workmanship or due to non conformance to the agreed upon specifications will be repaired or exchanged at congatec s option and expense Customer will obtain a Return Material Authorization RMA number from congatec AG prior to returning the non conforming product freight prepaid congatec AG will pay for transporting the repaired or exchanged product to the customer Repaired replaced or exchanged product will be warranted for the repair warranty period in effect as of the date the repaired exchanged or replaced product is shipped by congatec or the remainder of the original warranty whichever is longer This Limited Warranty extends to congatec s direct customer only and is not assignable or transferable Except as set forth in writing in the Limited Warranty congatec makes no performance representations warranties or guarantees either express or implied oral or written with respect to the products including without limitation any implied warranty a of merchantability b of fitness for a particular purpose or c arising from course of perfo
9. rhythm of embedded computing 6 2 2 conga SBM Connection with Qseven modules Table 7 conga SBM X4 Connector Control Cable conga SBM conga QMCB conga QEVA Description X4 Connector X20 Connector CN35 Connector Pin Signal Pin Signal Pin Signal 1 S5 request 2 SUSC_S3 6 SUS_S3 _ 115 SUS_S3 S3 Sleep request 3 Sleep request 4 I2DAT I2C data line 5 I2CLK I2C clock line 6 I2C interrupt line 7 PWR_BTN_CPU 8 PWRBTN 139 PWRBTNH Power button signal to CPU module 8 Reset to CPU module 9 Power OK signal to CPU module 10 GND GND Table 8 conga SBM X7 Connector Power Cable conga SBM conga QMCB conga QEVA Description X7 Connector X19 Connector CN38 Connector Pin Signal Pin Signal Pin Signal 1 GND GND 2 GND 3 VSVSB 15 5V8B 9 5VSB VCC5VSB output 4 VCC VCC 5V output 5 VCC 12V output 6 VCC 12V output Copyright 2012 congatec AG SBM3m12 44 57 congatec the rhythm of embedded computing nd 7 Interface Specification 7 1 Introduction Despite the various specifications and consortia that define the structure of battery operated systems there are no ready made solutions on the market that can be used with any computer board without the need to implement special customizations to the system BIOS Notebook manufacturers use their own non standardized Smart Battery solutions mostly a small microcontroller which implements the functions of the charger and the Smart
10. 2 16 57 congatec the rhythm of embedded computing 2 3 Supported Operating Systems The conga SBM supports the following operating systems e Microsoft Windows 7 e Microsoft Windows XP e Microsoft Windows Embedded Standard e Linux 2 4 Supply Voltage Standard Power e Wide input voltage range 8 30 Vdc e Norminal 19V DC The dynamic range shall not exceed the absolute minimum and maximum range static range 30 00Vdc Absolute Maximum Dynamic Range 19 10Vdc hornnnnnnnnnnnnnnbnnnnnnn enn 19Vd NN Nominal Static Range 18 90Vdo PE 8 00Vdc M Absolute Minimum Copyright O 2012 congatec AG SBM3m12 17 57 2 4 1 2 5 2 6 Copyright 2012 congatec AG SBM3m12 congatec the rhythm of embedded computing Ei Electrical Characteristics Table3 Electrical Characteristics Overview The following table provides an overview of the conga SBMP electrical characteristics INPUT OUTPUT AC Adapter Battery 12V 5V 5Vsb Charger 19V nom 25 4S Voltage range 6 16 8V Tolerance 10 fe Hd Max current 4A could be increased Ripple voltage a OV 200mV Power 67W adapter over current protection functionality activated Output power rails e 12V e 5V e 5Vsb Environmental Specifications Temperature Operation 0 to 60 C Storage 20 to 80 C Humidity Operation 10 to 90 Storage 5 to 95 cat The above operating temperatures must be strictly
11. 4 Signal Tables Terminology Descriptions PU congatec implemented pull up resistor PD congatec implemented pull down resistor I O 3 3V Bi directional signal 3 3V tolerant I O 5V Bi directional signal 5V tolerant 3 3V Input 3 3V tolerant 5V Input 5V tolerant I O 3 3VSB Input 3 3V tolerant active in standby state O 3 3V Output 3 3V signal level O 5V Output 5V signal level OD Open drain output P Power Input Output Copyright 2012 congatec AG SBM3m12 36 57 congatec the rhythm of embedded computing 6 1 SBM Connector Pinouts O O Q pc In Ol JACK INPUT OI Cy DC IN INPUT IR OUTPUT J PSU DC IN POWER POWER O O INPUT Copyright 2012 congatec AG SBM3m12 37 57 6 1 1 JTAG Connector CO WN OQ O01 PO NIe a a ey Ss Ss S mS CO O OlmINIGOG ULRAIO IN I 0O 0000000 L OOH OOOOOOO D Signal Description VCC VCC JTAG Interface GND JTAG Interface GND JTAG Interface GND JTAG Interface GND JTAG Interface GND JTAG Interface gt OO amp lt lt gt gt TAG nJRST 0 3V3 TAG TDI O 3V3 TAG TMS O 3V3 TAG TCK O 3V3 TAG 11 O 3V3 JTAG TDO O 3V3 CPU_nRST CPU Reset O 3V3 TAG 17 TAG Interface O 3V3 Z Z Z Z Z Z Z Z Z U U J U U U U U U TAG19 TAG Interface O 3V3 Z Z Z Z U U UD U Copyright 2012 congatec AG SBM3m12 Input Output PU PD congatec th
12. Battery System Manager where the adaptation to the Smart Battery is done in their system BIOS In order to facilitate the development of battery powered mobile systems based on Embedded modules congatec defined an interface for the exchange of data between a CPU module using an ACPI operating system and a Smart Battery system A system developed according to this interface specification can provide the battery management functions supported by an ACPI capable operating system e g charge state of the battery information about the battery alarms events for certain battery states etc without the need for any additional modifications to the system BIOS The battery management solution provided by congatec is related to the system defined by the Smart Battery System Manager Specification 1 0 Release Candidate b The two main parts in this system are the Smart Battery System Manager SBSM on the XTX COM Express or Qseven carrier board and the congatec Board Controller system host that can be found on the XTX COM Express or Qseven module The task of the SBSM is to manage the Smart Battery System components such as Charger Smart Batteries and power path controller and to cache and update the status and control registers of these devices The active part in the communication between the ACPI OS and the SBSM is the congatec Board Controller CBC One of the major differences between the congatec solution and the one defined in the
13. C IR Percent unsigned integer Word RelativeStateOfCharge xD IR Percent unsigned integer Word AbsoluteStateOfCharge ODE IR Percent unsigned integer Word RunTimeToEmpty 0x11 R Minutes unsignedinteger Word AverageTimeToEmpty Ox12 IR Minutes unsignedinteger Word AverageTimeToFull 0x13 R Minutes unsignedinteger Word ChargingCurrent 0x14 IR mAlunsignedinteger Word ChargingVoltage Ox15 R_ mV unsigned integer Word BatteryStatus Oxi7 R Flags bitmap Word CycleCount 0x16 IR Count unsigned integer Word SpecificationInfo OA R O O Packed data bit map Word ManufactureDate 0x1B IR Packed date unsigned integer Word Reserved 0x1D 0x1F ff ManufacturerData 0x23 R Battery manufacturer specific Word Reserved 0x25 0x2E JG Reserved C a Reserved 0x30 0x3B JG Firmware Revision Word OptionalMfgCfgReg1 Word OptionalMfgCfgReg2 Word OptionalMfgCfgReg3 OxsF JR Reserved Custom usage Word Reserved OE EE BatterySystemState Word BatterySystemStateCont 0x42 JR Packeddata bitmap Word Reserved OE a BatterySystemInfo 0x44 IR Packeddata bitmap Word Reserved 0x45 0xFF gt Note The registers highlighted in the table above are essential for ACPI BIOS Control Methods The orange highlighted registers are used by Copyright O 2012 congatec AG SBM3m12 55 57 congatec D the rhythm of embedded computing ACPI _ BIF method to obtain the static battery information and t
14. D i lela E BENS A PAi a int FY w LE vade adel M Wy p ert t i Cable Description QMCB A 0 Mini carrier Board PN Description SBM3 Connector Evaluation Board Connector i SBM3 CMCB QMCB Control Cable X4 X20 2 SBM3 CMCB QMCB Power Cable X7 X19 3 X8 4 X9 5 X6 6 90W 19V 4 7A ADP 90SB Plug 5 5x2 5mm X5 7 X6 Copyright 2012 congatec AG SBM3m12 52 57 72 22 Copyright O 2012 congatec AG Notebook AC DC Adapter PN 10000079 KAB SATA Power Cable PN 500001 conga SBM gt connection with QEVA Evaluation Board SBM3 Battery Power Cable PN 14000080 xEVAL Control Cable PN 14000079 SBM3 Disc Power Cable PN 14000081 SATA Cable PN 14000022 SBM3 ATX Power Cable PN 14000074 SBM3m12 amp congatec the rhythm of embedded computing 53 57 congatec the rhythm of embedded computing Ei QEVA A 2 Evaluation Board PN Description SBM3 Connector Evaluation Board Connector SBM3 xEVAL Control Cable X4 CN35 SBM3 ATX Power Cable X7 CN38 SBM3 Battery Power Cable X8 X9 X6 X5 CN15 Cable Description CO Ni OO 01 B GPO 7 3 SBSM Control Register The conga SBM must cache the values of the Smart Battery status and control registers defined by the Smart Battery Data Specification Rev 1 1 These control registers must be located in the SBSM at the addresses 0x00 to Ox3F In order to distinguish between the different batteries that can be connected to the system t
15. M connection with TEVAL Evaluation Board KAB SATA Power Cable PN 500001 SBM3 Disc Power Cable PN 14000081 Notebook AC DC adapter PN 10000079 SBM3 ATX Power Cable aa Cable PN 14000074 PN 14000022 SBM3 Battery Power Cable xEVAL control cable PN 14000080 PN 14000079 Copyright 2012 congatec AG SBM3m12 49 57 congatec the rhythm of embedded computing Cable Description TEVAL X 0 Evaluation Board PN Description SBM3 Connector Evaluation Board Connector 1 SBM3 xEVAL Control Cable X4 X53 2 SBM3 ATX Power Cable X7 X59 3 X8 4 X9 5 X6 6 X5 8 X72 Copyright 2012 congatec AG SBM3m12 50 57 congatec the rhythm of embedded computing Table 10 Signal Descriptions Qseven Connection Signal Description I O PU PD Comment I2CLK I2C bus clock O 3 3V PU 4k7 3 3V QSeven connector pin 66 I2DAT I2C bus data I O 3 3V PU 4k7 3 3V QSeven connector pin 68 BATLOW Critical Event Interrupt battery low input 13 3V PU 10k 3 3VSB QSeven connector pin 27 MI Note Refer to the corresponding QSeven module user s guide Copyright 2012 congatec AG SBM3m12 51 57 congatec the rhythm of embedded computing 7 2 2 1 conga SBM connection with QMCB mini carrier board SBM3 Power Input Cable lwo eg e ee ower Cab PN 14000077 j EAR 3 Battery Power Cable PN 14000080 SBM3 CMCB QMCB Power Cable PN 14000075 SBM3 CMCB QMCB Control Cable PN 14000076
16. SBSM Specification can be found here In order to avoid conflicts on the SMBus between the different smart devices congatec has chosen to use the I C bus for the data transfer between the system host XTX COM Express or Qseven module and the SBSM The system host reads writes the data to from the SBSM control registers and communicates with the ACPI OS by using the Control Method Battery CMB commands The cBC only communicates with the SBSM and not with the other components in the Smart Battery System such as Smart Batteries Copyright 2012 congatec AG SBM3m12 45 57 congatec the rhythm of embedded computing i tf Dans A Fi AP el a uwe F Ff j Pu gt 1 sm N 5 Vat y E N a DU p DE fr amp i GT ass s J f wee ur rd ww ud ww amp ww GA wF f The smart battery system manager SBSM must be connected to the C bus using the 7 bit device address 0001011xb In other words 16h for write operations and 17h for read operations The BATLOW signal is used as an alarm interrupt to notify the system host that a critical event or a state change has occurred The SBSM acts always as slave and the cBC always as master So K a j ES Table 9 Signal Descriptions COM Express Connection Signal Description I O PU PD Comment I2CLK COM Express connector row B pin 33 I2DAT COM Express connector row B pin 34 BATLOW COM Express connector row A pin 27 o gt Note
17. SHED is set SBM task then sends the BATLOWG interrupt signal to the CPU module in order to indicate a change in the battery manager This results in an ACPI update request being sent to the operating system The gBATdata structure keeps all the data context to be used by other tasks Copyright 2012 congatec AG SBM3m12 21 57 congatec the rhythm of embedded computing BTN task runs autonomously reading the power button in intervals of 50ms The duration of button press is measured and evaluated for two possible reactions 4 1 2 BTN Task power button task e If the power button is pressed longer than BIN SHORT TIME DELAY time constant gBTNdata ShortPressActivated is set to 1 and the system either switches on or off depending on the current state e If the power button is pressed even longer with a time equal to or greater than BTN LONG TIME DELAY time constant it is considered as along press This forces the system to switch off immediately and the variable gB7Ndata LongPressActivated is set to 1 This is similar to ATX long press behavior The gBTNdata structure keeps all the data context to be used by other tasks 4 1 3 LED Task led on off blink functionality LED task provides a handling of all LED modes including all support functions to drive LED high or low in single or in group mode This task can be used for timed actions on LED and for additional functionality such as blinking if necessary 4 1 4 SND Task buzz
18. adhered to at all times Humidity specifications are for non condensing conditions It is the responsibility of the operator to ensure that all components found on the module operate within the component manufacturer s specified temperature range Ensure adequate air flow when operating conga SBM in an enclosed space 18 57 3 Block Diagram congatec the rhythm of embedded computing Power Button 12C SMB 12C SMB 2C BAT LOW PS ON PWR BIN 55 Micro Controller 12V 12 Volt Converter Charger Switch o 9 ee Power MUX ee 5V ee Converter k o Standby Reverse Voltage Protection S B Ms DC Input 8 30V y 110V AC 5 230V AC AC DC Copyright 2012 congatec AG SBM3m12 Application OS ACPI CGOS CMB congatec Board Controller Computer On Module Carrier Board 19 57 congatec al the rhythm of embedded computing 4 Functional Descriptions Functional Block Diagram KEY Driver Module Task Copyright 2012 congatec AG SBM3m12 20 57 congatec the rhythm of embedded computing Ei 4 1 Main Firmware Tasks 4 1 1 BAT Task smart battery task Battery task runs autonomously using only particular drivers such as I2C bus as interfaces Every smart battery has its own bat task called BAT1task and BAT2task Battery task periodically checks if the battery is connected This is done by means of a simple ac
19. attery 0 eects tees teense neice 39 4 1 5 CHR Task charger task 23 6 1 3 Power Button sccccdsetatencanecmeredecbecadsetmestenniedontsinthenentsepteeutseinerstes 39 4 16 SBM Task smart battery manager taSk ccc ccccscssssseseeeeeeeeees 26 6 1 4 Power Management Connector rannrnanrnnnnrnnnnnnnnnnnnrnnnnennnnen 40 4 1 7 Simplified State Diagram eeseeesseeeesseeerereerrreerinrerinrerrrnerrrreen 57 6 1 5 DEAN JACK INDU aare oE a EE EEA EE E Ci 40 42 Firmware Support Modules mm 28 6 1 6 DC IN Input EN a T 41 421 ADC Module input voltage reading A E 28 6 1 7 PSU Output ee ee ee T 41 422 GPIO Module GPIO support functions Sr 28 6 1 8 PIT LEN 42 423 PWR Module handling of all power control signals Sr 28 6 1 9 BAT2 a E auc rere ee TT T 42 4 2 4 SCH Module preemptive multitasking scheduler 0 29 6 2 conga SBM connections with congatec Boards 43 4 2 5 SPI Module SPI communication module ersvvrrrvvrrrnvrnnnnnre 29 6 21 conga SBM connection with COM Express modules 43 A26 I2C1 Module I2C communication module master slave 29 6 2 2 conga SBM gt Connection with Qseven modules 06 44 4 2 7 I2CS 12CS1 Module I2C communication module master slave 30 7 Interface SpeCifiCation ccccccccccecccecsccececeeseceeeensesereeeuseseneeeaes 45 4 2 8 Flash Module oc2nsctamcasncesncsnenantanticembaamopniatanntnenaneteciconectataeactaannts 30 Copyright
20. cess reading and waiting for acknowledgment This state is called BAT NOT PRESENT The reading period for connection can be different from the interval used for fast read out phase BAT tasks for batteries are split into two because if one smart battery is connected the second one can be removed This means that the timing interval can also be different at different times If the smart battery is connected and does respond the smart battery is fully read out as fast as possible This ensures that the operating system is quickly aware that a new battery is present This state is called BAT PLUGGED Later on only a group of dynamic registers of the smart battery are read because the rest of the registers are constant This state is called BAT VALIDATED If the battery is removed the BAT task starts with checking the connection reading again Data transfer uses cyclic redundancy check CRC to accept only trusted data received from the smart battery To report run time data changes from the battery eg remaining capacity value change a special interrupt signal BATLOW is used The BAT task changes are handled in a special way so that if a sudden change is noticed at any address position the status bit BAT STATUS BAT DATA CHANGED is set BAT task will continue to read the rest of the registers that may be changed by this internal update of the smart battery After the reading of all the remaining registers the status bit BAT STATUS BAT CHANGES FINI
21. congatec the rhythm of embedded computing El conga SBM gt congatec Smart Battery Manager Module User s Guide Revision 1 2 Revision History Revision Date yyyy mm dd Author congatec the rhythm of embedded computing 1 0 2012 11 06 AEM 1 1 2013 07 22 AEM 1 2 2014 01 13 AEM Copyright 2012 congatec AG Changes e Official release e Updated section 4 1 1 Bat Task small battery task e Highlighted the essential registers used by ACPI control methods to determine the battery and information in section 7 3 1 Control Registers e Added cable description in section 7 2 Electrical Connections e Changed smart battery cell count resistors R96 R71 and R73 for revision X 1 to R99 R100 and R102 for revision A x in section 5 1 1 1 Input Voltage Threshold e Updated sections 5 1 2 1 Adapter Limiting and 5 1 2 3 Short Circuit Protection SBM3m12 2 57 congatec the rhythm of embedded computing Ei This user s guide provides information about the functions firmware structure customization and specifications of the conga SBM gt module Preface Disclaimer The information contained within this user s guide including but not limited to any product specification is subject to change without notice congatec AG provides no warranty with regard to this user s guide or any other information contained herein and hereby expressly disclaims any implied warranties
22. dule where an action must be decided if the input voltage changes Very low input voltage value or very high protection is already handled in the hardware by IC selector charger settings which immediately disables charging and provides prevention against input voltage if it is out of limit 4 2 2 GPIO Module GPIO support functions GPIO module is used to set up GPIO pins to certain functions like input output alternative function etc 4 2 3 PWR Module handling of all power control signals PWR module provides a group of functions to handle all control signals for all power supply circuits on the battery kit device Every PSU can be switched on or off as necessary in every power state of the battery manager Switch on 12V PSU command is e g PWRpinOutOn PWR VR12V EN etc gt Note There is also a special debug feature in PWR module to help tune and check power supply circuitry If power button is pressed during the power up of the device the power debug feature will be activated by enabling PWR ALL POWER ON The firmware will then enable all PSUs on the device and will enter an endless loop to help in testing and measuring Do not forget to disable it for serial production Copyright 2012 congatec AG SBM3m12 28 57 congatec ng the rhythm of embedded computing BATLOWt signal must be configured as open drain always This is used on some Intel platforms to prevent the system from switching on automatically It can be forc
23. e rhythm of embedded computing 38 57 congatec the rhythm of embedded computing 6 1 2 DC Input 3V Li Battery Pin Signal Description Input Output PU PD 1 VBAT IC VCC batt 2 GND P 6 1 3 Power Button Pin Signal Description Input Output PU PD 1 BAT12D external PWR Btn 2 BAT12DS external PWR Btn Copyright 2012 congatec AG SBM3m12 39 57 6 1 4 6 1 5 congatec the rhythm of embedded computing Power Management Connector 0000000000 Pin Signal Description Input Output PU PD 1 S5 request 2 S3 Sleep request 3 Sleep request 4 I2C data line 5 I2C clock line 6 I2C interrupt line 7 Power button signal to CPU module 8 Reset to CPU module 9 Power OK signal to CPU module 10 GND Pe DC IN Jack Input X5 D I eo Pin Signal Description Input Output PU PD 1 DC input P 2 N C 3 GND GND PP 4 GND PG 5 lep oD P 6 ep OND pp Copyright O 2012 congatec AG SBM3m12 40 57 congatec the rhythm of embedded computing 6 1 6 DC IN Input Pin Signal Description Input Output PU PD 1 DC input P 2 DC input P i 3 lenp OND PP 4 GND P 6 1 7 PSU Output Pin Signal Description Input Output PU PD Oo 01 BR PO Copyright 2012 congatec AG SBM3m12 41 57 congatec the rhythm of embedded computing Ei 6 1 8 BAT1 Connector Pin Signal Description
24. ed low from CPU module side 4 2 4 SCH Module preemptive multitasking scheduler SCH module includes all necessary functionality of the firmware for implementing a preemptive multitasking core The following seven tasks are used for this battery kit implementation e SCH TASK 0 LEDtask LED timing handling task e SCH TASK 1 BTNtask Power button timed handling task e SCH TASK 2 SNDtask Sound task managing tones and its sequences e SCH TASK 3 CHRtask Charger and selector task for battery care e SCH_TASK_4 BAT1task Run time read out task for battery 1 e SCH_TASK_5 BAT2task Run time read out task for battery 2 e SCH_TASK_6 SBMtask Main battery manager functionality 4 2 5 SPI Module SPI communication module SPI module is a driver that provides a mechanism for SPI communication with a selector and charger IC The SPI transfer is interrupt handled Requests for output transfer and read out returned data are handled with a special locking mechanism to ensure that the data returned will be read only by the same function that initiated that particular SPI data transfer 4 2 6 I2C1 Module I2C communication module master slave I2C1 module is a driver that provides a mechanism for I2C communication with a host CPU module and slaves itself on the battery kit such as with an EEPROM and temperature sensor It includes both master and slave functionality Requests for master transfers and returned data a
25. eeseeeees 16 st ri aC mr NN 2 3 Supported Operating SySteMs ccccscecsseeseeecsseceeeesseesees 17 5 4 23 TA it oe ih NNN 33 2 4 Supply Voltage Standard POWEr rrrnnrnnnrnnnnannnnenanrnnnnennnnnnnnennn 17 5D l abl ae ie pr OOOO 33 2 4 1 Electrical TEN 18 l iia eae ie 25 Output power rails 18 5 2 1 Voltage SOUSSE 2 33 l T 5 2 1 1 Input Voltage Threshold rrrrarnnnnrrnnnnnnnnovvvnnnvnrrnnnnnrsnevnnnerrnnnnne 33 6 Environmental SPSCIICATONS siscctccccscoscecrccsccaserstecetenssantedendasceae 1 a Nene Spee eee Bal Smart Battery Voltage and Current Limits rrrnrrnnrrnnrrnnnrne 34 3 Block Diagram rarnannnnrnnnnnnrnnnnnrnnnnnnnnnnnnnnnunnnernannnnenunnnernnnnner 19 52 1 3 Depleted Voltage and Current Change For Other Smart Batteries 34 4 Functional IDES 21 0 S EEE 20 5214 New Charge Current Calculation ccccccccccscsssesecessescscseseececeee 35 4 1 Main Firmware TASKS ina ccinscstecsatanasasanasuceaanmeceiaceaiieecerenaouenacctite 21 6 Signal Descriptions and Pinout Tables nm mm 36 4 1 1 BAT Task smart battery task rrranrrnnrrrnrrrrnrrrrarernnrrnnnennnnnn 21 i 412 BTN Task power button taSk c ccccccsececscesesececesessesereseeeseereren 29 6 1 SBM Connector Pinouts sv 3 4 1 3 LED Task led on off blink functionality eed EEA 29 6 1 1 JTAG Connector Pe er Tre rrr re re eT re 38 4 1 4 SND Task buzzer functionality c cccccscccessscssesesseseseeseseeeeees 22 6 12 DC Input 3V Li B
26. ent allowed by hardware define CHR BAT1 CHARGE VOLTAGE MAX 8400 Max voltage allowed depends on cell count 4 2V 1S define CHR BAT2 CHARGE CURRENT MAX 4000 Max current allowed by hardware define CHR BAT2 CHARGE VOLTAGE MAX 8400 Max voltage allowed depends on cell count 4 2V 1S 5 2 1 2 Smart Battery Voltage and Current Limits Recommended limits for common Li ion smart batteries are stated below Smart Batttery Cell Count Macro Name Voltage N mV 25 8400 35 12600 4S CHR BATn CHARGE VOLTAGE MAX 16800 gt Note All parameters of non standard smart batteries used in the conga SBMP battery kit must be properly set in all the firmware parameters in the header files All above values are based on 3 7Vnom cell with max voltage 4 2V cell All other parameters must be properly recalculated 5 2 1 3 Depleted Voltage and Current Change For Other Smart Batteries Voltage and current settings for depleted batteries procedure should be adjusted as shown below Macros in module chr h define CHR CHARGE LC DEPLETED VOLTAGE 16600 Higher voltage used for depleted batteries at low depleted current 10mV unites define CHR CHARGE LC DEPLETED CURRENT 2100 Low current used for depleted batteries mA 8 Copyright 2012 congatec AG SBM3m12 34 57 5 2 1 4 Copyright 2012 congatec AG Recommended limits for common Li ion smart batteries are stated below Smart Batttery Ce
27. er functionality SND task provides a handling for the buzzer Several tones are defined in an array SND TONES ARRAY and any of them can be played It is possible to signal the status of the battery mode efficiently by playing more tones For example the tones can sound higher during switch on or lower when switching off The adoption of the sound array provides this functionality with various sound options Each error can be set with a specific tone to indicate the nature of the problem Copyright 2012 congatec AG SBM3m12 22 57 congatec the rhythm of embedded computing Ei CHR task provides full handling of the selector and charger IC LTC1960 This task is set to 400ms execution period 4 1 5 CHR Task charger task Charger functionality The charger is a state machine that must handle the smart batteries properly The main functionality is to charge the smart batteries in parallel or in sequential mode In sequential mode the charging priority of the batteries can be set By default the second battery considered as a backup has to be charged first and discharged last If two dissimilar batteries are connected the supported dual charger mode prevents the smart battery with the lower voltage capacity from over current The smart battery with lower voltage takes more current and must be read periodically This adjusts the dual charging current so that it is not acting as 2x single charge Dual charging current is dynamically
28. g system The Rsense resistorvalue inthe charger circuitry is used forcalculating the charging current Inthe firmware the value CHR RSENSE RESISTOR must be updated if the Rsense resistor changes in hardware The maximum charge voltage is given by CHR_BATn_CHARGE_VOLTAGE_MAXand the currents by CHR BATn CHARGE CURRENT MAX Copyright O 2012 congatec AG SBM3m12 23 57 Condition Cycle Block Diagram simplified Copyright 2012 congatec AG KEY B1 Battery 1 B2 Battery 2 CC Condition cycle Dis Discharge S Start E End SBM3m12 congatec the rhythm of embedded computing 24 57 Charge Block Diagram simplified Copyright 2012 congatec AG KEY B1 Battery 1 B2 Battery 2 LC Low current S Start E End SBM3m12 congatec the rhythm of embedded computing 25 57 congatec the rhythm of embedded computing Running on batteries Block Diagram simplified KEY B1 Battery 1 B2 Battery 2 Il Mode Dual mode S Start E End 4 1 6 SBM Task smart battery manager task SBM task is the main power management task responsible for all the power on and off sequences such as power supply switch on and the handling of all control signals SBM task ensures proper communication via I2C slave to CPU module Any change of batteries power sources charging states etc is signaled to CPU module with the interrupt line via I2C bus by means of the signal BATLOW
29. gatec the rhythm of embedded computing Ei define CHR RSENSE RESISTOR 15 where 15 is the 15mOhm sense resistor used for current calculation 5 1 2 3 Short Circuit Protection Output current to device supplied by conga SBM is sensed on sense resistor R97 If the device draws higher current than set by R97 then all of the power path switches are turned off and the FAULT bit FA is set R97 Short Current Protection mOhm A 100 0 1 02 50 2 05 25 0 4 09 15 0 4 65 12 0 8 18 gt Note Make sure that this does not occur in normal running state during switch on off or between sleep mode transitions This should be used only as a protective circuit 5 2 Firmware Customization 5 2 1 Voltage Adjustment 5 2 1 1 Input Voltage Threshold The input voltage thresholds for minimal and maximal voltages are defined in the following macros The device will only work within the range specified in header file sbm h as shown below define SBM DCIN MIN LIMIT 750 min input voltage for enabling device function in 10mV units define SBM DCIN MAX LIMIT 3050 min input voltage for enabling device function in 10mV units Copyright O 2012 congatec AG SBM3m12 33 57 congatec the rhythm of embedded computing Ei The minimum or maximum voltage and current limits for every cell count of smart battery are defined in the following macros in header file chr h define CHR BAT1 CHARGE CURRENT MAX 4000 Max curr
30. ging when the device is stored on stock for longer time periods without DC IN The device can be switched on by pressing the power button When the power button is pressed the device powers itself and handles the power button event in two ways 1 Very short power button press lt 400 ms the device shows the remaining battery capacity status for a short time and then goes into protection mode again 2 Standard button press gt 400 ms Switches the whole device on Auto start feature is not supported in this mode while DC IN is not present Autostart Turn On If Power loss feature is set as Turn On in BIOS settings the conga SBM switches on the system as soon as the DC IN power is present without any power button This feature is not supported by battery plug in by default This ensures that when the battery is plugged into a system that is not being powered the battery doesn t automatically start powering the system resulting in an immediate discharge This feature can be supported if requested Fi ET ACG Additional features such as enable disable buzzer dual charge discharge can be enabled disabled by writing into this register r w at Ox3D Registers 0x3E 0x3F can be used for additional data feature settings This data is stored in the last bank of STM32 flash memory NOTE Due to the limited write cycles of flash memory it is not recommended to misuse these registers for storing constantly changing run time data Copyrigh
31. he congatec solution uses the control registers defined by the SBSM Smart Battery System Manager Specification Rev 1 0 Release Candidate b These control registers must be located different from the definition of the SBSM Specification above the cached registers of the Smart Battery starting at register address 0x40 The table below lists all defined registers The column Access shows how the system host cBC accesses the individual registers An entry r or r w means that the implementation of the particular register is mandatory in order for the congatec battery management solution to function properly An empty entry means that the particular register is optional and may be implemented by the SBSM for completeness 7 3 1 Control Registers Table 11 Control Register description Function Address Access Data type units Format ManufacturerAccess 0x00 IR O Battery manufacturer specific Word RemainingTimeAlarm Minutes unsigned integer Word AtRate 0x04 IR mA signed integer Word AtRateTimeToFull 005 IR Minutes unsigned integer Word AtRateTimeToEmpty 006 IR o Minutes unsigned integer Word AtRateOK 0x07 IR TRUE or FALSE boolean Word Temperature 0x08 IR 0 1 K unsigned integer Word Copyright O 2012 congatec AG SBM3m12 54 57 congatec the rhythm of embedded computing Function Address Access Data type units Format AverageCurrent 0x0B IR o mA signed integer Word MaxError OXO
32. he green highlighted registers by ACPI_ BST method to determine the current status of the battery 7 3 2 OptionalMfgCfgReg2 Register 0x3E Table 12 Optional Register Optional R W register for custom configuration of the battery kit Bit Number Bit Name Default Value Description 0 SND EN 1 Sound Enabled 0 disabled 1 enabled 1 DUALMODE 10 Battery dual charge discharge mode 2 15 fx Reserved Copyright O 2012 congatec AG SBM3m12 56 57 congatec D the rhythm of embedded computing 8 Industry Specifications The list below provides links to industry specifications that apply to congatec AG modules Specification Link Smart Battery Charger Specification Rev 1 1 http www sbs forum org specs Smart Battery Data Specification Rev 1 1 Smart Battery Selector Specification Rev 1 1 Smart Battery System Manager Specification Rev 1 0 ACPI http www acpi info System Management Bus Specification http smbus org specs Design guidelines from congatec http www congatec com Design Guide for COM Express Design Guide for XTX Design Guide for Qseven Design Guide for Battery System Specification congatec Battery Management Interface CMSIS Cortex Microcontroller Software Interface Standard http www arm com products processors cortex m cortex microcontroller software interface standard php Copyright 2012 congatec AG SBM3m12 57 57
33. ionality used in the conga SBM gt battery kit By default a timeout of three seconds is set The STM32 controller is reset after exceeding the timeout Copyright 2012 congatec AG SBM3m12 30 57 congatec p the rhythm of embedded computing 5 conga SBM Customization 5 1 Hardware Customization Microcontroller ARM based 32 bit P N STM32F 100R8T6B Debugging tools Hitex Cortino jtag debugger which includes Hitex IDE with GNU compiler and linker toolchain For efficient programming and debugging of the conga SBM gt congatec AG recommends that the customer should e Buy the original Hitex programmer for ARM32b Cortex Applications e Install the enclosed software including HiT OP version 5 4 or higher Choose the GNU compiler and provide the necessary software registration in accordance to the software guideline e Start Hitop after a successful installation This is done by double clicking the HiTOP icon Eq on the desktop or alternatively by clicking Start gt Programs gt HiTP54 Cortino e Open the conga SBM project file SBM3 htp from the source directory by clicking the Project gt Open Menu e Start the firmware by clicking Run gt Go or by pressing key F5 5 1 1 Voltage Adjustment 5 1 1 1 Input Voltage Threshold If the voltage at DCDIV is above the DCDIV comparator threshold 1 19V then the DC bit is set and the wall adapter power is considered to be adequate to charge the batteries
34. k checks batteries and initiates a power off event if the device is turned on but out of battery power Simplified State Diagram SUSC_S3 AutoOn SVsb ON PWRBTNH 12V SV ON PWRBINt BAT empty GE PSU PG TimeOut TimeOut PWRBTN BAT empty RemainCap Alarm Deep disch protection SUSC_S5 Low All PSU off SBM3m12 27 57 congatec the rhythm of embedded computing 4 2 Firmware Support Modules 4 2 1 ADC Module input voltage reading ADC module is used to periodically read the input voltage of the battery kit in order to adopt charging behavior accordingly Periodic reading is set by using DMA controller This immediately copies converted ADC values to gADCdata uiADCConvertedValue variable as soon as ADC convertor is finished An additional function to calculate the absolute value that represents the voltage value is called ADCcalculatelnputVoltage This function must be called additionally as soon as the absolute value of the voltage representation is needed shortly before its evaluation Parameter holding the current voltage value is gADCdata uilnputVoltage in a format 100 For example value 1956 means 19 56V gt Note Reaction on input voltage value can be additionally handled e g to reduce charging current and prevent heating up of the device if the system is in SO running mode Recommended place for this input voltage consideration is in the charger module CHR mo
35. lic Redundancy Code PSU Power Supply Unit O Output Signal PU Pull Up Resistor r Read Operation W Write Operation N C Not connected N A Not available LDO Low dropout regulator TBD To be determined Copyright Notice Copyright 2012 congatec AG All rights reserved All text pictures and graphics are protected by copyrights No copying is permitted without written permission from congatec AG congatec AG has made every attempt to ensure that the information in this document is accurate yet the information contained within is supplied as is Copyright 2012 congatec AG SBM3m12 4 57 congatec the rhythm of embedded computing Product names logos brands and other trademarks featured or referred to within this user s guide or the congatec website are the property of their respective trademark holders These trademark holders are not affiliated with congatec AG our products or our website Trademarks Warranty congatec AG makes no representation warranty or guaranty express or implied regarding the products except its standard form of limited warranty Limited Warranty per the terms and conditions of the congatec entity which the product is delivered from These terms and conditions can be downloaded from www congatec com congatec AG may in its sole discretion modify its Limited Warranty at any time and from time to time The products may include software Use of the software is subject to the terms and
36. ll Count Macro Name Voltage N mV 2S CHR CHARGE LC DEPLETED VOLTAGE 8600 3S 12800 4S CHR CHARGE LC DEPLETED VOLTAGE 17200 New Charge Current Calculation After hardware change of R106 the following firmware change is necessary Macros in module chr h define CHR RSENSE RESISTOR 15 15mOhm sense resistor used for current calculation SBM3m12 congatec the rhythm of embedded computing 35 57 congatec fr the rhythm of embedded computing 6 Signal Descriptions and Pinout Tables The following section describes the signals found on the conga SBM This table describes the terminology used in this section for the Signal Description tables The PU PD column indicates if an internal pull up or pull down resistor has been used on the conga SBM if the field entry area in this column for the signal is empty then no pull up or pull down resistor has been implemented The symbol at the end of the signal name indicates that the active or asserted state occurs when the signal is at a low voltage level When H is not present the signal is asserted when at a high voltage level Qun Note The Signal Description tables do not list internal pull ups or pull downs implemented by the chip vendors only pull ups or pull downs implemented by congatec are listed For information about the internal pull ups or pull downs implemented by the chip vendors refer to the respective chip s datasheet Table
37. n goes back to deep protection mode in order to save maximum battery power With a very short press the device shows the battery status without switching on This does not dissipate the battery 2 Short press time gt 400 ms To switch on off the device running from DC IN or battery 3 Long press gt 10 seconds To force the device to switch off irrespective of the state it is in A clean transition to G2 mode occurs Temperature sensor The onboard I2C temperature sensor This can be read even if the CPU module is in sleep or in off mode It can also be used to decide in severe minus temperature whether to continue to switch on the device or not It is accessible from the CPU module via the I2C bus Battery charger Dual single phase smart battery charger support 1 In sequential mode The first battery can be considered as the main battery and the second one as a backup battery In this mode charging and discharging must be provided separately because of the different battery cell capacity or charging current The second battery considered as backup battery is charged first 2 Dual charging discharging mode Uses both smart batteries simultaneously for charging and discharging procedures This mode does not over stress the smart batteries with discharge currents thereby extending the battery life and running time of PC up to 20 due to half size current taken from every battery in parallel mode Adapter Overload The charger has in
38. nnrennnnnnn 36 Table 5 conga SBM gt X4 Connector Control Cable rrrrrnnnronnnnnnr 43 Table 6 conga SBM gt X7 Connector Power Cable rrrrrrnrnnnnonnnnner 43 Table 7 conga SBM X4 Connector Control Cable rrrrrnnnrrnnnnner 44 Table 8 conga SBM gt X7 Connector Power Cable rrnrrrnnnnnnnnnnnner 44 Table 9 Signal Descriptions COM Express Connection 0 46 Table 10 Signal Descriptions Qseven Connection ccccceeeeeeeeeeeees 51 Table 11 Control Register CESCIIPtiONn cccccecseeceeeeceeeeseseseueesseesees 54 Table 12 Optional Register cccccccccsseeceeeeceeeceeeceeeeceeeseesseseseeesees 56 Copyright 2012 congatec AG SBM3m12 9 57 congatec the rhythm of embedded computing Ei 1 General Information 1 1 Safety Instructions This safety guide provides important instructions that should be followed during the installation and maintenance of the conga SBM Precautions Do not short the external contacts on a battery Do not disassemble or deform the battery Avoid exposing the battery to excessive shock or vibration Do not use a degraded or damaged battery Battery must be charged with approved charger only Never use a modified or damaged charger Keep out of reach of children Do not leave batteries unused for extended periods of time either in product or in storage When the batteries have not been used for six month
39. of merchantability or fitness for any particular purpose with regard to any of the foregoing congatec AG assumes no liability for any damages incurred directly or indirectly from any technical or typographical errors or omissions contained herein or for discrepancies between the product and the user s guide In no event shall congatec AG be liable for any incidental consequential special or exemplary damages whether based on tort contract or otherwise arising out of or in connection with this user s guide or any other information contained herein or the use thereof Intended Audience This user s guide is intended for technically qualified personnel It is not intended for general audiences Symbols The following symbols are used in this user s guide B verne Warnings indicate conditions that if not observed can cause personal injury caster Cautions warn the user about how to prevent damage to hardware or loss of data gt Note Notes call attention to important information that should be observed Copyright O 2012 congatec AG SBM3m12 3 57 congatec the rhythm of embedded computing Terminology GB Gigabyte 1 073 741 824 bytes GHz Gigahertz one billion hertz kB Kilobyte 1024 bytes MB Megabyte 1 048 576 bytes Mbit Megabit 1 048 576 bits kHz Kilohertz one thousand hertz MHz Megahertz one million hertz I2C bus Inter Integrated Circuit Bus SMBus System Management Bus Input Signal CRC Cyc
40. out the amount of the remaining battery capacity To resolve this an internal update of the smart battery is required This is done by fully discharging the smart battery and subsequently charging it fully This procedure is only allowed when DC IN is attached and the device is being powered by the battery The condition cycle is provided for every battery separately Dual mode is not allowed If DC IN is removed the device transitions into normal battery powered mode If DC IN is reattached then condition cycle restarts from the very beginning Low current mode The only way to recover batteries that are depleted and in permanent protection mode with disabled output is to set the charger into low current mode with pulsed high voltage This wakes up the smart battery from the protection mode This procedure is possible only in single battery mode Dual mode is in this phase disabled Deep discharge By means of a special circuitry the conga SBM controller can switch off itself to prevent smart batteries that are connected in G2 mode for a long protection time without DC IN 9 secs by default from deep discharge This timeout can be set in firmware to any value After the timeout has elapsed the conga SBM is switched off totally This protection state can be seen when the LEDs indicating the remaining capacity of the batteries are off even though the batteries are attached This protection mode is necessary e g to protect the batteries from dischar
41. put adapter power overload protection When full power is connected to the CPU module and carrier board the charger helps Protection to reduce the input current by reducing the charge current in order to protect DC IN adapter overload Pre desto Gata Three sources of power input exist These are e DC IN e Smart battery 1 main battery e Smart battery 2 backup battery The firmware can fully control the power source where the device is powered from For example during condition cycle the power is taken from the smart battery to provide full discharge and charge procedure even if the device is on DC IN When running on battery the conga SBM should determine the battery that will supply power to the device Beeper A buzzer which can be used to signal either a switch on off procedure or an error state It can be used as longer tone sequences to distinguish the various status of the device Copyright 2012 congatec AG SBM3m12 13 57 congatec nd the rhythm of embedded computing Sleep Mode The common sleep mode of any Qseven or COM Express module is supported by means of sensing of SUSC S3ft signal The PWR ON Led blinks In sleep mode the conga SBM gt should monitor the remaining battery capacity If low the system must be in wake up to enable the OS to save open data files and properly switch off the device Condition Cycle If any of the batteries require condition cycle it means that the smart battery is internally confused ab
42. re handled with a special locking mechanism to ensure that the data returned will be read only by the same function that initiated that particular I2C data transfer Copyright O 2012 congatec AG SBM3m12 29 57 congatec the rhythm of embedded computing Both I2CS and I2CS1 modules are I2C software polled drivers for the connection of both batteries Both support Packet Error Check PEC and CRC correction This should be enabled to receive and accept only valid data from the I2C bus BAT1 uses I2CS1 driver and BAT2 uses I2CS driver 4 2 7 I2CS I2CS1 Module I2C communication module master slave 4 2 8 Flash Module FLASH module handles configuration data for the battery kit Configuration data can be read via I2C to CPU module from OP_SMB_CFG1 OP SMB CFG3 registers Writing new configuration data to the OP SMB CFG1 register will start executing the flash writing cycle Internal flash memory of STM32 ARM controller is used to store config data After the start of the battery kit all configuration data are read from flash and used as start up default values for all dedicated values Flash write cycles are limited Therefore it is not recommended to write or change the config data frequently 4 2 9 Main Function Main function provides the initialization of all modules NVIC interrupt table settings and all proper task execution as set in SCH module 4 2 10 WDT Module WDT module includes init reset and stop functions for WDT funct
43. rmance course of dealing or usage of trade congatec AG shall in no event be liable to the end user for collateral or consequential damages of any kind congatec shall not otherwise be liable for loss damage or expense directly or indirectly arising from the use of the product or from any other cause The sole and exclusive remedy against congatec whether a claim sound in contract warranty tort or any other legal theory shall be repair or replacement of the product only Copyright 2012 congatec AG SBM3m12 5 57 congatec the rhythm of embedded computing All congatec AG products are electrostatic sensitive devices and are packaged accordingly Do not open or handle a congatec AG product except at an electrostatic free workstation Additionally do not ship or store congatec AG products near strong electrostatic electromagnetic magnetic or radioactive fields unless the device is contained within its original manufacturer s packaging Be aware that failure to comply with these guidelines will void the congatec AG Limited Warranty Electrostatic Sensitive Device Lead Free Designs RoHS All congatec AG designs are created from lead free components and are completely ROHS compliant Certification se congatec AG is certified to DIN EN ISO 9001 standard NG nc TM Technical Support Intertek congatec AG technicians and engineers are committed to providing the best possible technical support for our customers
44. s check the charge status and charge or dispose of the battery appropriately Store in a cool dry and well ventilated area Refer to section 2 6 for operating and storage temperatures BD warin Incorrect handling of Li lon battery poses a safety hazard Use caution when dealing with design areas that may adversely impact safety 1 2 Service and Maintenance Service maintenance or repair of the conga SBM gt must be performed by qualified and authorized service personnel only Do not open or repair the equipment on your own Considerable danger may occur from unauthorized opening or improper repair of the conga SBM If there are service tasks required contact your congatec sales representative Copyright 2012 congatec AG SBM3m12 10 57 congatec the rhythm of embedded computing The lithium lon batteries in the conga SBM kit are subject to disposal and recycling regulations in various countries Ensure that the applicable regulations are followed before disposing of any battery 1 3 Disposal Consideration Do not expose the battery to or dispose of the battery in fire or water Place only discharged batteries in a battery collection container Use electrical tape or other approved covering over the battery connection points to prevent short circuits 1 4 Battery Kit Firmware Concept The battery kit provides an interface between smart batteries and any computer platform according to the ACPI standard This version of bat
45. so that our products can be easily used and implemented We request that you first visit our website at www congatec com for the latest documentation utilities and drivers which have been made available to assist you If you still require assistance after visiting our website then contact our technical support department by email at support congatec com Copyright O 2012 congatec AG SBM3m12 6 57 congatec the rhythm of embedded computing Contents 1 NNN 10 4 2 9 NFI IN 30 44 Safety Instructions ccccccccscsesessecessssssesssssessssssesessiesesssessessseeeese 10 4 2 10 NPE oirro E E E nti see E E 30 1 2 Service and Maintenance ccccccesceceeeceeeeceeecceeeceeeesseesees 10 5 conga SBM Customization varene 31 1 3 Disposal Consideration iiss rcencncsdaansveeotaninweniaiccmeccantapeeasewsdunslegienes 11 id 1 Hardware CustoOmiZation cccccccsecccsseeeeeeseeeeeeeseeeesseeeseeees 1 1 4 Battery Kit Firmware Concept rrannnannnannnnnnnanenanennnnnnnnnnnnnnnenn 11 z 44 ordener ek 4 i i RR BA Voltage Adjustment eee eee nt eee nen ko conga SBM OPUONS MIOTMAUON n t 11 0541 14 14 Input Voltage Threshold ccsccccsssecsssssesssssesesssesesssessssseeesseeeeeeee 31 2 gt 91261 ere 11 0 ao E E ee eee eer 13 5 1 1 2 PR a EE E E E E G 32 24 reame Ue 13 5 1 2 Current Adjustment rrrnnnnnnranennnrrnnnennnnnnanennnnnnanennnsennnnnnanennn 32 2 2 Mechanical Dimensions cccsecceeeceeeseeeceseseseseeese
46. t 2012 congatec AG SBM3m12 14 57 Table 2 Input Output Power IN CPU Microcontroller PSU LED Signalling Power Button Temperature Sensor Battery Battery Charger Power Path Selector Beeper Reverse Input Voltage Protection Connectivity Caution congatec the rhythm of embedded computing Ei Hardware Feature Summary Connector Accessiblity Option 1 8 Vdc 30 Vdc Nominal 19V 4 7A Option 2 8Vdc 30Vdc per external power connector 10A ARM 32 bit microcontroller STM32F100R8T6 1x back boost DC DC regulator with output 12V 3A 1x back regulator with output 5V 4A 1x LDO 3 3V always 3x status LED for charger PWRON Line Charge 5x status LED for battery 1 100 75 50 25 Empty 5x status LED for battery 2 100 75 50 25 Empty 3x LED for power rail status 12V 5V 5Vsb 1x power button to switch on off the device manually 1x option 2 pin connector for external power button switch 1x on board I2C temperature sensor 2x standard smart battery 2S to 4S By default the conga SBM battery kit is developed for 2S two serial cells smart batteries For other cell counts 8S 4S hardware and firmware modification is necessary to adopt exact set levels for the particular battery pack Both smart batteries Bat1 and Bat2 must always have the same cell count The batteries are also directly connected to battery manager controller NOTE You canno
47. t use two batteries of varying cell count simultaneously 1x dual single phase smart battery charger with maximum charging current of 4A and input power overload protection 1x fast power path selector as part of LTC1960 Three sources of power inputs e DC IN e Smart battery 1 main battery e Smart battery 2 backup battery 1x buzzer to signal switch on off and fault states Protection against unwanted reverse input voltage connection Option 1 for Qseven platform QMCB QEVA cabling conversion Option 2 for COM Express platform CMCB CEVA cabling conversion PSU 12V 5V and 5Vsb power rails supported only Option 3 customized wiring T B D Do not connect smart batteries that are not 2S 2 serial cell to the conga SBNM battery kit This could damage the hardware or the batteries conga SBM battery kit is developed by default for 2S smart batteries For the support of a different cell count other than 2S the hardware and software must be modified to appropriate voltage level and parameters Copyright 2012 congatec AG SBM3m12 15 57 congatec the rhythm of embedded computing 2 2 Mechanical Dimensions e 90 0 mm x 80 0 mm e Height approximately 13 7mm 90 80 og un Va l LA og 00 x O O N s Q O F FF 10 N N les Ri Q UN X o O ee 5 O 93 2 4x Lh R3 4x 1253 22 13 313 75 74 All dimensions in millimeter Copyright O 2012 congatec AG SBM3m1
48. tery kit is focused on Qseven and COM Express CPU modules A standardized library from the Cortex Microcontroller Software Interface Standard CMSIS Version 1 30 was used for programming the conga SBM and it is intended to be compliant with future MISRA programming language standards The firmware is based on preemptive multitasking It is composed of tasks and supported modules Tasks are scheduled to be executed in given time frames and supported modules are used as drivers for all STM32 peripheries A gt Note Only 2 5 hard drives can be used when connecting conga SBWP to congatec mobility carrier boards This is because the mobility carrier boards do not provide 12V power rail To use 3 5 hard drives the 12V power rail must be directly connected to conga SBM output 1 5 conga SBM Options Information The conga SBM is currently available in two variants The input and output voltages are shown below Part No 025482 2 cell battery Input Voltage Norminal 19V 4 7A Output 1 12V 3A Output 2 5V 4A 5Vsb 4A Output 3 3 3V 0 25A Supported Battery Smart Li lon Battery 2 cells 7 2V Copyright 2012 congatec AG SBM3m12 11 57 congatec the rhythm of embedded computing Part No 025483 4 cell battery Input Voltage Norminal 19V 4 7A Output 1 12V 3A Output 2 5V 4A 5Vsb 4A Output 3 3 3V 0 25A Supported Battery Smart Li lon Battery 4 cells 14 4V gt Note The second output Output 2 provides
Download Pdf Manuals
Related Search
Related Contents
Panasonic KX-FHD301 Plain Paper Thermal transfer Fax National Instruments 373873C-01 User's Manual BExIS 2.5.0 - Installation Manual Mise en page 1 - Albert Kahn - Hauts-de Samsung C61R2CAST Manual de Usuario XPRESS-MP USER GUIDE TRENDnet TEW-452BRP User's Manual Add-On Computer Peripherals (ACP) KS525AA-AA rechargeable battery V7 2GB DDR3 1333MHz PC3-10600 SODIMM Notebook Memory Guide de vidéoconférence Copyright © All rights reserved.
Failed to retrieve file