Setup rtc clock on radaxa zero

Hi can anyone help my radxa zero install rtc hardware clock . Cannot detect i2cdetect -y 1error message
Error: Could not open file /dev/i2c-1' or /dev/i2c/1’: No such file or directory. hwclock -r hwclock: 1 too many arguments givenTry ‘hwclock --help’ for more information.
can anyone help to guide how to install rtc clock up step by step

Thank

Radxa Zero doesn’t have on board RTC, you need to connect some RTC hat on the GPIO.

Hi jack

I already connect a etc hat on it model  ds1307 etc clock module. How to setup the ds1307  use on Radxa zero . Can provide step by step installing .

Thank

I assume you are using a HAT designed for Raspberry Pi. From what you said the HAT seems to be using physical pin 2 and 3 for /dev/i2c-1, which corresponding to /dev/i2c-3 on Zero. You can then add an overlay to enable I2C_EE_M3.

I have enable I2C_EE_M3 but when I run
sudo i2cdetect -y 3 it scans and return UU in one of address block