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.
Hi experts,
According to TRM, the CLB outputs go to the ePWM, eCAP, eQEP and the crossbar module in the device.
If my customer wants to connect CLB1_OUT0_1 to EQEP1 QA, how should he configure CLB_OUT_EN_REG register? Do we have detailed description of CLB_OUT_EN_REG register for reference please?
Regards,
-Luke
Hi Luke,
The register setting can be done using the API - CLB_setOutputMask() where the value for enabling the CLB1_OUT0_1 can be fed from the 15 available options. (OUT0_1 is 8)
The customer can go through the TRM section 26.3.3 CLB Output Selection and also the driver clb.h for detailed description.
Thanks,
Aditya
Aditya,
Do you mean in CLB_OUT_EN register, CLB1_OUT0_0 is bit-0, OUT7_0 is bit-7 and OUT0_1 is bit-8, and so on?
So, if customer set bit-8 and bit-9 in CLB_OUT_EN register, then CLB1_OUT0_1 and CLB1_OUT1_1 will be connected to EQEP1, is this correct?
Regards,
-Luke
Luke,
You got it right.
We have some examples in C2000Ware demonstrating the usage of this function. The customer can take that as reference.
Thanks,
Aditya
Aditya,
My customer is facing the problem connecting CLB1_OUT0_1 and CLB1_OUT1_1 to EQEP1 QA and QB, please refer to below link.
Via below thread, it seems that there is something wrong with TRM CLB output selection table.
Please help to check if there is anything wrong in the table, thanks for help.
-Luke
Luke,
Let me get in the hardware expert here to validate customer's issue.
Thanks,
Aditya
Hi Luke,
Please refer to the update I posted in the other E2E thread.
There indeed is an issue within the TRM and this will be updated in a future release of the document.
Regards,
Peter