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.

TMS320F28P550SJ: Syscfg settings customisation

Part Number: TMS320F28P550SJ
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi All, 

I am new to using syscfg and so came across a few issues?

I've been try to set up my I2CA peripheral on my TMS320F28P550SJ and I am having 2 issues.

First : It seems like  I am confined to using clock duty cycles of "33%" and "55%" - if I want to use a duty cycle of 50% for example -  how do I go about this. I am away that the "board.c" files are not recommended to be edited as they are autogenerated (am I correct? ) - If I am wrong then never mind the 2nd question. How do I go about this issue? Kindly help

secondly : I think this is related to the first, I've managed to make all the other settings except for the "I2C_clearInterruptsSatus()" and "I2C_enableInterrupt()" which appear to have their settings coupled? (Is this a constraint of using syscfg, that one cannot customize all the way?  please refer to picture below.

Many thanks for your help!


  • Hi Makabongwe,

    First : It seems like  I am confined to using clock duty cycles of "33%" and "55%" - if I want to use a duty cycle of 50% for example -  how do I go about this. I am away that the "board.c" files are not recommended to be edited as they are autogenerated (am I correct? ) - If I am wrong then never mind the 2nd question. How do I go about this issue? Kindly help

    Files automatically generated by SysConfig such as board.c cannot be directly edited and can only be edited through modifying SysConfig settings. You can do all your settings in SysConfig as normal and reconfigure the duty cycle separately in your main file. Out of curiosity, what frequency is your clock at and what is the application?

    secondly : I think this is related to the first, I've managed to make all the other settings except for the "I2C_clearInterruptsSatus()" and "I2C_enableInterrupt()" which appear to have their settings coupled? (Is this a constraint of using syscfg, that one cannot customize all the way?  please refer to picture below.

    Those two lines of code get generated at the same time, to ensure that any previous interrupt statuses are cleared before enabling new interrupts. 

    Best Regards,

    Aishwarya

  • external clock Freq = 24MHz and the app is reading accelerometer. It's not a biggie - just wanted to know how other engineers work around this. Many Thanks for your help.