Is there any way that we can get the external trigger time stamp from the kernel for the synchronization in multi camera sync in the TRM they have said the gpio time stamp wil staore in fifo .
I would be a help if i can print the time stamp initially now.
please refer the trm snippet below
Thanks for your reply .i have tried the GTE for testing .is the GTE time stamp is real time stamp ?
because i need the real time clock for the evaluation.
Thanks for your reply. i have doubt regarding GPIO configuration that i have configure the one gpio as an giop (IRQ handler)for my camera driver and can i monitor the same GPIO with GTE driver?
Hi @KevinFFF can i update hardware time stamp to real time.while the GPIO event is occurring? in the hardware it self so that my default time will be RTC.
What do you mean about real time?
It sounds like you want to perform time synchronization between hardware clock and system clock.
It seems you can simply turn on the time sync from network (NTP).
@KevinFFF Actualy i need my time stamp to be same for for two soc ,so that my image and imu data cam sync with other system which are not link to each other ,so i am able to update the real time clock to my image and imu data so other system also can do the same then my all data’s will be sync with time .
Then WHY GTE is?. i can get the trigger event time so those time will be added to the image and imu data .but as of my observation GTE gives the hardware time stamp .
SO is there any way that i can update the real time to the time stamp of my imu and image with help of GTE driver in REAL time clock.
If my under stand is wrong please correct me .or is there any other way for the real time clock usage in image and imu
Have you tried calling ktime_get_real_seconds() to get the seconds portion of CLOCK_REALTIME instead of using ktime_get_ts64() to get the monotonic clock in timespec64 format?