N PHY RX Cal PHY Setup (u8 core)
Read PHY Register 0xA2 and save in tx_rx_cal_phy_saveregs[0]
- If core is zero
Read PHY Register 0xA6 and save in tx_rx_cal_phy_saveregs[1]
Read PHY Register 0x8F and save in tx_rx_cal_phy_saveregs[2]
- Otherwise
Read PHY Register 0xA7 and save in tx_rx_cal_phy_saveregs[1]
Read PHY Register 0xA5 and save in tx_rx_cal_phy_saveregs[2]
Read PHY Register 0x91 and save in tx_rx_cal_phy_saveregs[3]
Read PHY Register 0x92 and save in tx_rx_cal_phy_saveregs[4]
Read PHY Register 0x7A and save in tx_rx_cal_phy_saveregs[5]
Read PHY Register 0x7D and save in tx_rx_cal_phy_saveregs[6]
Read PHY Register 0xE7 and save in tx_rx_cal_phy_saveregs[7]
Read PHY Register 0xEC and save in tx_rx_cal_phy_saveregs[8]
Read PHY Register 0x297 and save in tx_rx_cal_phy_saveregs[9]
Read PHY Register 0x29B and save in tx_rx_cal_phy_saveregs[10]
- Clear bit 0x0001 in PHY register 0x297
- Clear bit 0x0001 in PHY register 0x29B
Maskset PHY Register 0xA2 with mask 0x0FFF and set with ((1 - core) << 12)
- Maskset PHY Register 0xA2 with mask 0xFFF0 and set with (1 - core)
Maskset PHY Register 0xA2 with mask 0xFF0F and set with (core << 4)
Maskset PHY Register 0xA2 with mask 0xF0FF and set with (core << 8)
- If core is zero
- Clear bits 0x0007 in PHY Register 0xA6
- Set bits 0x0007 in PHY Register 0x8F
- Otherwise
- Clear bits 0x0007 in PHY Register 0xA7
- Set bits 0x0007 in PHY Register 0xA5
Call N PHY RF Ctrl Intc Override with 2, 0, 3 as arguments
Call N PHY RF Ctrl Override with 8, 0, 3, 0 as arguments
Call N PHY RF Seq with 0 as argument
- If core is zero
- Set rxval to 1
- Set txval to 8
- Otherwise
- Set rxval to 4
- Set txval to 2
Call N PHY RF Ctrl Intc Override with 1, rxval, (core + 1) as arguments
Call N PHY RF Ctrl Intc Override with 1, txval, (2 - core) as arguments