Other Parts Discussed in Thread: LAUNCHXL2-570LC43, TMS570LC4357, HALCOGEN, TMP006
Hi Guys,
i have a Problem. I am kind of new to the programming world.
My goal is to read the current temperature from the Temp.Sensor 1 on my TI Launchpad LAUNCHXL2-570LC43 and send it to my PC (afterwards i want to send this data over the SPI bus to another controller from telit to upload it with an LTE Module to the internet). But first step by step. I need to read the current data from the temp. sensor and send it to my computer.
On the side i use the (USB to TTL- converter Module ,CP2102).
I am using HALCo Gen and CCS and i want to get the output in the in CCS integrated Terminal (for the first step).
My Launchpad is connected over the USB to my computer.
I know that this must be an analog sensor so i have to go over the ADC to get some data.
In HALCo Gen i made up the settings for ADC1 and for later usage SCI3. On "Special Pin muxing" i enabled the temp.sensor1.
For ADC1 i enabled PIN 31 because in the datasheet on page 320 i found that it should be on PIN31.
In CCS i just tried to make it work after following tutorial, by editing it for my µC:
But when i want to build the project i get an error for sciSend that the scilinREG is not defined.
or how can i select and configure the temp. sensor right to receive data like on page 320:
AD1CHNSEL(31) =1
PINMMR173(16) = 0
PinMMR173(17) = 1
Maybe you can help me with finding all the information in the datasheets and what i am doing wrong that i can learn from it a lot.
Thank you guys a lot in advance.