|
NetBurner 3.5.6
PDF Version |
<examples/I2C/Wire/RTC-RV3032>
Supported Platforms: SOMRT1061 with DEV-SOMRT1061
External Real-Time Clock example using the Micro Crystal RV3032 RTC connected to the I2C bus, such as with the SOMRT1061-200IR on the DEV-SOMRT1061 development board containing the RV3032.
The example uses the Wire interface class for I2C operation, and requires an Internet connection to obtain the current time with NTP.
line is the default.
| SCL | SOMRT PIN | SDA | SOMRT PIN | Pin Func | Module |
|---|---|---|---|---|---|
| Pin_EMC_12 | 9 | Pin_EMC_11 | 10 | PIN_FN_2 | 4 |
| Pin_SD_B0_00 | 27 | Pin_SD_B0_01 | 26 | PIN_FN_2 | 3 |
| Pin_AD_B1_00 | 40 | Pin_AD_B1_01 | 41 | PIN_FN_3 | 1 |
| Pin_AD_B1_07 | 47 | Pin_AD_B1_06 | 46 | PIN_FN_1 | 3 |
| Pin_EMC_22 | 83 | Pin_EMC_21 | 84 | PIN_FN_2 | 3 |
| Module | SCL | SDA |
|---|---|---|
| I2C0 | P2.42 | P2.39 |
| I2C1 | P2.12 | P2.22 |
| I2C2 | P2.23 | P2.26 |
| Module | SCL | SDA |
|---|---|---|
| I2C0 | 17 | 16 |
| Module | SCL | SDA |
|---|---|---|
| I2C0 | J2.42 | J2.39 |
| I2C1 | J2.41 | J2.44 |
| Module | SCL | SDA |
|---|---|---|
| I2C0 | 27 | 29 |
| I2C1 | 22 | 20 |
| I2C4 | 26 | 24 |
| I2C5 | 34 | 32 |
| Module | SCL | SDA |
|---|---|---|
| I2C4 | 5 | 4 |