在TMS570LS3137的计数参考手册的1.3章节中描述到“”“The TMS570 family is based on the ARM® Cortex®-R4F core. ARM has designed this core to be used in
big-endian and little-endian systems. For the TI TMS570 family, the endianness has been configured to BE32..”,即字不变的大端格式;但是在cortex-r4的技术参考手册的3.3.1章节中描述到
The processor can treat words of data in memory as being stored in either:
• Byte-invariant big-endian format
• Little-endian format.
即cortex-r4如果运行在大端模式下,支持BE8格式的大端格式。
那么我的理解是:在TMS570LS3137中CPU是运行在大端模式下,即BE8! 对于地址空间例如寄存器的访问是以BE32的格式访问!
以1.3章节中的示例举例,进行字节访问0x0xFFF7F448,应该读写访问的是C2TDELAY[7:0]域。
请问以上我的理解和举例是否正确
user6263934:
回复 Susan Yang:
TMS570LS3137使用的ARM cortex-r4支持big-endian位BE8格式,TMS570LS3137芯片位BE32,
该如何理解这两种大端如何一起工作?可否以TRM中1.3小节中的寄存器举例说明?