Other Parts Discussed in Thread: TMP112, MSP-FET, RF430CL331H, RF430CL330H,
Hello everyone,
I am trying to build the data-logger with the temperature sensor only using TIDA 00524 as a reference design (www.ti.com/.../TIDA-00524). In other words, the hardware that I have built is exactly the same as TIDA 00524, but without the light and humidity sensors. My programming skills are limited, and I wanted to adjust the cold chain CCS code to make it work with my hardware. I excluded the "# include" lines for the humidity and light sensors from the original code in mcu.h file. Also, I replaced the available modes in main.c file to temperature only. I tested my code on the original TIDA 00524 hardware and it worked. After that I used MSP-FET to upload my code to my hardware. After troubleshooting I found out that in my hardware the code getsstuck on the following line in TMP112.c file :
while(!(UCB0IFG & UCBCNTIFG));
I think I am having a problem with I2C communications, because I removed 2 sensors from the bus. I can not even read the NFC signal from my hardware.
P.S.
The original code can be found here : http://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=tidcb42&fileType=zip
You can find my modified code enclosedMyCode.zip