Initalization routine for a B PHY, Revision 4
Write 0x3F22 to MMIO offset 0x3EC
Write 0x301C to PHYRegister 0x20
Write 0 to PHYRegister 0x26
Write 0xC6 to PHYRegister 0x30
Write 0x3E00 to PHYRegister 0x88
- Loop 30 times starting at offset 0x89 and value 0x3C3D
Write the value to the PHYRegister offset
- Increment the offset and decrement the value by 0x202
Write 0x3000 to MMIO 0x3E4
- Set the channel to the currently selected channel
If RadioID Radio Version is not 2050
Write 0x80 to RadioRegister 0x75
Write 0x81 to RadioRegister 0x79
Write 0x20 to RadioRegister 0x50
Write 0x23 to RadioRegister 0x50
If RadioID Radio Version is 2050
Write 0x20 to RadioRegister 0x50
Write 0x70 to RadioRegister 0x5A
Write 0x7B to RadioRegister 0x5B
Write 0xB0 to RadioRegister 0x5C
Write 0xF to RadioRegister 0x7A
Write 0x677 to PHYRegister 0x38
2050RadioCoreCalibration Note, the return value is not saved here
Write 0x80 to PHYRegister 0x14
Write 0xCA to PHYRegister 0x32
If RadioID Radio Version is 2050
Write 0xE0 to PHYRegister 0x32
Write 0x7C2 to PHYRegister 0x35
Write 0xCC00 to PHYRegister 0x26
If RadioID Radio Version is 2050
Write 0xCE00 to PHYRegister 0x26
Write 0x1100 to MMIO offset 0x3F4
Write 0x88A3 to PHYRegister 0x2A
If RadioID Radio Version is 2050
Write 0x88C2 to PHYRegister 0x2A
SetTXPower with 0xFFFF, 0xFFFF, 0xFFFF
If BoardFlags BFL_RSSI is set
Perform NRSSISlopeCalculation in B Mode
Set NRSSIThreshold