Infineon XMC4700 Setup Manual page 14

Using infineon’s radar baseboard and radar shield with arduino
Hide thumbs Also See for XMC4700:
Table of Contents

Advertisement

Using Infineon's radar baseboard XMC4700 and BGT24LTR11 radar
shield with Arduino
Set-up guide
Software set-up
API name
float
getDopplerSensitivity(void);
uint8_t setFramePeriod(uint8_t
uint8_t
getFramePeriod(void);
uint8_t setSampleFreq(uint32_t
uint32_t
getSampleFreq(void);
uint8_t setSkipSamples(uint32_t
uint32_t
getSkipSamples(void);
uint8_t setNumSamples(uint32_t
uint32_t
getNumSamples(void);
uint8_t setPulseWidth(uint32_t
uint32_t
getPulseWidth(void);
uint32_t
getMinFramePeriod(void);
Next, define the callback function to perform application tasks upon completion of a round of radar
4.
processing, for example to turn on or off an LED. In the example shown in Figure 14, different LED colors are
used to indicate different radar processing results. Table 2 lists the APIs that can be called to retrieve the
result of the radar processing.
Table 2
Result APIs
API name
bool
targetAvailable(void);
float
getDopplerLevel(void);
float
getDopplerFreqHz(void);
float
getVelocity(void);
uint8_t
getDirection(void);
float
getSpeed(void);
Description
Retrieve threshold that will determine motion with
direction (departing/approaching) or not
Set frame period in µs
periodUs);
Retrieve configured frame period in µs
Set ADC sampling frequency in Hz
frequencyHz);
Retrieve ADC sampling frequency in Hz
Set the number of samples to skip at beginning of
numSamples);
frame
Retrieve the number of samples to skip at beginning
of frame
Set size of raw IQ ADC buffer
numSamples);
Retrieve configured size of raw IQ ADC buffer
Set the pulse width in µs
widthUs);
Retrieve the configured pulse width in µs
Get the minimum frame period in µs
Description
Returns true: motion (with no direction), false: no
motion
Retrieve the Doppler level of the detected target
Retrieve the Doppler frequency of the detected
target
Retrieve the signed velocity value
Returns 0: no direction, 1: departing, 2: approaching
Retrieve the unsigned speed value
14 of 31
2019-12-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bgt24ltr11

Table of Contents