请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:DP83TC811S-Q1 工具与软件:
Dears、
客户希望在 PMA_CTRL2寄存器0x0834中写入位14。 但不管写入0x0834的值是多少、读取时仍为0x0000、表示未正确写入位14。 客户应如何对 Bit14执行写入操作? 谢谢。
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.
工具与软件:
Dears、
客户希望在 PMA_CTRL2寄存器0x0834中写入位14。 但不管写入0x0834的值是多少、读取时仍为0x0000、表示未正确写入位14。 客户应如何对 Bit14执行写入操作? 谢谢。
您好、Jon、
客户是否使用了数据表中所述的正确间接/扩展寄存器访问程序?
0x1F 之后的寄存器都已扩展、需要特殊程序才能访问。
PMA 控制寄存器是寄存器空间0x1的一部分、因此要设置0x834=0x4000、请写入:
0xD=0x1 //寄存器空间
0xE=0x834 //寄存器值
0xD=4001 //写入寄存器空间0x1
0xE = 0x4000 //设置为0xC000
此致、
Melissa