Hi,
I have configured RTC with external clock .
I 've used a crystal oscillator of 32.768KHZ which connected to RTC_CLKIN Pin.
My Configuration as below.
1.

2.

3.

4.In addition, I have configured the PA7's mux mode to PORT_MUX_ALT4 for Enabling RTC CLK_IN.
{
.base = PORTA,
.pinPortIdx = 7u,
.pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
.passiveFilter = false,
.driveSelect = PORT_LOW_DRIVE_STRENGTH,
.mux = PORT_MUX_ALT4,
.pinLock = false,
.intConfig = PORT_DMA_INT_DISABLED,
.clearIntFlag = false,
.gpioBase = PTA,
.direction = GPIO_INPUT_DIRECTION,
.digitalFilter = false,
},
used the startcounter function and after some time , read the RTC time but read the RTC set value only.
RTC is not working after initialization.
please help me to resolve this.
Regards,
Ambarish