Mikroelektronika d.o.o.
RTC 14 Click Board
RTC 14 Click Board
Couldn't load pickup availability
Key Features:
- Can be used for various applications ranging from security, warranty monitoring, data collection, and recording due to its enhanced security functionality
- Based on the ISL1221 - low-power RTC with battery-backed SRAM and event detection from Renesas
- Low power consumption, clock/calendar feature, security and event functions, frequency output with 15 selectable frequency, single alarm, battery back-up, and more
The RTC 14 Click Board™ is a compact add-on board that measures the passage of time. This board features the ISL1221, a low-power RTC with battery-backed SRAM and event detection from Renesas. The ISL1221 tracks time with separate registers for hours, minutes, and seconds, operating in normal and battery mode. It also can timestamp an event by either issuing an output signal, containing the second, minute, hour, date, month, and year that the triggering event occurred, or by stopping the RTC registers from advancing at the moment the event occurs. The calendar feature is exceptionally accurate through 2099, with automatic leap year correction. This Click Board™ is suitable for various applications ranging from security, warranty monitoring, data collection, and recording due to its enhanced security functionality.
The RTC 14 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
![Mikroelektronika d.o.o. MIKROE-4799 RTC 14 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-14-click-board-30328987812029.jpg?v=1685098921&width=1445)
![Mikroelektronika d.o.o. MIKROE-4799 RTC 14 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-14-click-board-30328987254973.jpg?v=1685099093&width=1445)
![Mikroelektronika d.o.o. MIKROE-4799 RTC 14 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-14-click-board-30328987451581.jpg?v=1685099099&width=1445)
![Mikroelektronika d.o.o. MIKROE-4799 RTC 14 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-14-click-board-30328987091133.jpg?v=1685099089&width=1445)
![Mikroelektronika d.o.o. MIKROE-4799 RTC 14 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-14-click-board-30328987910333.jpg?v=1685099102&width=1445)
![Mikroelektronika d.o.o. MIKROE-4799 RTC 14 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-14-click-board-30328987156669.jpg?v=1685099274&width=1445)
![Mikroelektronika d.o.o. MIKROE-4799 RTC 14 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-rtc-14-click-board-30328987353277.jpg?v=1685099275&width=1445)
How Does The RTC 14 Click Board™ Work?
The RTC 14 Click Board™ as its foundation uses the ISL1221, a small micropower real-time clock that provides increased security features and tamper detection from Renesas. This device comes with time-stamp features in normal and battery modes, timing and crystal compensation, clock/calendar, power fail indicator, periodic or polled alarm, intelligent battery backup switching, and battery-backed user SRAM. With their enhanced security functionality, this RTC is ideally suited for various applications ranging from security, warranty monitoring, data collection, recording, and time-stamping single events, for example, recurring events such as the opening and closing a security door.
As mentioned before, the ISL1221 can time-stamp an external event by either issuing an output signal, containing the second, minute, hour, date, month, and year that the triggering event occurred, or by stopping the RTC registers from advancing at the moment the event occurs. The device also has calendar registers for a date, month, year, and day of the week, which is exceptionally accurate through 2099, with automatic leap year correction.
The alarm can be set to any clock/calendar value (for example, every minute, every Friday, or at 9:41 AM on September 10). The alarm status is available by checking the Status Register or available at the hardware interrupt pin routed to the INT pin of the mikroBUS™ socket. The alarm also contains a repeat mode allowing a periodic interrupt every minute, every hour, every day.
The RTC 14 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a Fast Mode operation up to 400kHz. Also, it has the frequency output programmable from 32.768kHz to 1/32Hz, available at the PWM pin of the mikroBUS™ socket and onboard header pin labelled as FO. This feature is used for various timing applications, including clocking the MCU in sleep mode, eliminating external crystal, and further reducing the BOM. To use features such as external event input or frequency output available on onboard headers, it is necessary to populate the resistors R8 and R9 and thus activate these functions on the headers.
The most common RTC configuration, like this one, is a battery-backed up, which maintains time and may hold data in 2 bytes of battery-backed SRAM provided for data storage. That's why, in addition to the ISL1221, the RTC 14 Click is equipped with a button cell battery holder compatible with the 3000TR battery holder, suitable for 12mm Coin Cell batteries.
This Click board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the I2C communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
Specifications
Type | RTC |
Applications | Can be used for various applications ranging from security, warranty monitoring, data collection, and recording due to its enhanced security functionality |
On-board modules | ISL1221 - low-power RTC with battery-backed SRAM and event detection from Renesas |
Key Features | Low power consumption, clock/calendar feature, security and event functions, frequency output with 15 selectable frequency, single alarm, battery back-up, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
Pinout diagram
This table shows how the pinout of the RTC 14 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
Frequency Output | FO | 1 | AN | PWM | 16 | EIN | Event Input |
NC | 2 | RST | INT | 15 | INT | Interrupt | |
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
J1 | FO | Unpopulated | Frequency Output Header |
J2 | EIN | Unpopulated | External Event Input Header |
RTC 14 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Battery Supply Voltage | 1.8 | - | 5.5 | V |
RTC Memory Size | - | - | 2 | bytes |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the RTC 14 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe GitHub account.
Library Description
This library contains an API for RTC 14 Click driver.
Key Functions
rtc14_cfg_setup
- Config Object Initialization function.rtc14_init
- Initialization function.rtc14_default_cfg
- Click Default Configuration function.
Example Description
This is an example that demonstrates the use of the RTC 14 click board™.
void application_task ( void ) { rtc14_get_time( &rtc14, &time ); Delay_ms( 1 ); rtc14_get_date( &rtc14, &date ); Delay_ms( 1 ); if ( time.sec != new_sec ) { log_printf( &logger, " Date : %.2d-%.2d-%.2d ", ( uint16_t ) date.day, ( uint16_t ) date.month, ( uint16_t ) date.year ); display_day_of_week( ); log_printf( &logger, " Time : %.2d:%.2d:%.2d ", ( uint16_t ) time.hours, ( uint16_t ) time.min, ( uint16_t ) time.sec ); log_printf( &logger, "%cMrn", ( time.am_pm == RTC14_SET_HOURS_FORMAT_12_PM ? 'P' : 'A' ) ); log_printf( &logger, "- - - - - - - - - - -rn" ); new_sec = time.sec; Delay_ms( 1 ); } }
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.RTC14
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
This Click board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
RTC 14 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.