Rtc; Spi And I2C - Cherry RINGNECK SOM-PX30-uQ7 User Manual

Power efficient system-on-module with quad-core arm featuring the rockchip px30 application processor
Table of Contents

Advertisement

3.13 RTC

The RINGNECK SOM-PX30-uQ7 contains a real-time clock (RTC) on-module.
Note: This functionality is implemented in the optional Mule companion controller (see Section 12.4.4 Com-
panion Controller 1 and Section 12.4.5 Companion Controller 2).
The RTC is read by the kernel on boot-up and used to set the system clock.
To check the RTC value, use hwclock:
hwclock
Thu
22
Oct
2022 01:49:20
The RTC will be automatically set to the system clock on shutdown, so you can set the system clock using the
date command and reboot to update the RTC:
date
--set
2022-10-22
date
--set
04:12:33
You can also update the RTC immediately, again with hwclock:
hwclock -w

3.14 SPI and I2C

SPI and I2C interfaces are both available on the pin header labeled SPI+I2C+1-Wire.
SOM-PX30-uQ7 does not support 1-Wire.
Additional I2C buses are available on the SMBUS header. Note that SMB_DAT, SMB_CLK, SMB_ALERT# are not sup-
ported by the RINGNECK SOM-PX30-uQ7 module (shown in thin font in Fig. 3.12).
RINGNECK SOM-PX30-uQ7 User Manual
© Cherry Embedded Solutions GmbH
PM CEST
-0.826662
seconds
Fig. 3.11: I2C and SPI header
The RINGNECK
v1.3.1
Page 13

Advertisement

Table of Contents
loading

Table of Contents