Tool/software: Code Composer Studio
Hi,
I'm trying to implement the reference design "Power Optimization for IWR1443 77GHz-Level Transmitter Reference Design"
I've got IWR1443BOOST & MSP-EXP432P401R up & running without an issue by flashing the pre-built .bin files comes in the .zip file (www.ti.com/.../tidcde2a).
However, when I import the source code (Power Optimized Level Sensing Demo Software (Rev. A)10 Jan 2018 | http://www.ti.com/lit/zip/tidcde2a) to CCS ( Version: 7.4.0.00015) and try to build the source code, it fails the build and shows following errors.
I installed following versions of software
SimpleLink MSP432P4 SDK version 1.60.0.12
mmWave SDK 1.1.0.02
"../main.c", line 55: fatal error #1965: cannot open source file "pthread.h"
"../main_thread.c", line 65: fatal error #1965: cannot open source file "pthread.h"
When I search through forums, found this : https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/658784/2420612 and added "${COM_TI_SIMPLELINK_MSP432_SDK_INSTALL_DIR}/source/ti/posix/ccs" to include options as mentioned in that thread.
It solves the build issue and compile & build happens without errors.
When I flash the both eval boards (IWR1443BOOST & MSP-EXP432P401R) with .bin files which I compiled in my computer, it shows zero or large negative distance values as follows :
IWR1443 Data:
Dist 524.833984(m), power -1283999288
Dist -2257864097791.999578(m), power -1575677841
Dist -0.000000(m), power -1039361542
IWR1443 Data:
Dist 0.000000(m), power 2046473121
Dist 39203195749516218900680541.992188(m), power -1860649715
Dist 0.000000(m), power -1861922237
IWR1443 Data:
Dist 0.000000(m), power 150984704
Dist 0.000000(m), power 1755053833
Dist -0.000000(m), power -662474527
When I flash only MSP432 again (IWR1443 .bin image built on my computer remains) with the pre-built image (\level_sense_demo\msp432\Debug\lsdemo_msp432_m4f.out) it gives proper distances again and works well.
So obviously, there's something wrong with my MSP432 compiling/building.
Could someone help me to resolve this issue?
Thanks & Regards,
Randy