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.

TCAN1145-Q1: Request for TCAN-1145 SPI Communication specification

Part Number: TCAN1145-Q1

Currently, I am applying TCAN1145 to the PCB board I use.

However, there is a difficulty in not being able to transmit and receive CAN because TCAN1145 is not working,

So I am asking you the following question.

  1. When I send SPI Serial Data Input for Spi write/read, I receive SPI Serial Data Output from TCAN1145 such as ‘0xE0 and 0xE054, respectively.
    0xE0 means the Global interrupt register(0x50) bit7, according to the data sheet.
    I would grateful if you explain that the specific meaning and explanation of each bit that constitutes the Global Interrupt Register

  2. If the SPI setting is a problem, I would grateful if you could guide me on how to correct it.
    I set Spi frequency and Chip select setup time to 100kHz and 400ns, respectively, according to the data sheet.

Thank you!

  • Hi JiSoo,

    The first byte that appears on the SDO line during any SPI transaction is the INT_GLOBAL register. A value of '0xE0' would indicate that interrupts are set in the INT_1 and INT_2 interrupt registers. My assumption is that these interrupts will be the CANSLNT (INT_1[2]) and PWRON (INT_2[6]) interrupts, which don't necessarily indicate any errors in operation. Importantly, the INT_3 interrupt register is clear (bit 4 of INT_GLOBAL) meaning that no SPIERR is being reported by the device. Because of this, I don't believe the issue here is a SPI format problem. 

    Can you share the startup sequence you are using to prepare TCAN1145 for CAN transmission? I would like to confirm that the device is being configured into Normal mode correctly before CAN data is sent. 

    If you would like to share scope shots of the SPI communication with the transceiver, I can verify that the formatting is correct. Please include the SDI, SDO, nCS, and SCLK signals in the captures if possible. 

    Regards,
    Eric Schott 

  • Hi, I'm sorry for replying late.

    The above mentioned problems were simple MICOM issue, so I resolved the problems, I checked that TCAN1145 works well without any problems.

    But, I have a question about TCAN1145 Data_y Register Data(0x39, 0x40).

    In datasheet, Data_y Register Field means 'CAN data byte x', But I don't know what is CAN data byte.

    I don't think it's a signal data of CAN message.

    I woud grateful if you could tell me what means the data_y register data field in detail.

    Thank you!

  • Hi JiSoo,

    I'm glad that the issue has been resolved.

    The Data_y register space is used for masking the data portion of the partial networking filtering. This field is used to filter incoming wake-up frames if the DATA_MASK_EN bit field is set is the SW_ID_MASK_DLC register. 

    Let me know if this is clear and if you have any more questions.

    Regards,
    Eric Schott