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 can't receive the data

Part Number: TCAN4550

Hi team,

customer use TCAN4550, can read/write register via SPI and read the ID1 confirm that the communication is ok, also can configure device work in normal mode or sleep mode. 

While, they use the reference code of sllc469b.zip ,sent the data to TCAN4550, find can't receive the data.

could you give some comments here? thanks.

  • Hi Betty,

    That's good news that SPI is working.  For the communication testing, are they able to transmit butnot receive?  What data rate is configured?  Is the device connected to any other CAN nodes via the CANH/CANL interface?  Is termination placed on the bus (if so, what value)?  Could you let us know the register writes they are using to set up the device in the desired mode?

    Max

  • Hi,

       TCAN4550-Q1 is configured By using Init_CAN() function from main.c of sllc469b.zip,

    so data rate is 500K.

    Communication process as follows:

    MCU send 8 byte data, the device(USBCAN-II)  can't  receive 8 byte data.

    send code as follows:

    void TestCanSend(void)

    {

    TCAN4x5x_MCAN_TX_Header header = {0};
    uint8_t data[8] = {0x12, 0x13, 0x14, 0x15,0x55, 0x66, 0x77, 0x88};
    header.DLC = MCAN_DLC_8B;
    header.ID = 0x18EA0091;
    header.FDF = 1;
    header.EFC = 0;
    header.MM = 0;
    header.RTR = 0;
    header.XTD = 0;
    header.ESI = 0;

    TCAN4x5x_MCAN_WriteTXBuffer(0, &header, data);
    TCAN4x5x_MCAN_TransmitBufferContents(1);

    }

    The above code runs once per second

    Modes of Operation and Pin Configuration Registers (address = h0800)  is 0xC80004A0

  • User,

    Thank you for all the information, this is helpful. So the USBCAN-II is never receiving data, correct? Then it may be a problem with just transmitting the message in the first place. Have you read through the TCAN4550-Q1 Software User's Guide? There's a step-by-step procedure on how to configure the TCAN4550-Q1 for transmitting and receiving data.

    • How is your MRAM configure with your TX FIFO/Buffers and your RX FIFO/Buffers?
    • Are you able to capture the waveforms on the CANH and CANL pins?

    Please let me know if you can provide this information.

    Regards,