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.

TCAN4550-Q1: TCAN4550-Q1 GPO1 Interrupt line not working

Part Number: TCAN4550-Q1
We want to use the TCAN4550-Q1 in one of our products.
So far it is working well, we can send and receive messages but we have a problem with the interrupts - although it looks we configured   MCAN0 on GPO1 correctly, the interrupt line (GPO1) remains permanently high.
We have no clue why - can one of your support team members help us here:
Here is a register dump after receiving a message - all status bits look correct and also the GPO1 configuration is set to MCAN_INT0 output and the  interrupt line are enabled:

Addr:00000000 - 4E414354

Addr:00000004 - 30353534

Addr:00000008 - 00110201

Addr:0000000c - 0020000A

Addr:00000800 - C80204A0

Addr:00000804 - 00000002

Addr:00000808 - 00000000

Addr:0000080c - 00000000

Addr:00000820 - 000004AA

Addr:00000824 - 00000001

Addr:00000828 - 00000000

Addr:0000082c - 00000000

Addr:00000830 - 809628FF

Addr:00001000 - 32150320

Addr:00001004 - 87654321

Addr:00001008 - 00000000

Addr:0000100c - 00800D44

Addr:00001010 - 00000080

Addr:00001014 - 00000000

Addr:00001018 - 00000000

Addr:0000101c - 0E011E07

Addr:00001020 - 00000002

Addr:00001024 - 000090BD

Addr:00001028 - FFFF0000

Addr:0000102c - 0000FFFF

Addr:00001030 - 00000000

Addr:00001034 - 00000000

Addr:00001038 - 00000000

Addr:0000103c - 00000000

Addr:00001040 - 00000000

Addr:00001044 - 00000708

Addr:00001048 - 00000E00

Addr:0000104c - 00000000

Addr:00001050 - 20000001

Addr:00001054 - 3FFFFFFF

Addr:00001058 - 00000000

Addr:0000105c - 00000001

  • Hi Sebastian,

    Based on the register dump, it looks like GPIO1 is configured correctly for the MCAN interrupt mode. 

    Addr:00000800 - C80204A0

    TEST_MODE_EN     [21]    = 0  - DISABLED
    GPIO1_CONFIG     [15:14] = 00 - GPI
    GPIO1_GPO_CONFIG [11:10] = 01 - MCAN_INT 1 (Active low)

    This output will report interrupts that are assigned to MCAN_INT1 in the Interrupt Line Select register (address = h1058). Currently, it looks like no interrupts are assigned to this interrupt line. Select which conditions you would like to trigger this interrupt line by writing a 1 to the corresponding bits. 

    Addr:00001058 - 00000000

    Also ensure that this interrupt line is enabled in the Interrupt Line Enable register (address = h105C). Currently, it looks like this line is disabled. 

    Addr:0000105c - 00000001

    EINT1 [1] = 0 - Interrupt line m_can_int1 disabled

    Let me know if this resolves the issue or if you have any trouble with revising the configuration.

    Regards,
    Eric Schott

  • Thanks Eric ! Works perfectly now - the old issue of a C programmer if counting starts at 0 or 1 :-)