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:TCAN4x5x 驱动器中的差异

Guru**** 2377000 points
Other Parts Discussed in Thread: TCAN4550EVM, TCAN4550
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1529359/tcan4550-discrepancies-in-tcan4x5x-drivers

器件型号:TCAN4550

工具/软件:

大家好、我目前正在开发 TCAN4550。 我正在从 TCAN4550EVM 页面 (https://www.ti.com/tool/TCAN4550EVM) 下载的驱动程序之上构建定制代码。 我有基本 TX/RX 工作、但我注意到 TCAN4550 数据表与驱动程序中的数据结构之间存在一些差异。 例如、  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?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Mike:

    您只能参考一组演示驱动程序代码、器件数据表会经常更新、并且始终是应该遵循的官方标准。  

    这些位中有几个位被保留、因为相应的中断位被设置为不能被禁用、从而导致相应的使能位被保留和禁用(通过将其设置为只读位)。  写入这些位不会导致问题。

    演示驱动程序代码是围绕器件的初始版本开发的、其他位用于器件 TCAN4550/1 版本中未包含或因其他原因保留的功能。  遗憾的是、其中一些更改并未添加到演示代码中。  我不知道代码有任何函数问题、但其中一些非相应的位可能需要在应用中进行调整。

    此致、

    Jonathan