This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2732: How do I obtain the system time?

Part Number: AM2732

Tool/software:

My code is as follows:

The actual running print is as follows:

The deviation between the measured time and the actual time is relatively large, is it because the way I obtain the time is wrong, or is my chip using a longer crystal oscillator except the problem?

I hope you can give me some advice, thank you.