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: TCAN4550 INT为什么总是低电平?

Part Number: TCAN4550
当前状态:
       我当前MCU与TCAN4550双向CAN通信OK:上位机通过CAN调试器链接到TCAN4550连接至MCU,,MCU与CAN调试器双向CAN通信正常,能成功发送也能成功接收。但是MCU接收TCAN4550是通过中断查询的方式,在主循环中查询接收中断标志,如果有新消息,则能够成功读取消息。
目的:
       现在需要借助于TCAN4550提供的外部中断机制,通知MCU,如及时读取消息。
进展:
       通过手册得知,nINT引脚是开漏输出,需要接上拉电阻(2~10K欧姆)。我现在nINT引脚上接10K上拉,连接值MCU。但是接上TCAN4550的nINTx引脚后,外部nINT引脚就被拉低了;断开TCAN4550的引脚,5点的电压就为3.3V的高正常了。正常应该是高电平才对呀。
MCU当前外部中断OK,如果断开上图中5--8点之间连线,5点对MCU的GND(已经与TCAN4550共地)电压3.3V,说明上拉成功;如果此时将5脚与地短接,就会进入MCU的外部中断,,说明MCU的外部中断正常。
请问为什么TCAN4550的引脚8,,会被一直拉低?是有其它中断产生还是?
  • 想通过TCAN4550的nINT中断通知MCU,处理中断事件,包括接收消息,发送消息等操作。

  • Hi Nicolas,

    the nINT pin is the Logical OR of all the possible device interrupts that are not masked for registers 0x0820 and 0x0824.  When the nINT pin is pulled Low, one or more bits in registers 0x0820 and 0x0824 have been set. 

    Register 0x0820 contains all of the other device related interrupts such as over-voltage, under-voltage, temperature, and SPI related interrupt bits.

    Register 0x0824 is a read-only copy of register 0x1050 and contains all of the CAN related interrupts. In order to clear these interrupts, you must write a "1" to the interrupt bit in register 0x1050 instead of 0x0824.

    When all interrupt bits are clear, the nINT pin will be pulled High by the external pull-up resistor.  When one or more interrupt bit is set, the nINT pin will sink current and pulls the nINT pin low.

    Regards,

    Jonathan