TI-radar AWR1843 C674x DSP core  1
mmw_messages.h File Reference
#include <stdint.h>
Include dependency graph for mmw_messages.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mmWave_OUT_MSG_header_t
 The structure defines the message header for reporting detection information from data path. Processed by both MSS and DSS. More...
 
struct  mmWave_OUT_MSG_stats_dataObjDescr_t
 Structure holds information about detected objects. This information is sent in front of the array of detected objects Sent by DSS. More...
 
struct  mmWave_OUT_MSG_tl_t
 The structure defines the message body for reporting detected objects from data path. Processed by both MSS and DSS. More...
 
struct  mmWaveMSG_TLV_t
 The structure describes the TLV part of the message from DSS to MSS on data path detection information. More...
 
struct  mmWave_detObjMsg_t
 The structure defines the message body for for reporting detection information from data path to MSS. More...
 
struct  mmWave_dssAssertInfoMsg_t
 The structure defines the message body for the information on a DSS exception that should be forwarded to the MSS reporting the DSS assertion information. More...
 
union  mmWaveMSG_body_u
 The union defines the message body for various configuration messages. For passing configuration from MSS to DSS. More...
 
struct  mmWaveMSG_t
 The structure defines the message structure used for communication between MSS and DSS. More...
 

Macros

#define MMW_OUTPUT_MSG_SEGMENT_LEN   32
 Output packet length is a multiple of this value, must be power of 2. More...
 
#define MMW_DSS2MSS_EXCEPTION_SIGNALLING_SW_INT_DSS   1
 Software interrupt number used by DSS to signal exception from DSS to MSS. More...
 
#define MMW_DSS2MSS_EXCEPTION_SIGNALLING_SW_INT_MSS   SOC_XWR16XX_MSS_DSS2MSS_SW1_INT
 Software interrupt ID on MSS corresponding to MMW_DSS2MSS_EXCEPTION_SIGNALLING_SW_INT_DSS. More...
 
#define MMW_DSS2MSS_CHIRP_PROC_DEADLINE_MISS_EXCEPTION   0
 Exception ID definitions for DSS to MSS urgent exception signalling through software interrupt. DSS to MSS chirp processing deadline miss exception ID. More...
 
#define MMW_DSS2MSS_FRAME_PROC_DEADLINE_MISS_EXCEPTION   1
 Exception ID definitions for DSS to MSS urgent exception signalling through software interrupt. DSS to MSS frame processing deadline miss exception ID. More...
 
#define MMWAVE_MAX_FILE_NAME_SIZE   128
 
#define MMW_SUBFRAME_NUM_FRAME_LEVEL_CONFIG   (-1)
 For advanced frame config, below define means the configuration given is global at frame level and therefore it is broadcast to all sub-frames. More...
 

Typedefs

typedef enum mmWaveMSG_OUT_TYPE_e mmWaveMSG_OUT_TYPE
 Message types used in Millimeter Wave Demo for the communication between target and host, and also for Mailbox communication between MSS and DSS on the XWR16xx platform. Message types are used to indicate different type detection information sent out from the target. More...
 
typedef struct mmWave_OUT_MSG_header_t mmWave_OUT_MSG_header
 The structure defines the message header for reporting detection information from data path. Processed by both MSS and DSS. More...
 
typedef struct mmWave_OUT_MSG_stats_dataObjDescr_t mmWave_OUT_MSG_stats_dataObjDescr
 Structure holds information about detected objects. This information is sent in front of the array of detected objects Sent by DSS. More...
 
typedef struct mmWave_OUT_MSG_tl_t mmWave_OUT_MSG_tl
 The structure defines the message body for reporting detected objects from data path. Processed by both MSS and DSS. More...
 
typedef enum mbox_message_type_e mbox_message_type
 The enum is used to hold all the messages types used for Mailbox communication between MSS and DSS in mmw Demo. More...
 
typedef struct mmWaveMSG_TLV_t mmWaveMSG_TLV
 The structure describes the TLV part of the message from DSS to MSS on data path detection information. More...
 
typedef struct mmWave_detObjMsg_t mmWave_detInfoMsg
 The structure defines the message body for for reporting detection information from data path to MSS. More...
 
typedef struct mmWave_dssAssertInfoMsg_t mmWave_dssAssertInfoMsg
 The structure defines the message body for the information on a DSS exception that should be forwarded to the MSS reporting the DSS assertion information. More...
 
