summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4f21709)
raw | patch | inline | side by side (parent: 4f21709)
author | Piyali Goswami <piyali_g@ti.com> | |
Fri, 23 Feb 2018 09:43:23 +0000 (15:13 +0530) | ||
committer | Piyali Goswami <a0131625@ti.com> | |
Mon, 26 Feb 2018 15:05:09 +0000 (20:35 +0530) |
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
src/boards/src/bsp_board.c | patch | blob | history | |
src/devices/radar_ar12xx/src/bspdrv_ar1243cfg.c | patch | blob | history | |
src/devices/radar_ar12xx/src/bspdrv_ar12xx.c | patch | blob | history |
index ed5876a3ac94263d3fad9693bc55765dc168b082..a3b8c53317bd5d7cdf75a3963cf15d5ce5bc9a91 100755 (executable)
"REV BETA",
"REV A 4G",
"REV 1 RADAR DC",
- "REV - SK"
+ "REV - SK",
+ "REV - SK DASH"
};
/** \brief Number of entries in board ID string table. */
diff --git a/src/devices/radar_ar12xx/src/bspdrv_ar1243cfg.c b/src/devices/radar_ar12xx/src/bspdrv_ar1243cfg.c
index 5efb1fa7bc1b144c4389428609b1c48fe78e068d..648d97f91eb8f3ae3fa200a55f49984b99ab689c 100755 (executable)
},
.adcOutCfgArgs = {
.fmt = {
- .bitFormat =
- {
- .b2AdcBits = RL_ADC_DATA_14_BIT,
- .b6Reserved1 = (rlUInt32_t) 0x0,
- .b8FullScaleReducFctr = (rlUInt32_t) 0x0,
- .b2AdcOutFmt = RL_ADC_FORMAT_COMPLEX_1X,
- .b14Reserved2 = (rlUInt32_t) 0x0
- }
+ .b2AdcBits = RL_ADC_DATA_14_BIT,
+ .b6Reserved1 = (rlUInt32_t) 0x0,
+ .b8FullScaleReducFctr = (rlUInt32_t) 0x0,
+ .b2AdcOutFmt = RL_ADC_FORMAT_COMPLEX_1X,
+ .b14Reserved2 = (rlUInt32_t) 0x0
},
.reserved = (rlUInt16_t) 0x0,
.reserved1 = (rlUInt16_t) 0x0
.intfSel = (rlUInt8_t) 0,
.transferFmtPkt0 = (rlUInt8_t) 1,
.transferFmtPkt1 = (rlUInt8_t) 0,
- .reserved = (rlUInt8_t) 0,
- .reserved1 = (rlUInt32_t) 0
+ .cqConfig = (rlUInt8_t) 2,
+ .cq0TransSize = (rlUInt8_t) 64,
+ .cq1TransSize = (rlUInt8_t) 64,
+ .cq2TransSize = (rlUInt8_t) 64,
+ .reserved = (rlUInt8_t) 0
},
.dataPathClkCfgArgs = {
.laneClkCfg = (rlUInt8_t) 1,
.b1Reserved1 = 0,
.b13Reserved2 = 0,
},
- .kSel = {
- .b1BpmKStart = 0,
- .b1BpmKEnd = 0,
- .b14Reserved1 = 0,
- },
-
- .kCnt = (rlUInt16_t) 0x0,
- .reserved = (rlUInt16_t) 0x0,
- .kCounterStartOffset = (rlInt32_t) 0x0,
- .kCounterEndOffset = (rlInt32_t) 0x0
+ .reserved0 = (rlUInt16_t) 0,
+ .reserved1 = (rlUInt16_t) 0,
+ .reserved2 = (rlUInt16_t) 0,
+ .reserved3 = (rlUInt32_t) 0,
+ .reserved4 = (rlUInt32_t) 0,
},
.bpmChirpCfgArgs = gAr1243RadarBpmChirpCfg,
.numBpmChirpCfgArgs = 1,
* It specifies the duration of each (primary) time slice.
1 LSB = 0.16us.
Valid range: 4 to floor(ADC sampling time us/0.16 us)
- NOTES: The minimum allowed duration of each (primary) time slice is
+ NOTES: The minimum allowed duration of each (primary) time slice is
4 LSBs = 0.64us. Also, the maximum number of (primary) time slices that will
be monitored in a chirp is 64 so the recommendation is to set this value to
correspond to (ADC sampling time / 64). If the slice is smaller, such that the
};
rlCalDataStore_t gAr1243calibDataStoreRestore[3] = {0};
-rlRfCalMonTimeUntConf_t gAr1243monTimeUnitCfg =
+rlRfCalMonTimeUntConf_t gAr1243monTimeUnitCfg =
{
/**
* Defines the basic time unit, in terms of which calibration and/or
infrastructure automatically inherits this time unit as the period
over which the various monitors are cyclically executed, so this should
be set to the desired FTTI. For calibrations, a separate
- rlRunTimeCalibConf.calibPeriodicity can be specified, as a multiple
+ rlRunTimeCalibConf.calibPeriodicity can be specified, as a multiple
of this time unit, in rlRfRunTimeCalibConfig
1 LSB = Duration of one frame.
*/
diff --git a/src/devices/radar_ar12xx/src/bspdrv_ar12xx.c b/src/devices/radar_ar12xx/src/bspdrv_ar12xx.c
index bd7272e9d9e4a173f08bec55e4d18ec5d224000c..f2df33848c1884fa98453c8aebdfea4c076a14e8 100755 (executable)
/* ========================================================================== */
#include <xdc/std.h>
-#include <xdc/runtime/Error.h>
-#include <ti/sysbios/io/GIO.h>
-#include <ti/sysbios/io/IOM.h>
-#include <ti/sysbios/io/DEV.h>
-#include <ti/sysbios/syncs/SyncSem.h>
-#include <ti/sysbios/knl/Semaphore.h>
#include <ti/drv/vps/include/common/bsp_types.h>
#include <ti/drv/vps/include/common/trace.h>