LS1046A SerDes configuration

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

LS1046A SerDes configuration

Jump to solution
1,739 Views
zhaozhang
Contributor I

1. From the LS1046ARM Table 31-1, the SerDes 1 C(SD1_RX1/TX1) and D(SD1_RX0/TX0) should support XFI.But, in the PCCRB register fields, it shows Lane 2 and Lane 3 to XGMII, I am confused about what the Lane 2 and Lane 3 should refer to, the D1_RX0/TX0 and D1_RX1/TX1 or SD1_RX2/TX2 and SD1_RX3/TX3? otherwise,it is a misprint?

pastedImage_1.png

2. How can I access the PCCRB? when I used devmem 0x1EA022C on LS1046ARDB, it returned the value 0x00000021 which mismatched the fields description even if did endian swap.

0 Kudos
Reply
1 Solution
1,574 Views
r8070z
NXP Employee
NXP Employee


Have a great day,

With RCW [SRDS_PRTCL_S1] = 0x1040,
On U-Boot prompt:
=> md 0x1EA022C
01ea022c: 00000001
This implies PCCRB[XFIA_CFG]=3'b000 and PCCRB[XFIB_CFG]=3'b001

With RCW [SRDS_PRTCL_S1] = 0x1133,
On U-Boot prompt:
=> md 0x1EA022C
01ea022c: 00000021
This implies PCCRB[XFIA_CFG]=3'b010 and PCCRB[XFIB_CFG]=3'b001

Therefore, XFIB_CFG corresponds to Lane D ( SD1_RX0_P/N SD1_TX0_P/N ) and XFIA_CFG corresponds to Lane C ( SD1_RX1_P/N SD1_TX1_P/N ).

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

View solution in original post

0 Kudos
Reply
1 Reply
1,575 Views
r8070z
NXP Employee
NXP Employee


Have a great day,

With RCW [SRDS_PRTCL_S1] = 0x1040,
On U-Boot prompt:
=> md 0x1EA022C
01ea022c: 00000001
This implies PCCRB[XFIA_CFG]=3'b000 and PCCRB[XFIB_CFG]=3'b001

With RCW [SRDS_PRTCL_S1] = 0x1133,
On U-Boot prompt:
=> md 0x1EA022C
01ea022c: 00000021
This implies PCCRB[XFIA_CFG]=3'b010 and PCCRB[XFIB_CFG]=3'b001

Therefore, XFIB_CFG corresponds to Lane D ( SD1_RX0_P/N SD1_TX0_P/N ) and XFIA_CFG corresponds to Lane C ( SD1_RX1_P/N SD1_TX1_P/N ).

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

0 Kudos
Reply