you also can play with the OSCTUNE register ... ( datasheet DS39631E-page 27 )

most of time it's enough to get usable precision without tuning the OSC Crystal ...

Alain