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.
Tool/software:
Hello support,
we are using CLB to implement a custom current protection for PWM; so far we configured CLB via SysConfig and used Code Composer machinery to generate configuration file.
In our software, we configure CLB, call generated CLB init C code and start processing; this is working as expected.
Now we need to customize two parameters of the CLB scheme depending on power stage characteristics, which is a board parameter read during startup; in particular CLB affected registers are MATCH1 values for two counters of the CLB TILE.
After configuration with generated code we called again the MATCH set procedure:
CLB_writeInterface(CLB1_BASE, CLB_ADDR_COUNTER_0_MATCH1, time_as_ticks);
But update sometimes seems not working; is there a way to read back CLB config registers like Counter MATCH1?
Best regards,
Elker