Tool/software:
Hello TI experts,
I also want to get ADC data via SPI and I have already followed the step from the other issue. namely:
- Open the folder radar_toolbox_3_10_00_05\radar_toolbox_3_10_00_05\source\ti\examples\Fundamentals\xWRL6432_Raw_Data_Over_SPI with CCS
- In example.syscfg file, go to MPD_DEMO and enbale SPI Treaming via SPI.
- In the dpc.c file the line:
#define MAXSPISIZEFTDI (65536U)
extern uint32_t gpioBaseAddrLed, pinNumLed;
were already there.
But I get This error when I run Rebuilt Project:
[84]subdir_rules.mk:9: recipe for target 'mmw_cli.o' failed
[85]Building file: "../mmw_flash_cal.c"
[86]Invoking: Arm Compiler
[87]"C:/ti/ccs2011/ccs/tools/compiler/ti-cgt-armllvm_4.0.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -Os -I"C:/ti/ccs2011/ccs/tools/compiler/ti-cgt-armllvm_4.0.2.LTS/include/c" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/source" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/examples/mmw_demo/motion_and_presence_detection" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/examples/mmw_demo/motion_and_presence_detection/source" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/examples/mmw_demo/motion_and_presence_detection/source/dpc" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/examples/mmw_demo/motion_and_presence_detection/source/test" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/examples/mmw_demo/motion_and_presence_detection/source/mmwave_control" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/examples/mmw_demo/motion_and_presence_detection/source/power_management" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/examples/mmw_demo/motion_and_presence_detection/source/calibrations" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/examples/mmw_demo/motion_and_presence_detection/source/utils" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CM4F" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/source/kernel/freertos/config/xwrL64xx/m4f" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/firmware/mmwave_dfp" -DSOC_XWRL64XX -DGTRACK_3D=1 -DTRACKER_MAX_NUM_TR=10 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -mno-unaligned-access -MMD -MP -MF"mmw_flash_cal.d_raw" -MT"mmw_flash_cal.o" -I"C:/ti/MMWAVE_L_SDK_05_05_03_00/mpd_spi_output_xwrL64xx/Release/syscfg" -o"mmw_flash_cal.o" "../mmw_flash_cal.c"
[88]../mmw_cli.c:3048:9: error: use of undeclared identifier 'ATE_CalibData'
[89] 3048 | ATE_CalibData *ateCalib = (ATE_CalibData *)&gATECalibDataStorage;
[90] | ^
[91]../mmw_cli.c:3048:24: error: use of undeclared identifier 'ateCalib'
[92] 3048 | ATE_CalibData *ateCalib = (ATE_CalibData *)&gATECalibDataStorage;
[93] | ^
[94]../mmw_cli.c:3048:51: error: expected expression
[95] 3048 | ATE_CalibData *ateCalib = (ATE_CalibData *)&gATECalibDataStorage;
[96] | ^
[97]../mmw_cli.c:3048:36: error: use of undeclared identifier 'ATE_CalibData'
[98] 3048 | ATE_CalibData *ateCalib = (ATE_CalibData *)&gATECalibDataStorage;
[99] | ^
[100]../mmw_cli.c:3075:13: error: use of undeclared identifier 'ateCalib'
[101] 3075 | if (ateCalib->validityFlag != ATE_CALIB_DATA_VALID)
[102] | ^
[103]../mmw_cli.c:3075:39: error: use of undeclared identifier 'ATE_CALIB_DATA_VALID'
[104] 3075 | if (ateCalib->validityFlag != ATE_CALIB_DATA_VALID)
Can someone please help?