Other Parts Discussed in Thread: SYSBIOS
Hello all,
I am using a Tiva C TCM1294.
my goal is to send ADC values (of the internal temperature sensor) to my computer, via sockets. I am using TI-RTOS with NDK to provide the networking functionality. This part works. But, when I try integrate a HWI (triggered by the ADC) the NDK stops working. I am not sure why this is.
I have done the following experiments:
test the ADC independent of the networking code. I used a HWI, and it worked fine.
test the the networking code independent of the ADC code, and it worked fine.
It only breaks, when I combine the two.
here is the project, with. I have commented out HWI in the .cfg. Enabling the HWI, will break the networking code.
Here is the main.c. .Note: ledToggle is the HWI interrupt fired by the ADC. http://pastebin.com/raw/AUibTsXa
Here is the java code, to connect to the board.
my project consists of the example tcp echo code, provide as an example. Together with the ADC initialisation.
Thanks
Daniel