Any idea on how to provide input to tms6713 processor using a c header file? i need to provide an ecg signal as an input to the processor and i'm not sure how to go about it.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Any idea on how to provide input to tms6713 processor using a c header file? i need to provide an ecg signal as an input to the processor and i'm not sure how to go about it.
Hi Rahul,
Yes, it is possible.
Using a c header file, you can give input data as ECG data to C6713 to process it and draw a ECG graph using the graph feature of CCS
For this purpose, there is a demonstration of drawing sine graph using CCS on C6713 by providing the data through a ".c" file or a ".h" file.
Please refer to this thread: 
In the above thread instead of sine table, provide the ECG data values. To draw graph, please refer to this WIKI page: 
Int16 sine_table[48] = {
0x0000 , 0x10b4 , 0x2120 , 0x30fb , 0x3fff, 0x4dea ,
0x5a81 , 0x658b , 0x6ed8 , 0x763f , 0x7ba1 , 0x7ee5 ,
0x7ffd , 0x7ee5 , 0x7ba1 , 0x76ef , 0x6ed8 , 0x658b ,
0x5a81 , 0x4dea , 0x3fff , 0x30fb , 0x2120 , 0x10b4 ,
0x0000 , 0xef4c , 0xdee0 , 0xcf06 , 0xc002 , 0xb216 ,
0xa57f , 0x9a75 , 0x9128 , 0x89c1 , 0x845f , 0x811b ,
0x8002 , 0x811b , 0x845f , 0x89c1 , 0x9128 , 0x9a76 ,
0xa57f , 0xb216 , 0xc002 , 0xcf06 , 0xdee0 , 0xef4c
} ;
Tha above values will give you a sine wave form. Similarly if you provide the ECG data, you can process it through the processor when needed and produce a ECG graph.