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: Questions on How to Use

Part Number: TCAN4550-Q1

Hello,

I'd like to ask some questions on how to use the TCAN4550-Q1.

  • Can only two IDs be used for the SID filter? I guess the range filter can be used for a range of IDs, but I'm not sure about several IDs that are not ranged continuously.
  • Could you explain in detail a procedure/steps of SPI communication with a host microprocessor? Especially, I'd like to know about steps from a request from the microprocessor to a response from the TCAN4550-Q1.
  • What's the fastest way for the microprocessor to acquire a packet once the TCAN4550-Q1 receives it on CAN bus?

Best regards,
Shinichi Yokota

  • Yokota-san,

    Thank you for bringing these questions to E2E. One document I'd like to make you aware of that is very helpful when using the TCAN4550-Q1 is the TCAN4550-Q1 Software User's Guide. Along with the starter code available in the TCAN4550-Q1 product folder, this document will give step-by-step instructions and explanations for configurating the TCAN4550-Q1 for CAN communication.

    • Yes, but multiple SID elements can be configured so that every CAN frame is compared against for than two IDs. That is, if you want to have 6 IDs for each CAN frame to compare against, you can configure the TCAN4550-Q1 memory for 3 SID Filter elements, then configure each ID in these elements. Once a CAN frame is received it is compared against each filter element, starting with element 0, until a match is found. Then the controller will perform whatever function is configured for that particular element.
    • These are explained in the Software User's Guide, if this doesn't help please let me know and I will try to specify further.
    • The fastest way is to use the interrupt registers as an indication that a new message was received, then the host controller can immediately read out the message from whichever configured receive element is there. One way to make this even faster is to assign an MCAN interrupt to GPIO1, which will be another external indication that is assigned to the MCAN interrupt of the user's choice. In this case, it could be assigned to the RX new message interrupt, so when GPIO1 toggles, the processor immediately knows there is a new message to be read out.

    Please let me know if you have any other questions.

    Regards,