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.

TMS570LC43x (HDK) - i am new to hercules mcus - tutorials, examples

Other Parts Discussed in Thread: HALCOGEN

Hi everyone!

As mentioned in subject, i am new to Hercules mcus and now in my project i am working with TMS570LC43x Hercules development kit(The big green one). I thought that best for getting familiar with this processor will be running through video tutorials about hercules from youtube (with Anthony Vaughan). Unfortunately it seems, that those videos are out of date and are not valid anymore? 

For example vid: "Hercules Tutorial: 12bit ADC". In this tutorial Anthony includes library "stdlib.h" and afterwards he can use function itoa(); but for me even if i include stdlib.h this function is unknown for CCS. So i am not able to follow this tutorial video and get the same results. Why is that? Am I missing something?

And when i see tutorials availible from HalCoGen, there is similar example converting analog value and sending over uart (sci), but they use there is custom function (not from any lib) that is converting int to string ...  I know there are easy ways how to convert int to char on my own, but i am just wondering, if it is really necessary when todays mcus offer enough performance to use standard libraries?

And last thing i want to mention here is that i have found strange (probably bug) in your example code from HalCoGen. In TMS570Lc43x examples there is file example_sci_uart_9600.c. In this example there is function "void wait(uint32 time)" that i think isnt working properly. As it should work as standard delay function, i guess there should be something like (while(time--);) or something. 

I have to say, that i am kinda disappointed as a newbie to this field i expected flawless and cleat examples so i could nicely get familiar with new platform.

Finally i want to ask you, about official libraries as api for hecules. Are those libs that HalCoGen "put" into project folder after generationg code proper and ok to use? Or are there any other libraries for TMS570Lc43x mcus?

Thank you very much for your time
regards

Jan Slavotínek