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.

TMS320F280039C: Relating questions in CLA

Part Number: TMS320F280039C

Hi Champ,

I am asking for my customer about the questions in CLA.

1. The GPIO could be configured which core (C28/CLA) is the master which means one of the core has the access to control the GPIO. How about the core which isn't able to control the pin, would it be able to get the status of the GPIO pin ? Would it be the same result for both C28 and CLA ?

2. If taking Task 8 as the background task, would it still be able to launch a CLA interrupt to C28 for Task 8, or it merely runs continuously as a while loop in CLA ?

3. Customer found out the code running in CLA, after compiled, the code size was far beyond expectation larger (more than x5). How could it be possible and how to thin the code size in CLA ? (using --opt_level 2, and --opt_for_speed to 0 which the code size is the most concern)

Thanks for the reply,

Regards.

  • 1) Yes, data can be read from both cores. Core select configuration will gate the SET/CLEAR/TOGGLE/DAT register writes. Note that all the other configurations, such as direction, pull, mux etc can be controlled by CPU1 only

    2) Background task is meant to be run continuously in the background. I will check if it has interrupt capability and get back to you. But, The Task8 can be configured as normal task with interrupt capability

    3) I will forward this specific query to compiler team

    Regards,

    Veena

  • For question #3, what is your expectation that you are comparing code size against?  Please follow the directions in the article How to Submit a Compiler Test Case and we can take a better look at it.  Using --opt_for_speed=0 is the right thing to do, so I'm not sure we have enough data to understand why code size is getting larger.   Thanks!

  • Hi Veena,

    Thanks for the reply on the first question. I see.

    Background task is meant to be run continuously in the background. I will check if it has interrupt capability and get back to you

    Looking forward to your update, thanks. 

    Pls help confirm if background task could have the interrupt capability to C28 in every time. 

  • Hi,

    I checked with the design expert and they confirmed that c28x interrupt can be generated from background CLA tasks

    Regards,

    Veena