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: Discrepancies in TCAN4x5x drivers

Part Number: TCAN4550


Tool/software:

Hi, I am currently in development with the TCAN4550. I am building custom code on top of the drivers that I downloaded from the TCAN4550EVM page (https://www.ti.com/tool/TCAN4550EVM). I have basic TX/RX working, but I have noticed some discrepancies between the TCAN4550 datasheet and the data structs in the driver. For example, the TCAN4x5x_Device_Interrupt_Enable struct does not match the Interrupt Enables register (address = h0830 ).

Am I misinterpreting something? Can someone direct me to the proper drivers?

  • Hi Mike,

    There is only one set of demo driver code available which you are referencing, and the device datasheets are frequently updated and are always the official standard that should be followed. 

    Several of these bits were reserved because the corresponding interrupt bit was set such that it can't be disabled, causing the corresponding enable bit to be reserved and disabled by making it a read only bit.  Writing to these bits will not cause problems.

    The demo driver code was developed around the initial release of the device and Other bits were for features that were not included in the TCAN4550/1 version of the device or were reserved for other reasons.  Unfortunately some of these changes didn't make it into the demo code.  I'm not aware of any functional issues with the code but a few of there are a few non-consequential bits that you may want to adjust in your application.

    Regards,

    Jonathan