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.

TMS320F28069:CANTRS 가 Reset 되지 않아요.

Part Number: TMS320F28069

Tool/software:

ECanaShadow.CANTRR.all=ECanaRegs.CANTRR.all; //1. CANTRS.x = 0 만들기
ECanaShadow.CANTRR.all |= 1<<TRRXnbr;
ECanaRegs.CANTRR.all=ECanaShadow.CANTRR.all;

do{
time_out--;
j=ECanaRegs.CANTRS.all &= 1<<TRRXnbr;
}while(j && time_out); //CANTRS.x 가 0이 될때까지 기다 립니다.
if (time_out == 0) {
ErrorCount++; //CANTRS 플래그 대기 중 타임아웃 발생
return;
}

이 프로그램에서 CANTRS.x =0 이되지 않습니다.
어떤이유가 있는지 모르겠습니다.

해결 방법이 있나요?