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.

CCS/TMS570LS1227: HalCoGen - Changing device from ZWT to PGE

Part Number: TMS570LS1227
Other Parts Discussed in Thread: HALCOGEN,

Tool/software: Code Composer Studio

Hello everybody,

I am currently working with a Dev Kit that features the ZWT variant of the TMS570LS1227. I will soon need to test my code on a board with the PGE variant and I was wondering if it is possible to change the device in HalCoGen and Code Composer studio, once the projects have been created, or if I will need to pretty much start from scracth again.

I understand that the multiplexing settings will be different and will need to be adjusted accordingly.

Thanks!

Sofia

  • Hi Sofia,

    You can manually edit your .hcg and .dil files to change the device type. Make sure you back up everything and work on a copy of your project as there could be unforeseen changes made in the code. Once you copy the .hcg and .dil files, open the project in Halcogen and run the code generation process. You can do a compare on the old generated files vs. the new to see what has been possibly changed and/or lost in the conversion. For certain, you should pay particular attention to the PINMUX options, but also be aware that there may be some pins/functions and modules that were included int he ZWT that will be lost with the l44 pin device. As always, create backups/restore points and compare the output of the tool to the previous working output on the bigger package to know what might have changed. Diff tools will be your friend in this activity but it is much better than starting all over.
  • Hello Sofia,

    Some pins are multiplexed or not available in the 144QFP package, for example, QFP package doesn't have EMIF module. Pinmux seetings will be different (you know it).
    The maximum clock for ZWT package is 180MHz, but QFP is 160MHz. So the PLL configuration may be different, and clock prescale for modules may be different too.
    If both Packages use the same PLL settings (for example 160Mhz), most of the drivers (header files, and c files, and asm files) will be the same.