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.

TMS320F28388D: CLB Counter not counting

Part Number: TMS320F28388D
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Tool/software:

Hello,

I am currently working on a project with the Configurable Logic Block (CLB). To get started, I followed the recommendations from the CLB User Guide and edited a CLB Tile using the Sysconfig Tool.

Now, I want to test it using the GTK Wave Viewer. After opening the VCD file in the GTK Wave Viewer, I can see that the Match_Ref values are correct, but the counter_output always stays at 0.

In search of my mistake, I also opened the VCD file for Example 9 (Timer). However, even there, I can't see the counter incrementing—the counter_output remains at 0.

As you can see in the image above, the counter_output stays at 0 the entire time.

Any input on what could be wrong would be greatly appreciated!

Best regards,
Wilko

Edit:

I have some new information concerning my problem:

I have found that my counter starts to count if reset is high. 

I would like it the other way around. How do I change this ?

There is a similar Post on TIE2E: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1355821/tms320f280049-clb-simulation

In this Post  (I hope this is the correct Luke Jones) said the solution is implemented in the C2000 Version 5.03. 

I am using this version and the problem persists. He also gave some source code that should fix this problem. This did not work either.

I hope this helps to narrow down my problem.

Best regards,

Wilko

  • Hi Wilko,

    I am downloading C2000Ware version 5.03 on my side to confirm whether this was fixed or not.

    The manual fix I listed in that thread should still work. Did you confirm that you're using the paths for C2000Ware 5.03 and not 5.02 when adding the manual fix?

    Thank you,

    Luke

  • Good morning Luke,

    You are correct, the manual fix is working—I had simply forgotten to run the SystemC_Compiler file.

    However, it would still be helpful if this issue could be patched in C2000Ware 5.04. I'm working on a multi-person project, and having this fix in place would make it much easier to ensure that everyone is using the exact same version of C2000Ware, and I wouldn’t have to manually correct it for everyone.

    Best regards,
    Wilko