Search the Community
Showing results for tags 'rtc'.
Found 1 result
-
hello tinker experts, I'm having issues trying to use rtc in my tinker board, I want it to function so that i get the correct time & date even when I power on my device without any internet connection, now the issues I'm facing are when i connect the rtc module to the tinker board by connecting pin3 and pin5 to the corresponding pins and a cmos battery already connected to rtc module, im getting linaro@linaro-alip:/$ sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- what does this mean and the thing i dont understand is even when i disconnect the rtc module and make sure there are no i2c connections are connected on board im getting linaro@linaro-alip:/$ sudo hwclock -r -f /dev/rtc0 2024-05-28 13:26:15.099234+05:30 my hardware config is ##### Hardware Interface Config ##### ## Note: fiq_debugger and uart3 use the same pin. Set fiq_debugger first while $ ## Note: uart4 and spi0 are the same pins. Set the latter one while both on. ## ## Note: uart2 is the same pins to pwm2 and pwm3. Set the latter one while both$ intf:fiq_debugger=on intf:i2c1=on intf:i2c4=on #intf:spi0=off #intf:spi2=off #intf:pwm2=off #intf:pwm3=off intf:pcm_i2s=on intf:uart1=on intf:uart2=on intf:uart3=on intf:uart4=on i dont understand why, i just want to get correct date and time between power on and offs even when there is no internet connection.. can some one guide me through the steps required to achieve this functionality