I am new to TMS570Ls,also I have purchased TMS570LS31x HDK and I am working on PWM generation using Halcogen software.I want to edit thehalcogen code for varying period and duty cyle.please guide
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.
I am new to TMS570Ls,also I have purchased TMS570LS31x HDK and I am working on PWM generation using Halcogen software.I want to edit thehalcogen code for varying period and duty cyle.please guide
Hi Pai,
Unfortunately this isn't the way to start - the HET code that comes w. HalCoGen is a fixed example and is not distributed i source form. I would never recommend trying to modify it directly because that is like asking someone to hand-edit machine code instead of using an assembler, when an assembler is available.
What you need to do when you want to go past what is available in HalCoGen is to get the free HET IDE which includes the assembler. This tool lets you create custom HET programs and simulate them, it also includes a waveform viewer that gives much better visibility to what is going on inside the HET then you will get with silicon. You could start trying to recreate the HET code that comes with HalCoGen by entering the assembly source but I would recommend looking at the code pallette / examples that come w. the HET IDE. There are templates there for various functions including PWMs. There are also some examples of PWM code posted on this forum that you can use.
Hi Anthony,
Thanks for you suggestion.I could not reply ur previous suggestion due to some design issues.We are going to develop a control system with tms570ls3137 microcontroller with ucos-ii as RTOS,we are confused about IDEs such as code composer and IAR.We know that IAR is expensive compare to code composer studio .We want to know which is best IDE to work with.please suggest as we are in design stage .
Hi Anthony,
Thanks for you suggestion.I could not reply ur previous suggestion due to some design issues.We are going to develop a control system with tms570ls3137 microcontroller with ucos-ii as RTOS,we are confused about IDEs such as code composer and IAR.We know that IAR is expensive compare to code composer studio .We want to know which is best IDE to work with.please suggest as we are in design stage .
Hi Pandurang,
There are evals available for the toolchains as well as uCOS-II and probably the best advice would be to try them.
It's hard to recommend without really understanding your 'weighting' of toolchain cost versus tolerance for working through issues if the port is out of date. I think if you evaluate it will likely become apparent which is the right way to go.