Production Line Tool v5.0
The DA1470x Production Line Tool Software Package
Loading...
Searching...
No Matches
Typedefs | Enumerations
P_DLL API enumerations

The p_dll API enumerations. More...

Typedefs

typedef enum __pdll_test_id _pdll_test_id
 The available production tests and operations. Used at __pdll_device::test.
 
typedef enum __payload_type _payload_type
 RF TX payload types.
 
typedef enum __audio_test_op _audio_test_op
 Commands for audio test.
 
typedef enum __audio_tone_op _audio_tone_op
 Commands for audio tone.
 
typedef enum __sensor_iface _sensor_iface
 Sensor tests interface selection.
 
typedef enum __gpio_state _gpio_state
 GPIO state.
 
typedef enum __gpio_pwr_lvl _gpio_pwr_lvl
 GPIO power level.
 
typedef enum __gpio_mode _gpio_mode
 GPIO mode.
 
typedef enum __sleep_modes _sleep_modes
 The sleep modes supported.
 
typedef enum __baud_rate _baud_rate
 The UART baud rates supported in the UART loop test.
 
typedef enum __adv_channel _adv_channel
 BLE advertisement channels for the HCI BLE scan test.
 
typedef enum __pdll_tx_pwr_lvl _pdll_tx_pwr_lvl
 RF test transmit output power levels.
 
typedef enum __pdll_adv_tx_pwr_lvl _pdll_adv_tx_pwr_lvl
 Advertisments GAP transmit output power levels.
 

Enumerations

enum  __pdll_test_id {
  dut_com_init = 0 , cont_pkt_tx = 1 , pkt_tx = 2 , start_pkt_rx_stats = 4 ,
  custom_test = 6 , xtal_trim = 7 , scan_test = 9 , rdtester_init = 10 ,
  rdtester_uart_connect = 11 , rdtester_uart_loop = 12 , rdtester_vbat_uart_ctrl = 13 , rdtester_vpp_ctrl = 14 ,
  rdtester_rst_pulse = 15 , rdtester_xtal_pulse_uart = 16 , rdtester_xtal_pulse = 17 , rdtester_pulse_width = 18 ,
  rdtester_vbat_ctrl = 19 , rdtester_vbat_uart_rst_ctrl = 20 , uart_resync = 21 , audio_test = 22 ,
  audio_tone = 23 , gpio_toggle = 24 , gpio_set = 25 , gpio_get = 26 ,
  gpio_wd = 27 , sensor_test = 28 , sleep = 29 , uart_loop = 30 ,
  ble_adv_start = 31 , ble_adv_stop = 32 , ext32Khz_test = 33 , adc_vbat = 34 ,
  set_tx_pwr = 36 , timestamp_rd = 37 , INVALID_TEST = 38
}
 The available production tests and operations. Used at __pdll_device::test. More...
 
enum  __payload_type {
  TX_TYPE_PSEUDO_RAND_9 = 0 , TX_TYPE_ALT_BITS_1100 , TX_TYPE_ALT_BITS_10 , TX_TYPE_PSEUDO_RAND_15 ,
  TX_TYPE_ALL_BITS_1 , TX_TYPE_ALL_BITS_0 , TX_TYPE_ALT_BITS_0011 , TX_TYPE_ALT_BITS_0101 ,
  INVALID_TX_PAYLOAD_TYPE
}
 RF TX payload types. More...
 
enum  __audio_test_op { AUDIO_TEST_START = 1 , AUDIO_TEST_STOP , INVALID_AUDIO_TEST }
 Commands for audio test. More...
 
enum  __audio_tone_op { AUDIO_TONE_START = 1 , AUDIO_TONE_STOP , INVALID_AUDIO_TONE_OP }
 Commands for audio tone. More...
 
enum  __sensor_iface { SENSOR_IFACE_SPI = 0 , SENSOR_IFACE_I2C , INVALID_SENSOR_IFACE }
 Sensor tests interface selection. More...
 
enum  __gpio_state { GPIO_STATE_LOW = 0 , GPIO_STATE_HIGH , INVALID_GPIO_STATE }
 GPIO state. More...
 
enum  __gpio_pwr_lvl { GPIO_LVL_3V3 = 0 , GPIO_LVL_1V8 , INVALID_GPIO_LVL }
 GPIO power level. More...
 
