Hi,
From K70 reference manual, please refer below RTC crystal circuit design:

TWR-K70F120M board also using the same connection:

About RTC compensation, please refer application note AN4949 for the detailed info.
Wish it helps.
Have a great day,
Mike
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------