Nordic Semiconductor nRF5 AirFuel SDK  version 2.2.0
PTU HW dependent configuration

Data Structures

struct  ptu_sensor_data_t
 Definition of PTU sensor data. More...
 

Macros

#define PTU_CLASS   BLE_WPTS_PTU_CLASS_2
 
#define PTU_PTX_IN_MAX   100
 
#define PTU_ADV_PWR_MIN   -55
 
#define PTU_POWER_EFFICIENCY   1.0
 
#define PTU_CCA_ADV_IMP_SHIFT_ENABLE   true
 
#define POWERAMP_TEST_VAR_STEP_SIZE   10
 
#define PTU_POWERAMP_INPUT_TEST_STEP_SIZE   5
 
#define PTU_POWERAMP_INPUT_BEACON_SHORT   30
 
#define PTU_POWERAMP_INPUT_BEACON_LONG   40
 
#define PTU_POWERAMP_INPUT_START   50
 
#define PTU_POWERAMP_INPUT_NOMINAL   60
 
#define PTU_POWERAMP_INPUT_MAX   100
 
#define PTU_POWERAMP_INPUT_MIN   0
 
#define PTU_POWERAMP_INPUT_STEP_SIZE   2
 
#define PTU_POWERAMP_INPUT_STEP_SIZE_REDUCED   1
 
#define PTU_POWERAMP_INPUT_STEP_SIZE_INCREASED   10
 
#define PTU_VRECT_HIGH_OFFSET   100
 
#define PTU_ITX_MAX   (1000)
 
#define PTU_ITX_MIN   (10)
 
#define PTU_TEMPERATURE_MAX   (60)
 
#define PTU_TEMPERATURE_MIN   (-10)
 
#define PTU_PTX_IN_TEMP_WARNING_DEC   50
 
#define PTU_TEMPERATURE_WARNING_SET   50
 
#define PTU_TEMPERATURE_WARNING_CLEAR   40
 
#define PTU_ITX_DEFAULT   (PTU_ITX_MIN+1)
 
#define PTU_VTX_DEFAULT   ((90 * PTU_ITX_DEFAULT))
 
#define PTU_TEMPERATUR_DEFAULT   ((PTU_TEMPERATURE_MAX + PTU_TEMPERATURE_MIN) / 2)
 
#define PTU_POWERAMP_INPUT_DEFAULT   ((PTU_POWERAMP_INPUT_MAX + PTU_POWERAMP_INPUT_MIN) / 2)
 
#define PTU_PTX_IN_DEFAULT   50
 

Detailed Description

Macro Definition Documentation

#define PTU_CLASS   BLE_WPTS_PTU_CLASS_2

PTU class.

Definition at line 30 of file ptu_hw_config.h.

#define PTU_PTX_IN_MAX   100

Max resonator input power [100 mW].

Definition at line 31 of file ptu_hw_config.h.

#define PTU_ADV_PWR_MIN   -55

Minimum RSSI strength of ADV packet [dBm].

Definition at line 37 of file ptu_hw_config.h.

#define PTU_POWER_EFFICIENCY   1.0

Portion of power amplifier input power that is output to resonator [fraction [0.0 - 1.0]].

Definition at line 43 of file ptu_hw_config.h.

#define PTU_CCA_ADV_IMP_SHIFT_ENABLE   true

An impedance shift must have been registered close to the time of advertisement

Definition at line 51 of file ptu_hw_config.h.

#define POWERAMP_TEST_VAR_STEP_SIZE   10

Power amplifier step size for test increment / decrement.

Definition at line 57 of file ptu_hw_config.h.

#define PTU_POWERAMP_INPUT_TEST_STEP_SIZE   5

Power amplifier step size when in test mode [%].

Definition at line 58 of file ptu_hw_config.h.

#define PTU_POWERAMP_INPUT_BEACON_SHORT   30

Power amplifier input level for short beacon [%].

