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.

[参考译文] CCS/TMS320F28031:如何读取"C2000's 唯一器件编号"

Guru**** 2524460 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/904947/ccs-tms320f28031-how-to-read-c2000-s-unique-device-number

器件型号:TMS320F28031

工具/软件:Code Composer Studio

如何读取"C2000的唯一器件型号"。

根据 SPRACD0A 文档 、MSW 和 LSW 的唯一地址分别为"0x000901、0x000900"。

我在 参考文档中找不到与这个"UID_UNIQUE "寄存器相关的任何信息。 我需要用 C 语言阅读此内容、因此请说明合适的方法。

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

    您好!

    如文档 SPRACD0A 中所述、只有 B 类器件具有 UID_UNIQUE 寄存器、用于从寄存器中读取唯一器件编号。

    对于 A 类器件、需要读取直接存储器地址以获取器件编号。 例如

    uint32_t uid =*(((uint32_t *)(0x000900U)); 

    谢谢

    Vasudha

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

    您好!

    这将有所帮助。  谢谢!!  

    此致、

    Sachin