Hellow :
I am trying to send and receive the message with two boards of 28335, when I run the example it stay in the loop, two board with the same Bit rate(BRPREG = 99; TSEG2= 2; TSEG1 = 10;), and I can see the signal from the oscilloscope, I don t know why the Bit TA is not setting.
for(i=0; i < TXCOUNT; i++)
{
ECanaShadow.CANTRS.all = 0;
ECanaShadow.CANTRS.bit.TRS25 = 1; // Set TRS for mailbox under test
ECanaRegs.CANTRS.all = ECanaShadow.CANTRS.all;
do
{
ECanaShadow.CANTA.all = ECanaRegs.CANTA.all;
} while(ECanaShadow.CANTA.bit.TA25 == 0 ); // Wait for TA25 bit to be set..
ECanaShadow.CANTA.all = 0;
ECanaShadow.CANTA.bit.TA25 = 1; // Clear TA25
ECanaRegs.CANTA.all = ECanaShadow.CANTA.all;
loopcount ++;
}
Can some one help me,please?