Definition at line 59 of file ptu_hw_config.h.

#define PTU_POWERAMP_INPUT_BEACON_LONG   40

Power amplifier input level for long beacon [%].

Definition at line 60 of file ptu_hw_config.h.

#define PTU_POWERAMP_INPUT_START   50

Power amplifier when entering low power state [mA]

Definition at line 66 of file ptu_hw_config.h.

#define PTU_POWERAMP_INPUT_NOMINAL   60

Power amplifier input level when entering power transfer state

Definition at line 72 of file ptu_hw_config.h.

#define PTU_POWERAMP_INPUT_MAX   100

Maximum level of power amplifier input.

Definition at line 73 of file ptu_hw_config.h.

#define PTU_POWERAMP_INPUT_MIN   0

Minimum level of power amplifier input.

Definition at line 74 of file ptu_hw_config.h.

#define PTU_POWERAMP_INPUT_STEP_SIZE   2

Power amplifier input step size.

Definition at line 75 of file ptu_hw_config.h.

#define PTU_POWERAMP_INPUT_STEP_SIZE_REDUCED   1

Power amplifier input step size when criteria for reduced step size is fulfilled. NOTE: To disable variable step size, set to 'PTU_POWERAMP_INPUT_STEP_SIZE'

Definition at line 76 of file ptu_hw_config.h.

#define PTU_POWERAMP_INPUT_STEP_SIZE_INCREASED   10

Power amplifier input step size when criteria for increased step size is fulfilled.

Definition at line 79 of file ptu_hw_config.h.

#define PTU_VRECT_HIGH_OFFSET   100

VRECT_HIGH threshold is lowered by this amount in order not to put PRU in the high voltage substate [mV].

Definition at line 80 of file ptu_hw_config.h.

#define PTU_ITX_MAX   (1000)

Maximum ITX before triggering fault condition [mA]

Definition at line 86 of file ptu_hw_config.h.

#define PTU_ITX_MIN   (10)

Minimum ITX before before triggering fault condition [mA]

Definition at line 87 of file ptu_hw_config.h.

#define PTU_TEMPERATURE_MAX   (60)

Maximum PTU temperature before triggering fault condition [Deg C]

Definition at line 88 of file ptu_hw_config.h.

#define PTU_TEMPERATURE_MIN   (-10)

Minimum PTU temperature before triggering fault condition [Deg C]

Definition at line 89 of file ptu_hw_config.h.

#define PTU_PTX_IN_TEMP_WARNING_DEC   50

Factor in [%] the PTU MAX is reduced during local temperature warning .

Definition at line 90 of file ptu_hw_config.h.

#define PTU_TEMPERATURE_WARNING_SET   50

Threshold for setting temperature warning condition [Deg C]

Definition at line 91 of file ptu_hw_config.h.

#define PTU_TEMPERATURE_WARNING_CLEAR   40

Threshold for clearing temperature warning condition [Deg C]

Definition at line 92 of file ptu_hw_config.h.

#define PTU_ITX_DEFAULT   (PTU_ITX_MIN+1)

[mA]

Definition at line 117 of file ptu_hw_config.h.

#define PTU_VTX_DEFAULT   ((90 * PTU_ITX_DEFAULT))

[mV]

Definition at line 118 of file ptu_hw_config.h.

#define PTU_TEMPERATUR_DEFAULT   ((PTU_TEMPERATURE_MAX + PTU_TEMPERATURE_MIN) / 2)

[deg C]

Definition at line 119 of file ptu_hw_config.h.

#define PTU_POWERAMP_INPUT_DEFAULT   ((PTU_POWERAMP_INPUT_MAX + PTU_POWERAMP_INPUT_MIN) / 2)

[unitless]

Definition at line 120 of file ptu_hw_config.h.

#define PTU_PTX_IN_DEFAULT   50

[1/100 W]

Definition at line 121 of file ptu_hw_config.h.