Other Parts Discussed in Thread: C2000WARE
Hi everyone,
I am trying to measure motor speed on CPU2. For this purpose;
I used TI-example "eqep_pos_speed_cpu01" in C2000Ware.
Seeking to transfer the operation to CPU2 we did the following steps:
1- in Gpio.c ;
GpioCtrlRegs.GPACSEL3.all = 0x22222222; // GPIO 16-23 |. 0=CPU1, 1=CPU1.CLA1, 2=CPU2, 3=CPU2.CLA1
2- I copied POSSPEED_Init and POSSPEED_calc functions from CPU1 to CPU2.
But I cannot read speed on CPU2.
I am thankful for any hint and advice.
Best regards...