LP PHY RC Calibration Rev 2
Read and save low byte of Radio Register 0x3A
Write 0x0 to Radio Register 0x3A
Write 0x7E Radio Register 0x5A
Bitwise AND Radio Register 0x1A with 0xF7
Write 0x7C to Radio Register 0x5A
Write 0x15 to Radio Register 0x5B
Write 0x70 to Radio Register 0x5C
Write 0x52 to Radio Register 0x5D
Write 0x1 to Radio Register 0x5E
Write 0x7D to Radio Register 0x5A
Poll with 10 usec intervals until (Radio Register 0x5F & 0x2) becomes true (maximum poll time of 10 sec)
If (Radio Register 0x5F & 0x2) is still false
Restore saved value of Radio Register 0x3A
Read and save low byte of Radio Register 0x55
Write 0x0 Radio Register 0x55
Write 0x7E Radio Register 0x5A
Write 0x7C Radio Register 0x5A
Write 0x55 Radio Register 0x5B
Write 0x76 Radio Register 0x5C
- If the crystal frequency is 24000000
Write 0xFC Radio Register 0x5D
Write 0x0 Radio Register 0x5E
- Otherwise
Write 0x13 Radio Register 0x5D
Write 0x1 Radio Register 0x5E
Write 0x7D Radio Register 0x52
Poll with 10 usec intervals until (Radio Register 0x5F & 0x2) becomes true (maximum poll time of 10 sec)
If (Radio Register 0x5F & 0x2) is still false
Restore saved value of Radio Register 0x55
Write 0x7E Radio Register 0x5A