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.

[FAQ] AM5718: AM57xx Clock Drift Issue

Part Number: AM5718

Tool/software:

Clock drift of approximately 500 ppm is observed with 'counter_32k'
as clocksource. clock drift is seen because 'counter_32k' is running
with 32786Hz frequency instead it should run with 32768Hz.
  • One could use a DMTimer instead as a clocksource, which runs at 32768Hz to fix the clock drift issue.

    See the following patches that were applied on Linux Kernel 6.1 (SDK 9.x):

    • https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0001_2D00_arm_2D00_dts_2D00_Use_2D00_DMTimer_2D00_as_2D00_Clocksource_2D00_instead_2D00_of_2D00_counte.patch
    • https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0002_2D00_bus_2D00_ti_2D00_sysc_2D00_add_2D00_DRA7_2D00_SoC_2D00_matching.patch

    Best,

    Josue