1. Example description¶
This application demonstrates using the Real Time Clock (RTC) that provides clock and calendar information. The granularity of the RTC block is 10ms and can be clocked by the low power (LP) clock used. This can be either the internal RCX clock or the XTAL32K external crystal or even a digital clock. Each field of the calendar and time counter can generate an event when it rolls over. In addition, alarm events are supported and can be generated in two ways; as an one-time or recurring alarm. Both alarm and roll-over events can generate interrupts towards the application processer, that is the ARM-Cortex M33.
Note The example can be downloaded from Here.
1.1. HW & SW Configurations¶
Hardware Configurations
This example runs on a DA1469x Bluetooth Smart SoC.
A DA1469x Pro DevKit is needed for this example.
Software Configurations
Download the latest SDK version (10.0.10.x)
SEGGER’s J-Link tools should be downloaded and installed.
2. How to run the example¶
2.1. Initial Setup¶
Download the source code from the Support Website.
Import the project into your workspace.
Connect the target device to your host PC.
Compile the code and load it into the chip.
Open a serial terminal (115200/8 - N - 1)
Press the reset button on DevKit to start executing the application.
Every 1 second you should expect to get the current calendar and time:

If alarm functionality is enabled, 1 minute and 5 seconds (default configuration) after code’s execution you should expect to get an alarm event:

3. Known Limitations¶
There are no known limitations for this application.
4. License¶
Copyright (c) 2021 Dialog Semiconductor. All rights reserved.
This software (“Software”) is owned by Dialog Semiconductor. By using this Software you agree that Dialog Semiconductor retains all intellectual property and proprietary rights in and to this Software and any use, reproduction, disclosure or distribution of the Software without express written permission or a license agreement from Dialog Semiconductor is strictly prohibited. This Software is solely for use on or in conjunction with Dialog Semiconductor products.
EXCEPT AS OTHERWISE PROVIDED IN A LICENSE AGREEMENT BETWEEN THE PARTIES OR AS REQUIRED BY LAW, THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. EXCEPT AS OTHERWISE PROVIDED IN A LICENSE AGREEMENT BETWEEN THE PARTIES OR BY LAW, IN NO EVENT SHALL DIALOG SEMICONDUCTOR BE LIABLE FOR ANY DIRECT, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE SOFTWARE.