Other Parts Discussed in Thread: TMS320F28335
In ADSP-21065L we have IRQ2 pin which is connected to SJA1000 standalone CAN controller to check whether CAN is starting communication(Tx/Rx) with ADSP .
Is there any registers present in TMS320F28335 to implement the similar condition ……?
ECanbShadow.CANES.all = ECanbRegs.CANES.all;
if (ECanbShadow.CANES.bit.RM != 0) { CAN_Rx();
ECanbRegs.CANES.all = ECanbShadow.CANES.all; } if (ECanbShadow.CANES.bit.TM= 0) { CAN_Rx();
ECanbRegs.CANES.all = ECanbShadow.CANES.all; } CAN_Rx() { ECanbShadow.CANRMP.all = ECanbRegs.CANRMP.all;
if (ECanbShadow.CANRMP.bit.RMP31!= 1) { Recive the frme ID and data from MBOX31 } } CAN_Tx() { Place the data on MBOX30 ECanbShadow.CANRMP.all = ECanbRegs.CANRMP.all;
while
}
Where MBOX30 is used as Transmit Mailbox and MBOX31 is used as Recieve mailbox. i am using the DSP2833x_Ecan.c/h files for CAN initialization.
After these checks we are not getting the expected results..Please let us know if we can do any better checks to check whether the CAN is Tranmsitting or Recieving .
Regards,
Vishwanath B J