Tool/software: Code Composer Studio
In ti/drivers/test/mem_capture,
Q1:
I want to use two tx and four rx to get angle information. (TDM-MIMO)
I refer to the configuration in 'profile_2d' which has two sets of chirpCfg.
So I tried to modify MemCapture_initLinkChirpCfgParams in mss.c as follows:
static void MemCapture_initLinkChirpCfgParams (rlChirpCfg_t* ptrChirpCfg)
{
/* Initialize the chirp configuration: */
memset ((void *)ptrChirpCfg, 0, sizeof(rlChirpCfg_t));
/* Populate the chirp configuration: */
ptrChirpCfg->chirpStartIdx = 0U;
ptrChirpCfg->chirpEndIdx = 0U;
ptrChirpCfg->profileId = 0U;
ptrChirpCfg->startFreqVar = (uint32_t)(0U * (1U << 26) / 3.6e9);
ptrChirpCfg->freqSlopeVar = (uint16_t)(0U * (1U << 26) / (3.6e6 * 900.0));
ptrChirpCfg->idleTimeVar = (uint32_t)(0U * 1000 / 10);
ptrChirpCfg->adcStartTimeVar = (uint32_t)(0U * 1000 / 10);
ptrChirpCfg->txEnable = 1U;
ptrChirpCfg->chirpStartIdx = 1U;
ptrChirpCfg->chirpEndIdx = 1U;
ptrChirpCfg->profileId = 0U;
ptrChirpCfg->startFreqVar = (uint32_t)(0U * (1U << 26) / 3.6e9);
ptrChirpCfg->freqSlopeVar = (uint16_t)(0U * (1U << 26) / (3.6e6 * 900.0));
ptrChirpCfg->idleTimeVar = (uint32_t)(0U * 1000 / 10);
ptrChirpCfg->adcStartTimeVar = (uint32_t)(0U * 1000 / 10);
ptrChirpCfg->txEnable = 2U;
}
But this is wrong.I want to know how I can change the code to configure two tx chirps to meet TDM-MIMO?
Q2:
i know the format of data (AWR1642) is non-interleaved,this picture is 1tx.4rx:
but if i use 2tx and 4rx,What is the format of the storage?
This is my understanding:
RX0-I(0) (TX0) |
RX0-Q(0) (TX0) |
RX0-I(0) (TX1) |
RX0-Q(0) (TX1) |
RX0-I(1) (TX0) |
RX0-Q(1) (TX0) |
RX0-I(1) (TX1) |
RX0-Q(1) (TX1) |
RX0-I(2) (TX0) |
RX0-Q(2) (TX0) |
RX0-I(2) (TX1) |
RX0-Q(2) (TX1) |
RX1-I(0) (TX0) |
RX1-Q(0) (TX0) |
RX1-I(0) (TX1) |
RX1-Q(0) (TX1) |
RX1-I(1) (TX0) |
RX1-Q(1) (TX0) |
RX1-I(1) (TX1) |
RX1-Q(1) (TX1) |
Is my understanding correct?
Thanks