Dialog DA1458 Series Panduan Pengguna - Halaman 10
Jelajahi secara online atau unduh pdf Panduan Pengguna untuk Mikrokontroler Dialog DA1458 Series. Dialog DA1458 Series 19 halaman.
UM-B-008
DA1458x Production Line Tool reference CLI
Example:
prodtest –p 14 xtrim rd
Output example:
status = 0
trim_value = 500
7.14 xtrim wr
Description: writes a value into the XTAL16M trimming register. The new value is written
immediately and it is already effective when the prodtest program finishes executing this command.
Syntax: prodtest -p <COM port number> xtrim wr <trim_value>
Parameters:
●
trim_value is the unsigned 16-bit decimal value to be written into the XTAL16M trimming register.
Example:
prodtest –p 14 xtrim wr 500
Output example:
status = 0
7.15 xtrim en
Description: enables XTAL16M output on GPIO P0_5. The command takes effect immediately.
Syntax: prodtest -p <COM port number> xtrim en
Example:
prodtest –p 14 xtrim en
Output example:
status = 0
Note 1
This command can also be used to enable the 32kHz clock on a GPIO 0_6. To do this two additional
registers need to be set using the write_reg16 command (see section 7.31)
Enable 32kHz clock in CLK_32K_REG, set bit 0 and bit 7 to '1'
Set GPIO P0_6 to output mode. In P06_MODE_REG, set bit 8 and 9 to '1'
Example:
prodtest –p 14 write_reg16 50000020 079D
prodtest –p 14 write_reg16 50003012 0300
Output example:
status = 0
7.16 xtrim dis
Description: disables XTAL16M output on GPIO P0_5. The command takes effect immediately.
Note 2
This command also disables:
XTAL32K output on GPIO P0_6
RC16M output on P0_7
RC32K output on P1_0
Syntax: prodtest -p <COM port number> xtrim dis
Example:
prodtest –p 14 xtrim dis
User manual
CFR0012-00 Rev 1
Revision 1.7
10 of 19
Company confidential
18-Nov-2015
© 2015 Dialog Semiconductor GmbH