Problem with RTC on quecopen

Hi,
i’m facing some problem using the RTC with quecopen for BG-600. The function qapi_PM_Rtc_Init() always returns error. How can i fix it?

Moreover, i tried to use the function qt_get_real_time() , the time_julian value is ok, but if i check the time_secs value, it doesn’t match the unix time. I see that the start date is 1980-06-01, but if i check the value of time secs on 2022-10-03, the value doesn’t match, so, how can i convert the value of time_secs of the qapi_time_get_t struct in unix time?