Dialog DA1458 Series Manual do utilizador - Página 11
Procurar online ou descarregar pdf Manual do utilizador para Microcontroladores Dialog DA1458 Series. Dialog DA1458 Series 19 páginas.
UM-B-008
DA1458x Production Line Tool reference CLI
Output example:
status = 0
7.17 xtrim inc
Description: increments the XTAL16M trimming register. The register's new value is already
effective when the prodtest program finishes executing this command.
Syntax: prodtest -p <COM port number> xtrim inc <delta>
Parameters:
●
delta is the unsigned 16-bit decimal value to be added to the XTAL16M trimming register.
Example:
prodtest –p 14 xtrim inc 5
Output example:
status = 0
7.18 xtrim dec
Description: decrements the XTAL16M trimming register. The register's new value is already
effective when the prodtest program finishes executing this command.
Syntax: prodtest -p <COM port number> xtrim dec <delta>
Parameters:
●
delta is the unsigned 16-bit decimal value to be subtracted from the XTAL16M trimming register.
Example:
prodtest –p 14 xtrim dec 5
Output example:
status = 0
7.19 xtrim cal
Description: runs the XTAL16M trimming register calibration procedure which uses an externally
applied 500ms high square pulse as a reference for trim value calibration. The procedure executes
the following steps:
1. Calibrates the XTAL16M trimming register.
2. Programs the calibrated value in OTP (at address 0x7F8C).
3. Enables the "XTAL16M trim value is valid" bit in OTP (at address 0x7F78).
If a square pulse has not been applied on the given GPIO then the calibration procedure will fail with
a status code equal to 27.
Syntax: prodtest -p <COM port number> xtrim cal <Px_y>
Parameters:
●
Px_y is the GPIO that the external square pulse is applied on.
Example:
prodtest –p 14 xtrim cal P1_0
Output example:
status = 0
User manual
CFR0012-00 Rev 1
Revision 1.7
11 of 19
Company confidential
18-Nov-2015
© 2015 Dialog Semiconductor GmbH