DEFAULT XTAL16M TRIM VALUE

2 posts / 0 new
Last post
ciano
Offline
Last seen:2 weeks 5 days ago
加入:2014-10-03 08:13
DEFAULT XTAL16M TRIM VALUE

Hi Dialog,

Why are the default trim values in these files different?

arch_system.h
#define DEFAULT_XTAL16M_TRIM_VALUE (1302)

xtal_cal.c
#define DEFAULT_TRIM 1148 // ideal TRIM value

Best Regards,
Ciano Frost
Denmark

Device:
MT_dialog
Offline
Last seen:2 months 3 weeks ago
Staff
加入:2015-06-08 11:34
Hi Ciano,

Hi Ciano,

xtal_cal.c并不使用the SDK projects its included in the prod_test tool. The value DEFAULT_TRIM is a value that acts as a starting point in an algorithm for finding the optimal value for crystal trimming. The DEFAULT_XTAL16M_TRIM_VALUE is just an approximation of a value that you can use as a crystal trimming value.

Thanks MT_dialog