typedef union mmWaveMSG_body_u mmWaveMSG_body
 The union defines the message body for various configuration messages. For passing configuration from MSS to DSS. More...
 
typedef struct mmWaveMSG_t mmWaveMSG
 The structure defines the message structure used for communication between MSS and DSS. More...
 

Enumerations

enum  mmWaveMSG_OUT_TYPE_e {
  OUTPUT_MSG_DETECTED_POINTS = 1, OUTPUT_MSG_RANGE_PROFILE, OUTPUT_MSG_NOISE_PROFILE, OUTPUT_MSG_AZIMUT_STATIC_HEAT_MAP,
  OUTPUT_MSG_RANGE_DOPPLER_HEAT_MAP, OUTPUT_MSG_STATS, OUTPUT_MSG_MAX
}
 Message types used in Millimeter Wave Demo for the communication between target and host, and also for Mailbox communication between MSS and DSS on the XWR16xx platform. Message types are used to indicate different type detection information sent out from the target. More...
 
enum  mbox_message_type_e {
  MBOX_MSS2DSS_GUIMON_CFG = 0xFEED0001, MBOX_MSS2DSS_CFAR_RANGE_CFG, MBOX_MSS2DSS_CFAR_DOPPLER_CFG, MBOX_MSS2DSS_PEAK_GROUPING_CFG,
  MBOX_MSS2DSS_MULTI_OBJ_BEAM_FORM, MBOX_MSS2DSS_CALIB_DC_RANGE_SIG, MBOX_MSS2DSS_DETOBJ_SHIPPED, MBOX_MSS2DSS_SET_DATALOGGER,
  MBOX_MSS2DSS_ADCBUFCFG, MBOX_MSS2DSS_EXTENDED_MAX_VELOCITY, MBOX_MSS2DSS_CLUTTER_REMOVAL, MBOX_MSS2DSS_COMP_RANGE_BIAS_AND_RX_CHAN_PHASE,
  MBOX_MSS2DSS_MEASURE_RANGE_BIAS_AND_RX_CHAN_PHASE, MBOX_DSS2MSS_CONFIGDONE = 0xFEED0100, MBOX_DSS2MSS_DETOBJ_READY, MBOX_DSS2MSS_STOPDONE,
  MBOX_DSS2MSS_ASSERT_INFO, MBOX_DSS2MSS_ISR_INFO_ADDRESS, MBOX_DSS2MSS_MEASUREMENT_INFO
}
 The enum is used to hold all the messages types used for Mailbox communication between MSS and DSS in mmw Demo. More...
 

Macro Definition Documentation

◆ MMW_DSS2MSS_CHIRP_PROC_DEADLINE_MISS_EXCEPTION

#define MMW_DSS2MSS_CHIRP_PROC_DEADLINE_MISS_EXCEPTION   0

Exception ID definitions for DSS to MSS urgent exception signalling through software interrupt. DSS to MSS chirp processing deadline miss exception ID.

Definition at line 167 of file mmw_messages.h.

◆ MMW_DSS2MSS_EXCEPTION_SIGNALLING_SW_INT_DSS

#define MMW_DSS2MSS_EXCEPTION_SIGNALLING_SW_INT_DSS   1

Software interrupt number used by DSS to signal exception from DSS to MSS.

Definition at line 156 of file mmw_messages.h.

◆ MMW_DSS2MSS_EXCEPTION_SIGNALLING_SW_INT_MSS

#define MMW_DSS2MSS_EXCEPTION_SIGNALLING_SW_INT_MSS   SOC_XWR16XX_MSS_DSS2MSS_SW1_INT

Software interrupt ID on MSS corresponding to MMW_DSS2MSS_EXCEPTION_SIGNALLING_SW_INT_DSS.

Definition at line 159 of file mmw_messages.h.

◆ MMW_DSS2MSS_FRAME_PROC_DEADLINE_MISS_EXCEPTION

#define MMW_DSS2MSS_FRAME_PROC_DEADLINE_MISS_EXCEPTION   1

Exception ID definitions for DSS to MSS urgent exception signalling through software interrupt. DSS to MSS frame processing deadline miss exception ID.

Definition at line 174 of file mmw_messages.h.

◆ MMW_OUTPUT_MSG_SEGMENT_LEN

#define MMW_OUTPUT_MSG_SEGMENT_LEN   32

Output packet length is a multiple of this value, must be power of 2.

Definition at line 24 of file mmw_messages.h.

◆ MMW_SUBFRAME_NUM_FRAME_LEVEL_CONFIG

