Skip to main content

Reference

Type: MMW_OUTPUT_MSG_TEMPERATURE_STATS

Length: sizeof(Mmw_temperatureStats_t), or 28 bytes

The payload contains 4 bytes for tempReportValid, 4 bytes for temperatureReport.time, and 10x 2 bytes for the temperature sensor fields. With standard 4-byte alignment, no additional padding is needed. This length excludes TLV header.

Value: Detailed temperature report from the radar front end, stored in Mmw_temperatureStats_t. The report is a snapshot taken just before transmitting data over UART / ethernet.

This TLV is sent along with the Stats Information TLV.

Data fields​

TypeFieldDescription
int32_ttempReportValidReturn value of rlRfGetTemperatureReport. A value of 0 indicates that temperatureReport is valid; any other value means report should be ignored.
rlRfTempData_ttemperatureReportTemperature report captured just before transmission.
note

Check tempReportValid before using the report. Despite its name, 0 means the report is valid; a nonzero value means its values should be ignored.

Temperature report​

The rlRfTempData_t structure contains the radar subsystem's local time and temperature sensor readings. All temperature readings are signed, with 1 LSB representing 1°C. The timestamp uses 1 LSB per millisecond.

TypeFieldDescription
uint32_ttimeRadar subsystem local time since device power-up, in ms.
int16_ttmpRx0SensRX0 temperature sensor reading, in °C.
int16_ttmpRx1SensRX1 temperature sensor reading, in °C.
int16_ttmpRx2SensRX2 temperature sensor reading, in °C.
int16_ttmpRx3SensRX3 temperature sensor reading, in °C.
int16_ttmpTx0SensTX0 temperature sensor reading, in °C.
int16_ttmpTx1SensTX1 temperature sensor reading, in °C.
int16_ttmpTx2SensTX2 temperature sensor reading, in °C.
int16_ttmpPmSensPM temperature sensor reading, in °C.
int16_ttmpDig0SensTX3 temperature sensor reading, in °C.
int16_ttmpDig1SensReserved. Don't interpret as a temperature reading.

Selecting the output​

The CLI config command guiMonitor selects the TLV elements that are sent in the output packet. This includes temperature information.