Tool/software:
Hi TI support,
The can interrupt I currently use is The first interrupt line (INT0), which is interrupt number 44.
I operate the register as follows:
• Interrupt Register (MCAN_IR)
• Interrupt Enable (MCAN_IE)
MCAN_INTR_MASK (MCAN_INTR_SRC_TRANS_COMPLETE | MCAN_INTR_SRC_DEDICATED_RX_BUFF_MSG | MCAN_INTR_SRC_BUS_OFF_STATUS)
MCAN_enableIntr(gMcanBaseAddr, MCAN_INTR_MASK , TRUE);
• Interrupt Line Select (MCAN_ILS)
MCAN_selectIntrLine(gMcanBaseAddr, MCAN_INTR_MASK, MCAN_INTR_LINE_NUM_0);
• Interrupt Line Enable (MCAN_ILE)
MCAN_txBufTransIntrEnable(gMcanBaseAddr, 0U, TRUE);
I still can't communicate through the above configuration. Is there anything wrong with my usage?
When I read the register values, they are all zero.
I read the value of the register, except that ACT is 1, the others are all zeros.