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.

TMS320F28035: piccolo 28035

Part Number: TMS320F28035

I'm using the TMS320F28035's CLA succesfully. 

I'm looking for a list of accesible registers by CLA. In particular could CLA read (and write) TZCLRx TZFLGx registers?

Kind regards

  • Hi Gianni,

    Since the TMS320F28035 CLA bus has access to the EPWM peripheral, it can access all of its registers. You can see which peripherals the CLA has access to in the Functional Block Diagram of the device's datasheet (this can change depending on the device). As long as the register fields are designated as R/W fields, the CLA can read and write them. Let me know if you have any more questions.

    Best Regards,

    Delaney

  • Hi Delaney,

    thanks a lo for your answer.

    TZCLRx TZFLGx are PWM peripherals's resgister but I cannot read in a CLA's task, so not all pwm's registers can be read from CLA.

    Are you so kind to give me a full list for CLA readable registers for TMS320F28035? 

    Kind regards.

    Gianni Rossetto.

  • Hi Gianni,

    The CLA should have access to all of the ePWM registers on the TMS320F28035. How are you reading it in your .cla code? There are also a few arbitration rules to keep in mind:

    Best Regards,

    Delaney

  • Hi Delaney,

    I tried to read TZCLRx and TZFLGx in .cla code obviously, but the data was wrong.

    Reading the same registers in .c code the values are correct.

    Kind regards

    Gianni Rossetto

  • Are there anyone in Italy I can speak directly that can help me? 

    Thanks a lot.

  • Hi Gianni,

    What type are you using for the variable you're reading the registers into? It's possible the data is being read into a data type that is being interpreted differently by the CLA than by the CPU. Can you share the lines of code where you are doing these reads in the .cla file?

    Best Regards,

    Delaney