Dialog DA1458 Series Panduan Pengguna - Halaman 12
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
7.20 xtrim caltest
Description: behaves identically to "xtrim cal" with the exception that it does not modify the OTP.
Syntax: prodtest -p <COM port number> xtrim caltest <Px_y>
Parameters:
●
Px_y is the GPIO that the external square pulse is applied on.
Example:
prodtest –p 14 xtrim caltest P1_0
Output example:
status = 0
7.21 sleep
Description: puts the device to sleep for a specified number of minutes and seconds.
Syntax: prodtest –p <COM_PORT_NUMBER> sleep <mode> <minutes> <seconds>
Parameters:
●
mode is one of the available sleep modes defined in section 3.5 of the datasheet [1]:
○
none = Sleep Mode (no power gating, ARM CPU is idle waiting for an interrupt)
○
extended = Extended Sleep Mode
○
deep = Deep Sleep Mode
●
minutes is a number between 0 and 255.
●
seconds is a number between 0 and 255.
If both minutes and seconds are set to zero then the device sleeps forever.
The active peripherals in each sleep mode are shown in table 1.
Table 1: Power domain states for each sleep mode
Power
PD_SYS (
mode
AHB, OTP,
ROM,
Watchdog,
SW timer,
GPIO
multiplexing)
Sleep
ON
Mode
Extended
OFF
Sleep
Mode
Deep
OFF
Sleep
Mode
Known limitations:
●
UART communication is lost when the device wakes up from extended sleep mode.
●
The device will not wake up from deep sleep mode.
Example 1:
prodtest –p 14 sleep none 1 0
User manual
CFR0012-00 Rev 1
PD_PER
PD_DBG
(UARTs,
SPI, I2C,
Keyboard
controller,
ADC)
ON
ON
Programmed
OFF
to OFF
Programmed
OFF
to OFF
Revision 1.7
12 of 19
PD_RAD
PD_RRx
(Radio and
(Retention
BLE core)
RAM x)
ON
ON
Programmed
Programmed
to OFF
to ON
Programmed
Programmed
to OFF
to ON
© 2015 Dialog Semiconductor GmbH
Company confidential
PD_SR
Analog
(System
(BandGap,
RAM)
DCDC
converter
XTAL16M,
RC
oscillators,
ADC,
LDOs)
ON
ON
ON
OFF
OFF
OFF
18-Nov-2015