enum  __gpio_mode {
  GPIO_MODE_INPUT = 0 , GPIO_MODE_INPUT_PULLUP = 1 , GPIO_MODE_INPUT_PULLDOWN = 2 , GPIO_MODE_OUTPUT = 3 ,
  GPIO_MODE_OUTPUT_PUSH_PULL = 4 , GPIO_MODE_OUTPUT_OPEN_DRAIN = 5 , INVALID_GPIO_MODE
}
 GPIO mode. More...
 
enum  __sleep_modes { NO_SLEEP = 0 , EXTENDED_SLEEP , DEEP_SLEEP , INVALID_SLEEP_MODE }
 The sleep modes supported. More...
 
enum  __baud_rate {
  UART_BAUDRATE_9K6 = 0 , UART_BAUDRATE_19K2 , UART_BAUDRATE_57K6 , UART_BAUDRATE_115K2 ,
  UART_BAUDRATE_1M , UART_BAUDRATE_2M
}
 The UART baud rates supported in the UART loop test. More...
 
enum  __adv_channel { ADV_CH37 = 0x01 , ADV_CH38 = 0x02 , ADV_CH39 = 0x04 , ADV_ALLCH = 0x07 }
 BLE advertisement channels for the HCI BLE scan test. More...
 
enum  __pdll_tx_pwr_lvl {
  RF_TX_PWR_LVL_MIN_VAL = 0U , RF_TX_PWR_LVL_MINUS_50d0 = 0U , RF_TX_PWR_LVL_MINUS_18d0 = 1U , RF_TX_PWR_LVL_MINUS_12d0 = 2U ,
  RF_TX_PWR_LVL_MINUS_8d0 = 3U , RF_TX_PWR_LVL_MINUS_6d0 = 4U , RF_TX_PWR_LVL_MINUS_3d0 = 5U , RF_TX_PWR_LVL_MINUS_2d0 = 6U ,
  RF_TX_PWR_LVL_MINUS_1d0 = 7U , RF_TX_PWR_LVL_0d0 = 8U , RF_TX_PWR_LVL_PLUS_1d5 = 9U , RF_TX_PWR_LVL_PLUS_2d0 = 10U ,
  RF_TX_PWR_LVL_PLUS_3d0 = 11U , RF_TX_PWR_LVL_PLUS_4d0 = 12U , RF_TX_PWR_LVL_PLUS_4d5 = 13U , RF_TX_PWR_LVL_PLUS_5d0 = 14U ,
  RF_TX_PWR_LVL_PLUS_6d0 = 15U
}
 RF test transmit output power levels. More...
 
enum  __pdll_adv_tx_pwr_lvl {
  GAP_TX_POWER_MIN = 0U , GAP_TX_POWER_MINUS_50_dBm = 0U , GAP_TX_POWER_MINUS_26_dBm = 1U , GAP_TX_POWER_MINUS_22_dBm = 2U ,
  GAP_TX_POWER_MINUS_18_dBm = 3U , GAP_TX_POWER_MINUS_12_dBm = 4U , GAP_TX_POWER_MINUS_8_dBm = 5U , GAP_TX_POWER_MINUS_6_dBm = 6U ,
  GAP_TX_POWER_MINUS_3_dBm = 7U , GAP_TX_POWER_MINUS_2_dBm = 8U , GAP_TX_POWER_MINUS_1_dBm = 9U , GAP_TX_POWER_0_dBm = 10U ,
  GAP_TX_POWER_1_5_dBm = 11U , GAP_TX_POWER_2_dBm = 12U , GAP_TX_POWER_3_dBm = 13U , GAP_TX_POWER_4_dBm = 14U ,
  GAP_TX_POWER_4_5_dBm = 15U , GAP_TX_POWER_5_dBm = 16U , GAP_TX_POWER_6_dBm = 17U , GAP_TX_POWER_MAX = 17U
}
 Advertisments GAP transmit output power levels. More...
 

Detailed Description

The p_dll API enumerations.

Enumeration Type Documentation

◆ __adv_channel

BLE advertisement channels for the HCI BLE scan test.

Definition at line 394 of file p_dll.h.

◆ __audio_test_op

Commands for audio test.

Definition at line 322 of file p_dll.h.

◆ __audio_tone_op

Commands for audio tone.

Definition at line 330 of file p_dll.h.

