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.

LAUNCHXL-F280049C: SIMULINK CLA SUBSYSTEM BLOCK MISSING

Part Number: LAUNCHXL-F280049C

Hi everyone, 

    I have one questions related to the CLA: 

    1. How do I find the cla_subsystem block?

        it seems it is supported according to the following link: C28x CLA Task

        

          I already loaded the tic2000demospkg package. 
          I went to C CODE > Code Interface > Embedded Code Dictionary > Manage Packages , I clicked on refresh to get the tic2000demospkg package to appear and then I clicked on Load. 

          

     For those who want to run the CLA example in the F280049C_LaunchPad : 

  1. Copy the example F28004x: c28004xblink_cla.slx, In a c:/document/myfolder. 
  2. Change the GPIO OUT block to configure the block for GPIO23 and I added Toggle GPIO23. otherwise it won't turn on the red led. You can select GPIO34 for the green led. 
  3. Add the tic2000demospkg package. 
  4. Go to Hardware Settings > Hardware Implementation > Device details  and uncheck Support long long. 
    Otherwise you will get this error:  The CLA C compiler does not support long long data type
  5. In the same Hardware implementation , go to Target hardware resources and check "Use custom linker command file. 
    This will enable the CLA memory map.
  6. After that just hit the Build, Deploy & Start button. 
  • Hi Romy,

    I have reached out to MathWorks team to help on this. We should response by Monday.

  • Hi Romy,

    Can you please help us with the version of the MATLAB you are using? Like R2020b?

    Regards,

    Venkatesh C

  • Hi I am using Matlab R2021a (9.10.0.1602886). 

    The funny thing is that I could run the example but I had to do the following: 

     For those who want to run the CLA example in the F280049C_LaunchPad : 

    1. Copy the example F28004x: c28004xblink_cla.slx, In a c:/document/myfolder. 
    2. Change the GPIO OUT block to configure the block for GPIO23 and I added Toggle GPIO23. otherwise it won't turn on the red led. You can select GPIO34 for the green led. 
    3. Add the tic2000demospkg package. 
    4. Go to Hardware Settings > Hardware Implementation > Device details  and uncheck Support long long. 
      Otherwise you will get this error:  The CLA C compiler does not support long long data type
    5. In the same Hardware implementation , go to Target hardware resources and check "Use custom linker command file. 
      This will enable the CLA memory map.
    6. After that just hit the Build, Deploy & Start button. 

    It was possible because the CLA subsystem block was already created. 

  • Hi Romy,

    Are you referring to the following block? if yes, then this block is available only from the R2021b version of MATLAB.

    Regards,

    Venkatesh C

  • Hi
       I don't have that block. I need to upgrade the matlab version from 2021a to 2021b. 
    ...