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.

[参考译文] TMS320F280039:CLA 访问 16 位奇数地址

Guru**** 2515445 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1562590/tms320f280039-cla-accessing-16-bit-odd-address

器件型号:TMS320F280039


工具/软件:

尊敬的专家:

我的客户正在访问 CLA 中的 16 位奇数地址、他们使用以下两种方法发现可能会产生不同的结果:

uint16_t x = *(uin16_t *)(0x00000B00U+1); // return correct value
uint16_t x = HWREGH(ADCARESULT_BASE+1);   // return value of previous even address

提到访问 32 位地址的 TRM 可能具有上述行为、但这些是 16 位访问、

请您帮助解释一下/

此致、

挂起