Other Parts Discussed in Thread: DCA1000EVM, ,
Tool/software: TI C/C++ Compiler
I acquired the raw date using mmWave Studio and SDK code for LVDS control.
I set the sensor configuration with 4byte for Rx, 256byte for adc samples, 128bytes for chirps, 2bytes for real+image (expect total 262,144bytes)
For setting in API code,
For setting in mmWave Studio,
※ Packet 0/1 Select
Packet 0 : ADC_ONLY (mmWave Studio) >>> pCliCfg[index].lvdsStreamCfg.dataFmt = 1; (API code)
Packet 1 : Suppress Packet (mmWave Studio) >>> ??? ( I couldn’t find in API code)
※ Clock Setting
Lane Clock : DDR Clock / Data Rate : 600 Mbps (mmWave Studio) >>> hsiClkgs.hsiClk = 0x9; initCfg.u.lvdsCfg.ddrClockMode = 1U; initCfg.u.lvdsCfg.ddrClockModeMux = 1U; (API code)
※ LVDS Lane Setting
Lane Format : Format 0 (mmWave Studio) >>> initCfg.u.lvdsCfg.laneFormat = 0U; (API code)
Lane Config : Lane1, Lane2 (mmWave Studio) >>> initCfg.u.lvdsCfg.lvdsLaneEnable = 0x3U; (API code)
MSB Fist Check (mmWave Studio) >>> initCfg.u.lvdsCfg.msbFirst = 1U; (API code)
I want to confirm if the setting is correct in API code compared with mmWave Studio to acquire the raw data.
I expect the size of adc data for 1 frame is 262,144 bytes but only I got about 30,000 adc data (between header to header)
I got different size and format of header and adc data as mentioned in the SDK document (03.03.00.03)
And, when we use the ‘PostProc’ button in mmWave Studio, the header in raw date is removed.
If we want to acquire the raw data correctly, how can I change the setting in API code?