Hide thumbs Also See for DA1458 Series:

Advertisement

Quick Links

Company confidential

User manual

DA1458x Production Line Tool
reference CLI

UM-B-008

Abstract

This document describes the reference command line interface (CLI) for the production test tool of
DA14580/581/583.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DA1458 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Dialog DA1458 Series

  • Page 1: User Manual

    Company confidential User manual DA1458x Production Line Tool reference CLI UM-B-008 Abstract This document describes the reference command line interface (CLI) for the production test tool of DA14580/581/583.
  • Page 2: Table Of Contents

    7.20 xtrim caltest ......................... 12 7.21 sleep ............................ 12 7.22 otp wr_xtrim ......................... 13 7.23 otp rd_xtrim ......................... 13 7.24 otp wr_bdaddr ........................13 User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 2 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 3: Tables

    32 KHz RC Oscillator References 1. DA14580, Data sheet, Dialog Semiconductor 2. SPECIFICATION OF THE BLUETOOTH SYSTEM, version 4.0, Bluetooth SIG, 2010 3. Connection Manager, Help Document, Dialog Semiconductor 4. DA14581, Data sheet, Dialog Semiconductor User manual Revision 1.7 18-Nov-2015...
  • Page 4: Introduction

    2. Open the appropriate project depending on chip type and Keil μVision IDE version: a. Keil 4: DA14580: .\Keil_4\prod_test.uvproj DA14581: .\Keil_4\prod_test_581.uvproj DA14583: .\Keil_4\prod_test_583.uvproj b. Keil 5: User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 4 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 5: General Description

    Description: select the COM port number on a PC. All commands require this switch. Usage: prodtest –p <COM_PORT_NUMBER> …. 6.3 Switch –v Description: display the tool’s version Usage: prodtest –v User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 5 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 6: Commands

    ● NUMBER_OF_PACKETS is an integer between 1 and 65535. Example: the following command sends 1000 packets prodtest -p 14 pkt_tx 2402 35 6 1000 User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 6 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 7: Start_Pkt_Rx

    Syntax: prodtest –p <COM_PORT_NUMBER> stop_pkt_rx_stats Example: prodtest –p 14 stop_pkt_rx_stats Output example: status = 0 nb_packets_received_correctly = 8529 nb_packets_with_syncerror = 0 nb_packets_received_with_crcerr = 1 rssi = -37.30 User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 7 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 8: Stoptest

    7.9 unmodulated OFF Description: stops unmodulated TX or RX test. Syntax: prodtest –p <COM_PORT_NUMBER> unmodulated OFF Example: prodtest -p 14 unmodulated OFF Output example: User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 8 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 9: Start_Cont_Tx

    Description: reads the value of the XTAL16M trimming register as specified in DA14580 datasheet [1] section 5: CLK_FREQ_TRIM_REG (0x50000002). The value is reported in decimal format. Syntax: prodtest -p <COM port number> xtrim rd User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 9 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 10: Xtrim Wr

    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 Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 10 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 11: Xtrim Inc

    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 Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 11 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 12: Xtrim Caltest

    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 Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 12 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 13: Otp Wr_Xtrim

    Description: reads the XTAL16M calibration flag from the OTP header (bit 4 of the calibration flag in OTP header). Syntax: prodtest -p <COM port number> otp re_xtrim User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 13 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 14: Otp We_Xtrim

    OTP memory region to be written. This is a word address hence it must be divisible by 4. It must be lower than 0x8000. It must be formatted as a 16 bit hexadecimal number. User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 14 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 15: Read_Reg16

    It must be formatted as a 16-bit hexadecimal number. Example: the following command writes 0x00B3 in TRIM_CTRL_REG (0x50000016) [1]. User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 15 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 16: Write_Reg32

    It must be formatted as a 32-bit hexadecimal number. Example: the following command writes 0x0000000F in PATCH_VALID_REG (0x40008400) [1]. prodtest -p 16 write_reg32 40008400 0000000F Output example: status = 0 User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 16 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 17: Return Status Codes

    SC_INVALID_SLEEP_CMD_SECONDS_ARG SC_INVALID_XTAL_TRIMMING_CMD_OPERATION_ARG SC_INVALID_XTAL_TRIMMING_CMD_TRIM_VALUE_ARG SC_INVALID_OTP_CMD_OPERATION_ARG SC_INVALID_OTP_CMD_TRIM_VALUE_ARG SC_INVALID_OTP_CMD_BDADDR_ARG SC_INVALID_OTP_ADDRESS_ARG SC_INVALID_NUMBER_OF_OTP_WORDS_ARG SC_INVALID_WORD_VALUE_ARG SC_INVALID_GPIO_ARG SC_XTAL_TRIMMING_CAL_OUT_OF_RANGE_ERROR SC_XTAL_TRIMMING_CAL_FREQ_NOT_CONNECTED SC_INVALID_REGISTER_ADDRESS_ARG SC_INVALID_REGISTER_VALUE_ARG 1000 – 1063 SC_HCI_STANDARD_ERROR_CODE_BASE (1000) + standard HCI error code User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 17 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 18: Revision History

    The “xtrim cal” and “xtrim caltest” commands detect if the square wave pulse is absent. 18-Nov-2015 Updated for the SDK 3.0.10 and SDK5.0.2 release. Added the description how to enable XTAL32 on a GPIO User manual Revision 1.7 18-Nov-2015 CFR0012-00 Rev 1 18 of 19 © 2015 Dialog Semiconductor GmbH...
  • Page 19 Dialog Semiconductor excludes all liability in this respect. Customer notes that nothing in this document may be construed as a license for customer to use the Dialog Semiconductor products, software and applications referred to in this document. Such license must be separately sought by customer with Dialog Semiconductor.

Table of Contents