TEMPCOMPRTC-RD
4 Rev. 0.1
6. TC-RTC Demonstration
The following step-by-step demonstration explains the various features and capabilities of this reference design.
There are two interfaces available for the RTC—UART and SMBus, which are demonstrated in sections 6.1 and
6.2, respectively.
6.1. UART Interface Demonstration
The TC-RTC Evaluation Board comes preloaded with firmware that enables the UART interface. The following
sections show how to set up and use this interface.
6.1.1. PC Software Setup
On the PC, set up HyperTerminal to use the COM port at 9600 baud, 8-N-1, and no flow control. Detailed
instructions to set this up are shown below.
1. Launch HyperTerminal from your Start Menu: Start MenuProgramsAccessoriesCommunications
HyperTerminal.
2. Type any name for the new connection, and click OK.
3. In the”Connect using:” drop-down list, Choose “COM1”, or if you have multiple COM ports, choose the one you
want to use.
4. Set up the COM1 Properties dialog as shown in Figure 3, and click OK.
5. Select “FilePropertiesSettingsASCII Setup”. Check the box marked “Echo typed characters locally”, and
click OK. See Figure 4.
Figure 3. HyperTerminal Settings
TEMPCOMPRTC-RD
Rev. 0.1 5
Figure 4. HyperTerminal ASCII Setup
6.1.2. Hardware Setup
1. Connect the provided DB9 serial cable between the PC’s serial port and the TC-RTC evaluation board
connector J5.
2. Apply power to the evaluation board using the provided dc power adapter.
6.1.3. Interacting with the TC-RTC
1. After the board is powered on for the first time, the board firmware will perform a temperature sensor/ADC offset
calibration. For valid calibration, a soak period is required before the calibration is done. Wait for 15 seconds for
calibration to complete. At the end of calibration, the green LED on the board will start blinking at a 1 Hz rate.
2. HyperTerminal should now be displaying initial date, time and temperature information from the board. You can
program the current date and time data into the board. This data should be trans-coded to the format expected
by the device firmware. Refer to "Appendix B—TC-RTC: Implementation Details" on page 12 for the data
format. Note that the AM/PM information is encoded in the same byte as the hour. Here are some examples:
06:31:09 PM, Thursday, May 04, 200609 31 66 04 04 05 06
11:05:39 AM, Saturday, December, 08, 197939 05 51 06 08 12 79
3. Type the “s” command to toggle off the auto-display mode that displays the time once every second. Note that
commands should be only in lower case.
4. Type the following “w” command (write) to program the device with a new time and date. See "Appendix A—TC-
RTC: Supported Commands" on page 11 for command formats.
w000709316604040506
5. Type the “r” command (read) to get the current time and date information from the device.
r0007
6. Type the “s” command to toggle on the auto-display mode.
TEMPCOMPRTC-RD
6 Rev. 0.1
Figure 5. Interacting with the TC-RTC—HyperTerminal Session
An index of all supported commands is available in "Appendix A—TC-RTC: Supported Commands" on page 11.
Detailed information about this reference design is contained in “AN293: Temperature Compensated Real Time
Clock Reference Design Programmer’s Guide”.
6.2. SMBus Interface Demonstration
The TC-RTC Evaluation Board can be loaded with firmware that can enable an SMBus/I
2
C interface. This is
described in the following sections.
6.2.1. Firmware Download
The TC-RTC Evaluation Board comes preloaded with firmware that enables the UART interface. In order to enable
the SMBus interface, alternate firmware has to be loaded on the device. The steps in this section will guide you
through downloading the TC-RTC firmware with SMBus interface to the TC-RTC evaluation board.
1. Install the Silicon Laboratories IDE from the Reference Design Kit CD. Launch the IDE by choosing "Start
MenuAll ProgramsSilicon LaboratoriesSilicon Laboratories IDE". If you need more information about
installing and using the IDE, please refer to the C8051F300DK Development Kit User's Guide, which is
available on this web page:
http://www.silabs.com/tgwWebApp/public/web_content/products/Microcontrollers/en/C8051F300DK.htm
2. Depending on which type of debug adapter you have, set up the hardware as shown in one of the two diagrams
below (Figure 4, Figure 5). Consult the C8051F300DK User’s Guide if you need detailed instructions.

TEMPCOMPRTC-RD

Mfr. #:
Manufacturer:
Silicon Labs
Description:
Development Boards & Kits - 8051 Temperature compensated RTC Reference Design
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet