background image

 

CONFIDENTIAL

                    DM816x RTC User Guide v1.1 

   
 
                                                                                                                                                                                                                                                             

___________________________________________________________________________________________ 

                                                                                                                                                                 

Z3 Technology, LLC 

 100 N. 8th St., Suite 250 

 Lincoln, NE 68508 USA 

 +1.402.323.0702 

1

 

Introduction 

 
The DM8148, DM8168, and DM8169 modules from Z3 Technology contain a real time clock circuit that can be used to 

keep the time and date even when power is removed. The RTC uses a CR1220 or CR1225 lithium battery connected to 

the module (the CR1225 will provide slightly more power). 

 
In order for this hardware real time clock to function, the proper firmware needs to be loaded into the MSP430. The 

modules do NOT have this firmware loaded prior to leaving the factory.    In order to enable the RTC function, the RTC 

firmware needs to be uploaded to the module.    This document describes how to do this. 

 

2

 

The RTC 

 

3.1    RTC Battery 

 
The RTC firmware controls the power drain on the RTC battery. Without the proper RTC firmware loaded, the RTC 

battery will be drained very quickly -- in a matter of minutes. 

 

Do not insert a battery in the battery holder before the RTC firmware is loaded, or the battery will be lost

.    Please 

wait until after the RTC software is installed before inserting the battery in the battery holder. The battery should last for 

3 to 5 years in normal conditions. 

 

3.1    RTC Power 

 
The RTC can receive power from the main module power, the RTC battery, or from the expansion connector J5 pin 83. 

Regardless of a battery being present, the RTC circuit will receive power from the main module any time the +12V 

power is applied. This is true even if the power switch is OFF on modules that have a power switch. Whenever there is 

no +12V power applied to the module, then either the RTC battery or J5 pin 83 will be able to power the RTC. 

 
J5 pin 83 can be used to connect a battery with longer life than the CR1220/1225 or if the battery needs to be assembled 

on the application board. 

 

 

 

 

Summary of Contents for DM816 Series

Page 1: ...__________________________________________________________________________________________ Z3 Technology LLC 100 N 8th St Suite 250 Lincoln NE 68508 USA 1 402 323 0702 1 RTC Firmware for the DM81xx MO...

Page 2: ...________________________________________________________________ Z3 Technology LLC 100 N 8th St Suite 250 Lincoln NE 68508 USA 1 402 323 0702 2 Revision History Version Date Change Note Author 1 0 3 7...

Page 3: ...re Programmed Successfully Quick Test 10 5 Verifying the Firmware Programmed Successfully Running the Linux Apps 11 5 1 Building the software 11 5 2 Running the software 12 6 Inserting the Battery 13...

Page 4: ...RTC firmware controls the power drain on the RTC battery Without the proper RTC firmware loaded the RTC battery will be drained very quickly in a matter of minutes Do not insert a battery in the batte...

Page 5: ...fet430uif To load the RTC firmware perform the following steps 3 1 Installing the programming software 1 Download the Elprotronic FET Pro430 Lite programming software This can be found at the followi...

Page 6: ...s running normally 6 Connect the USB end of the MSP430 debugger to the PC with the Elprotronic Software installed Once you do so the power light on the MSP430 debugger should turn green 3 3 Running th...

Page 7: ...______________________________________________ Z3 Technology LLC 100 N 8th St Suite 250 Lincoln NE 68508 USA 1 402 323 0702 7 Figure 4 Elprotronic Main Menu 1 Click here and open MSP_DM81xx_v2 2 txt 2...

Page 8: ...etup Connection Device Reset This should open the Connection Reset Options menu 13 Select Spy Bi Wire as the method of Communication with the Target Device 14 Under Final Target Device action select R...

Page 9: ...17 In the main menu click on the AUTO PROG key The Status should change to Active and the software should automatically go through the Verify Security Fuse Erase Flash Write Flash and Verify Flash sta...

Page 10: ...the space bar before u boot ends so that you are in the u boot prompt 3 Within the u boot prompt type Z3 DM8168 MOD i2c md 42 0 20 You should see a row of register values followed by a row of dd s Fig...

Page 11: ...below detail where to copy these files and how to build and use it 5 1 Building the software 1 Go to the project directory and type source z3 env make sure z3 env and z3apps are in this directory ls n...

Page 12: ...2 44 Date YYYY MM DD 2013 08 27 Time HH MM SS 08 32 45 You should see the version of the RTC software and date time each time you press enter Press Ctl C to exit 11 Type usr local bin hwclock2 r to pr...

Page 13: ...mly snapped in place It is a common error to not snap the 5th connector into place When this happens it will seem like the MOD is operating correctly in that it might boot up but then unexpected behav...

Reviews: