<< Click to Display Table of Contents >> DS3231 Configure |
|
This block is made from subsystem by implement I2C block to communicate with DS3231 device.
This block need I2C Setup block for selected I2C port.
Configuration item |
Selectable option/ Value |
Description |
I2C module |
1| 2| 3 |
Select I2C module to communication with DS3231 device. |
1. Port SlvAddr, i2c device slave address for DS3231 device. Slave device address for aMG High Precision RTC board is xD0.
2. Port (+)UP, button input for configuration +1 direction.
3. Port (-)DOWN, button input for configuration -1 direction.
4. Port (*)MODE, button input for configuration to select edit mode.
1. Port Status, status id for edit mode.
Status |
Edit mode |
0 |
Edit/ configuration for Date. When edit mode is enabled, press (+)Up button to increase date and (-)DOWN button to decrease date. Valid configuration value is 1 to days count of month. |
1 |
Edit/ configuration for Month, valid configuration value is 1 to 12. |
2 |
Edit/ configuration for Year, valid configuration value is 0 to 99. |
3 |
Edit/ configuration for Hour, valid configuration value is 0 to 23. |
4 |
Edit/ configuration for Minute, valid configuration value is 0 to 59. |
5 |
Edit/ configuration for Second, valid configuration value is 0 to 59. |
2. Port Enable
Enable/ disable status for Edit/ configuration. Press and hold (*)MODE button for 2.56 seconds to toggle enable/ disable.
Use this block to configure Date/ Time for DS3231 device via I2C bus.