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.

Are there any good books or manuals that shows beginners how to use CCS for beginners.

Other Parts Discussed in Thread: MSP430G2231

  I studied electronics in college and even worked on a little C++ back then.  I was interested in using programming to control hardware  so I bought the basic MSP430G2231 LaunchPad and downloaded Code Composer Studio (CCS). I was hoping that when I bought the board, it would come with some sort of instruction manual or a link to an instruction manual that would explain to me how to use the program. However, when I say that  I want it to expain to me how to use the program, I don't mean that I simply want it to show me how to open a sample file, and compile it. I mean that I want it to clearly and fully explain to me how to write programs from scratch (for beginners or CCS) so that I could use my board to its full potential. I want to be able to understand every line of code I write. Is there a manual or book that exists and if so where can I find it? Where did a lot of you people that are experts in using CCS and TI microcontrollers learn to do so? Did you read a book or did you attend some type of class?

      I also have a question about what type of code CCS uses. Is it C or C++ or something else. I thought that it was C++. However, when I tried to use the sample source code for CCS in Visual Basic C++ it didn't work. Also, when I tried to write a C++ code that worked in Visual Basic it didn't work in CCS. If Code Composer Studio uses C++ then how come the source codes aren't interchangeable with CCS and Visual Basic C++.      

  • Hi,

    The best starter guide is the CCSv5 Getting Started Guide.

    CCS supports both Assembly, C and C++ development. For the G2231 device I would stay with the first two options due to memory constraints on the device.

    Each compiler has several implementation-specific details that require manual atttention - check this page for the compiler manuals and some details about the language support. 

    Hope this helps,

    Rafael

  • Thanks for your help but I got a little confused with the link you sent me. I was hoping that you would show me a book or manual that would clearly explain to a beginner of Code Composes Studio how to write code for the  MSP430G2231 launchpad. I also want it to clearly explain to me what every line of code that I am writing means so that I understand it and I don't just paste a lines of source code without understanding it. However, the link you sent me just sent me to another site with other branches of links and I am not sure what I should readand what doesn't apply to me. I think I found two manuals from the link you sent me which are http://www.ti.com/lit/ug/slau131f/slau131f.pdf  for the assembly language code and http://www.ti.com/lit/ug/slau132f/slau132f.pdf for the C/C++. Are these the manuals that you wish me to read or is there something else that you want me to read instead. The reason why I ask is because these two manuals are almost 500 pages combined. I'll definately read them if they'll teach a beginner like myself how to write code for CCS. However, if not then I don't really want to waste time reading those 500 pages only to realize that they don't help me at all.  

       I also want to make sure that I understand your answer when you said what kind of programming CCS supports. Just to be sure you said that CCS supports Assembly, C ,and C++, but my board doesn't support C++. However,the C++ would work just  fine if I got another type of board with more memory. Does that mean that I shouldn't have any memory problems if I write in C or assembly language? Thanks for your help.

    Justin