imx7 FlexTimer - Big Endian?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx7 FlexTimer - Big Endian?

1,691 次查看
tan_k
Contributor II

@Bio_TICFSL . I am using the BSP provided by Toradex for WINCE 7. Also wanted to highlight that the registers for FTM in the refernce manual are in big endian, while the registers for the other hardware are in little endian. Please have a look, I think FTM registers should be in little endian format as well.

2 回复数

1,597 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  Usually in Big Endian notation, for 32-bit word,  bit 0 is the Most Significant Bit (MSB),

and bit 31 is the Least Significant Bit (LSB).  

  In Little Endian notation, for 32-bit word, bit 0 is the LSB, and bit 31 is the MSB.

Regards,

Yuri.

0 项奖励
回复

1,597 次查看
alexeystarikovs
Contributor I

I've just had a conversation with Technical Support about that. Proper bit configuration in registers is described in Vybrid VF610 reference. In IMX7 docs bits are reversed not only for FlexTimer but for Ethernet modules too.