Bit ordering in PBL

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

Bit ordering in PBL

828 次查看
tomhohenstein
Contributor I

In section 26.4.3 of the LS1046A reference manual (Rev. 1) the first byte of the PBL preamble is defined as follows:

Bit 0Bit 1Bit 2Bit 3Bit 4Bit 5Bit 6Bit 7
10101010

Under the assumption that Bit 0 is the least significant bit, I would expect the first preamble byte to be 0x55. But when I dump the contents of the SD card I'm using I see that the first byte of the preamble is 0xAA instead.

So my question is:

Are the column labels of the PBL data structure in the reference manual in the wrong order or am I missing something else here?

Any help would be appreciated!


					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
标记 (2)
0 项奖励
2 回复数

695 次查看
Pavel
NXP Employee
NXP Employee

Your picture shows 0xAA. See attached snapshots.

Bit0 = 1

Bit1 = 0

Bit2 = 1

Bit3 = 0

Bit4 = 1

Bit5 = 0

Bit6 = 1

Bit7 = 0

 

It is 0xAA.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

695 次查看
tomhohenstein
Contributor I

Thank you for your answer, but I have to disagree with you.

The screenshots you posted does not represent the information from the table. The bit sequence you showed me in your screenshots starts with a zero in Bit 0.

I attached an edit of your screenshot to clarify what I mean. 

But according to the reference manual Bit 0 should be 1.

0 项奖励