Bit ordering in PBL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bit ordering in PBL

817 Views
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!


					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
Tags (2)
0 Kudos
2 Replies

684 Views
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 Kudos

684 Views
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 Kudos