Part Number: TMS320F28388D
Tool/software:
Hi,
I am using CLA to monitor the state of 32 input channels. The ClaTask1 will be triggered by the TINT1 and the Timer01 was set as 20usec. In ClaTask1, It will set on the test output pin when the task start, then execute recordStateInBit(), then it will set off the test output pin when the task end. The test output pin status will be the working time of ClaTask1.
The problem I faced is that if I use the “1.” way to read the pin, then the working time of ClaTask1 will be really long, about 50usec. And if I use the “2.” way then the working time of ClaTask1 will be really short, about 8usec. But I don't think that it will cause the working time to be so different. Do you have any idea of this?
The ChPinIdxBuf is put in RAMLS7
Best Regards,
Norman



(Option 1 Diassembly code)