XTAL trim value in flash

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
andoridfm2013
Offline
Last seen:5 months 3 weeks ago
加入:2017-04-07 05:11
XTAL trim value in flash

Hi dialog,

I am learning about XTAL trimming to get a accurate 16M clock, from UM-B-041 page 90, Table 64 it state that
"The QSPI Flash address where the XTAL trim value will be written. Default value is 0x0008F000"
but when try to found the related code about reading that address, I find a comment in dsp_defaults.h in Production Line Tool Firmware said
“减少寄存器的值基于“增大化现实”技术e not anymore taken from the Flash."

so, now the only way to set the trim value is either hard code to the project or burn to OTP ?
please clarify this inconsistent between Production Line Tool firmware and DA1458x/DA1468x Production Line Tool datasheet, thank you.

Device:
PM_Dialog
Offline
Last seen:14 hours 17 min ago
工作人员
加入:2018-02-08 11:03
Hi andoridfm2013,

Hi andoridfm2013,

The values of the trim registers were saved into the SPI Flash in the DA14681-00, which is a quite old version. In the newest chips, DA145681-01 and DA14683-00, this is not supported. The values of the trim registers saved into the OTP memory and not into the SPI Flash

Thanks, PM_Dialog