◆ __baud_rate

The UART baud rates supported in the UART loop test.

Definition at line 383 of file p_dll.h.

◆ __gpio_mode

GPIO mode.

Definition at line 362 of file p_dll.h.

◆ __gpio_pwr_lvl

GPIO power level.

Definition at line 354 of file p_dll.h.

◆ __gpio_state

GPIO state.

Definition at line 346 of file p_dll.h.

◆ __payload_type

RF TX payload types.

Definition at line 308 of file p_dll.h.

◆ __pdll_adv_tx_pwr_lvl

Advertisments GAP transmit output power levels.

Definition at line 425 of file p_dll.h.

◆ __pdll_test_id

The available production tests and operations. Used at __pdll_device::test.

Enumerator
dut_com_init 

COM port initialization function for each device.

cont_pkt_tx 

Continuous packet transmit. GU operation.

pkt_tx 

Specific number packet transmit test. GU operation.

start_pkt_rx_stats 

Continuous packet reception. DUT operation.

custom_test 

Customer specific test. Sends a byte to the prod_test_XXX.bin firmware. Customers can add their own code to the handler of this test inside the firmware. DUT operation.

xtal_trim 

XTAL trim automated calibration procedure. DUT operation.

scan_test 

Start scanning for DUTs. GU operation.

rdtester_init 

Initialize the CPLD in the RD Tester hardware. GU operation.

rdtester_uart_connect 

Instruct the CPLD to connect the UART between the FTDIs and the RD Tester hardware DUT connectors, pin 7 and pin 9. GU operation.

rdtester_uart_loop 

Instruct the CPLD to loop back the UART communications. The loop performed is USB->FTDI->CPLD->FTDI->USB. GU operation.

rdtester_vbat_uart_ctrl 

Enable the VBAT power supply and UART connections on the RD Tester DUT connectors, pin 1. GU operation.

rdtester_vpp_ctrl 

Enable the VPP power supply on the RD Tester DUT connectors, pin 8. GU operation.

rdtester_rst_pulse 

Send a reset pulse on the RD Tester DUT connectors, pin 10. GU operation.

rdtester_xtal_pulse_uart 

Send a pulse at RD Tester DUT connector, UART RX pin 9. GU operation.

rdtester_xtal_pulse 

Send a pulse at RD Tester DUT connector, pin 2. GU operation.

rdtester_pulse_width 

Set the length of the XTAL trim pulse. GU operation.

rdtester_vbat_ctrl 

Enable the VBAT power supply on the RD Tester DUT connectors, pin 1. GU operation.

rdtester_vbat_uart_rst_ctrl 

Enable the VBAT, the UART and Reset the DUT for 80ms. GU operation.

uart_resync 

UART resynchronization operation. DUT operation.

audio_test 

Audio test.

audio_tone 

PWM Audio tone playback at the GU. Used for audio test audio source.

gpio_toggle 

GPIO test ID. Sets or toggles a specific GPIO. Toggle is either low-high-low or high-low-high with specific period.

gpio_set 

GPIO set status ID. Sets the output value of a GPIO.

gpio_get 

GPIO get status ID. Returns the value of a GPIO.

gpio_wd 

GPIO watchdog test ID. Continuously toggles a GPIO with a specific period.

sensor_test 

Sensor test. Reads a user defined address from a user defined sensor interface. The read data are compared to a predefined value for pass/fail criteria.

sleep 

Set the device to sleep mode.

uart_loop 

Set the device to UART loopback mode.

ble_adv_start 

Start device BLE advertisements through an HCI command send to the DUT.

ble_adv_stop 

Stop the device BLE advertisements through an HCI command send to the DUT.

ext32Khz_test 

Test whether the external 32KHz low power crystal is mounted.

adc_vbat 

Measure VBAT using the internal ADC.

set_tx_pwr 

Set the TX power level of the device.

timestamp_rd 

Read IC timestamp for logging purposes.

INVALID_TEST 

Invalid test number.

Definition at line 265 of file p_dll.h.

◆ __pdll_tx_pwr_lvl

RF test transmit output power levels.

Definition at line 403 of file p_dll.h.

◆ __sensor_iface

Sensor tests interface selection.

Definition at line 338 of file p_dll.h.

◆ __sleep_modes

The sleep modes supported.

Definition at line 374 of file p_dll.h.