<< Click to Display Table of Contents >>

Navigation:  Hardware Modules > aMG High Precision RTC >


Previous pageReturn to chapter overviewNext page

User Interface

How this block appears in a Simulink model?



This block need I2C Setup block for selected I2C port.

What can be configured?

Configuration item

Selectable option/ Value


I2C module

1| 2| 3

Select I2C module to communication with DS3231 device.

Input port

1. Port SlvAddr, i2c device slave address for DS3231 device. Slave device address for aMG High Precision RTC board is xD0.

Output port

1. Port Status, this status is I2C communication status (direct from I2C block). Status  0 - Success, 1 - I2C NAK, 2 - I2C TIMEOUT.

2. Port Temp (C), temperature reading value.

When to use this block?

Use this block to read temperature sensing from DS3231 device.


Date/ Time configure demo

Read temperature demo