Tool/software: Code Composer Studio
Hi,
I am working in a project with a 8x8x8 cube led with 74hc138 and 74hc574 to control the ignition of the LEDs.
The main problem is that the code part in the interruption wich manages the inputs for the 74hc138 , is not working fine.
The following code is in charge of this part:
int i;
for (i=0;i<8;i++)
{
GpioDataRegs.GPADAT.all=cube[current_layer][i];
GpioDataRegs.GPADAT.all=(GpioDataRegs.GPADAT.all & 0x00000011)|((0x07 & (i+1))<<16);
}
When the code is compiled, a warning appears:
#64-D shift count is too large
The goal of that code part is to manage all the combinations for the 74hc138 inputs (A1,A2,A3) as I said before. These inputs are located at GPIO16,17 and 18.
When I am debugging the code, at this pins only I can see a LOW signal at all of them.
PS: sorry for the format used, I am posting with the smartphone.
Thanks in advance
Best Regards,
Miguel