#define MMW_SUBFRAME_NUM_FRAME_LEVEL_CONFIG   (-1)

For advanced frame config, below define means the configuration given is global at frame level and therefore it is broadcast to all sub-frames.

Definition at line 228 of file mmw_messages.h.

◆ MMWAVE_MAX_FILE_NAME_SIZE

#define MMWAVE_MAX_FILE_NAME_SIZE   128

Definition at line 199 of file mmw_messages.h.

Typedef Documentation

◆ mbox_message_type

The enum is used to hold all the messages types used for Mailbox communication between MSS and DSS in mmw Demo.

◆ mmWave_detInfoMsg

The structure defines the message body for for reporting detection information from data path to MSS.

◆ mmWave_dssAssertInfoMsg

The structure defines the message body for the information on a DSS exception that should be forwarded to the MSS reporting the DSS assertion information.

◆ mmWave_OUT_MSG_header

The structure defines the message header for reporting detection information from data path. Processed by both MSS and DSS.

◆ mmWave_OUT_MSG_stats_dataObjDescr

Structure holds information about detected objects. This information is sent in front of the array of detected objects Sent by DSS.

◆ mmWave_OUT_MSG_tl

The structure defines the message body for reporting detected objects from data path. Processed by both MSS and DSS.

◆ mmWaveMSG

typedef struct mmWaveMSG_t mmWaveMSG

The structure defines the message structure used for communication between MSS and DSS.

◆ mmWaveMSG_body

The union defines the message body for various configuration messages. For passing configuration from MSS to DSS.

◆ mmWaveMSG_OUT_TYPE

Message types used in Millimeter Wave Demo for the communication between target and host, and also for Mailbox communication between MSS and DSS on the XWR16xx platform. Message types are used to indicate different type detection information sent out from the target.

◆ mmWaveMSG_TLV

The structure describes the TLV part of the message from DSS to MSS on data path detection information.

Enumeration Type Documentation

◆ mbox_message_type_e

The enum is used to hold all the messages types used for Mailbox communication between MSS and DSS in mmw Demo.

Enumerator
MBOX_MSS2DSS_GUIMON_CFG 

message types for MSS to DSS communication

MBOX_MSS2DSS_CFAR_RANGE_CFG 
MBOX_MSS2DSS_CFAR_DOPPLER_CFG 
MBOX_MSS2DSS_PEAK_GROUPING_CFG 
MBOX_MSS2DSS_MULTI_OBJ_BEAM_FORM 
MBOX_MSS2DSS_CALIB_DC_RANGE_SIG 
MBOX_MSS2DSS_DETOBJ_SHIPPED 
MBOX_MSS2DSS_SET_DATALOGGER 
MBOX_MSS2DSS_ADCBUFCFG 
MBOX_MSS2DSS_EXTENDED_MAX_VELOCITY 
MBOX_MSS2DSS_CLUTTER_REMOVAL 
MBOX_MSS2DSS_COMP_RANGE_BIAS_AND_RX_CHAN_PHASE 
MBOX_MSS2DSS_MEASURE_RANGE_BIAS_AND_RX_CHAN_PHASE 
MBOX_DSS2MSS_CONFIGDONE 

message types for DSS to MSS communication

MBOX_DSS2MSS_DETOBJ_READY 
MBOX_DSS2MSS_STOPDONE 
MBOX_DSS2MSS_ASSERT_INFO 
MBOX_DSS2MSS_ISR_INFO_ADDRESS 
MBOX_DSS2MSS_MEASUREMENT_INFO 

Definition at line 128 of file mmw_messages.h.

◆ mmWaveMSG_OUT_TYPE_e

Message types used in Millimeter Wave Demo for the communication between target and host, and also for Mailbox communication between MSS and DSS on the XWR16xx platform. Message types are used to indicate different type detection information sent out from the target.

Enumerator
OUTPUT_MSG_DETECTED_POINTS 

List of detected points.

OUTPUT_MSG_RANGE_PROFILE 

Range profile.

OUTPUT_MSG_NOISE_PROFILE 

Noise floor profile.

OUTPUT_MSG_AZIMUT_STATIC_HEAT_MAP 

Samples to calculate static azimuth heatmap.

OUTPUT_MSG_RANGE_DOPPLER_HEAT_MAP 

Range/Doppler detection matrix.

OUTPUT_MSG_STATS 

Stats information.

OUTPUT_MSG_MAX 

Max TLV outptut message.

Definition at line 34 of file mmw_messages.h.