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.

CCSTUDIO: CLB Tool Not Working

Part Number: CCSTUDIO

Hello, i use F28379D Launchpad and i work with Simulink and CCS studio. I have made a very simple Simulink design where i use 4 PWM Signals and i want to modify them into CLB (configurable logic blocks) tool. The main idea is the following: i want to NAND(PWM1,PWM3) and the result to be ORed with PWM4 and PWM5 respectively. In simulink if i want to use CLB the only thing i need from CCS studio is Config.h and Config.c files that are generated through CLB tool. i have made all the appropriate connections and i think i have understand the concept but for some reason when i take the result of NAND and then i do OR(NAND_RESULT,PWM5) it doesnt work. Fan fact when i do  OR(NAND_RESULT,PWM4) it works just fine!!! so with PWM4 the idea works but with PWM5 dont. i have tried everything, changing ePWM Block, changing Input X Bar port, and the result is EXACTLY the same. i kept on purpose NAND result = 1 and instead of PWM i chose steady 0 to see what is going to happen and the result was a PWM with 50% duty Cyle!!!! and i didnt even use any PWM as an input! i had only 0 OR 1. I really dont know what is happening. i will try to send you screenshots that may be help!

Thank you for your patience!

debug1.png

debug2.png

debug3.png

DEBUG4.png

DEBUG5.png

debug6.png

debug7.png

  • Hi Alexandros,

    I am sorry for the late reply. Thank you for your patience. I was out of office last week so could not get back to your question. I have sent you an email requesting a call to debug this issue.

    Thanks and Regards,

    Ira