bcm-v4

[Specification

N PHY RX Cal PHY Setup (u8 core)

  1. Read PHY Register 0xA2 and save in tx_rx_cal_phy_saveregs[0]

  2. If core is zero
    1. Read PHY Register 0xA6 and save in tx_rx_cal_phy_saveregs[1]

    2. Read PHY Register 0x8F and save in tx_rx_cal_phy_saveregs[2]

  3. Otherwise
    1. Read PHY Register 0xA7 and save in tx_rx_cal_phy_saveregs[1]

    2. Read PHY Register 0xA5 and save in tx_rx_cal_phy_saveregs[2]

  4. Read PHY Register 0x91 and save in tx_rx_cal_phy_saveregs[3]

  5. Read PHY Register 0x92 and save in tx_rx_cal_phy_saveregs[4]

  6. Read PHY Register 0x7A and save in tx_rx_cal_phy_saveregs[5]

  7. Read PHY Register 0x7D and save in tx_rx_cal_phy_saveregs[6]

  8. Read PHY Register 0xE7 and save in tx_rx_cal_phy_saveregs[7]

  9. Read PHY Register 0xEC and save in tx_rx_cal_phy_saveregs[8]

  10. Read PHY Register 0x297 and save in tx_rx_cal_phy_saveregs[9]

  11. Read PHY Register 0x29B and save in tx_rx_cal_phy_saveregs[10]

  12. Clear bit 0x0001 in PHY register 0x297
  13. Clear bit 0x0001 in PHY register 0x29B
  14. Maskset PHY Register 0xA2 with mask 0x0FFF and set with ((1 - core) << 12)

  15. Maskset PHY Register 0xA2 with mask 0xFFF0 and set with (1 - core)
  16. Maskset PHY Register 0xA2 with mask 0xFF0F and set with (core << 4)

  17. Maskset PHY Register 0xA2 with mask 0xF0FF and set with (core << 8)

  18. If core is zero
    1. Clear bits 0x0007 in PHY Register 0xA6
    2. Set bits 0x0007 in PHY Register 0x8F
  19. Otherwise
    1. Clear bits 0x0007 in PHY Register 0xA7
    2. Set bits 0x0007 in PHY Register 0xA5
  20. Call N PHY RF Ctrl Intc Override with 2, 0, 3 as arguments

  21. Call N PHY RF Ctrl Override with 8, 0, 3, 0 as arguments

  22. Call N PHY RF Seq with 0 as argument

  23. If core is zero
    1. Set rxval to 1
    2. Set txval to 8
  24. Otherwise
    1. Set rxval to 4
    2. Set txval to 2
  25. Call N PHY RF Ctrl Intc Override with 1, rxval, (core + 1) as arguments

  26. Call N PHY RF Ctrl Intc Override with 1, txval, (2 - core) as arguments


Exported/Archived from the wiki to HTML on 2016-10-27