bcm-v4

[Specification

Enable

  1. Disable CRS 0

  2. OR OFDM Register 0x1B with 0x1000

  3. MaskSet OFDM Register 0x82 with 0xF0FF and set with 0x300

  4. OR Radio Register 0x9 with 0x80

  5. MaskSet Radio Register 0x12 with mask 0xFFFC and set with 0x2

  6. Set the Initial Gain Values

  7. Write 0x3ED5 to OFDM Register 0xBA

  8. Backup OFDM Register 0x3

  9. MaskSet OFDM Register 0x3 with mask 0xFFF8 and set with 0x5

  10. OR Radio Register 0x4 with 0x4

  11. Loop from 0x10 to 0x20 (these are I values)
    1. Write the loop value to Radio Register 0x13

    2. Take a sample by reading the value of OFDM Register 0x74

    3. AND the sample value with 0xFF
    4. If the sample value is 0
      1. This loop position is the best CM value, break the loop
    5. If the sample value is >= 0x80

      1. Use 0x100 - the sample value as the sample value
    6. If this sample value is lower than all of the previous (unsigned) values
      1. Use this loop position as the current best CM value
  12. Restore OFDM Register 0x3

  13. AND Radio Register 0x4 with 0xFFFB

  14. Write the best CM value to Radio Register 0x13

  15. Write 0xFFEC to OFDM Table 0x13, offset 0

  16. Write 0x1E80 to OFDM Register 0xB7

  17. Write 0x1C00 to OFDM Register 0xB6

  18. Write 0xEC0 to OFDM Register 0xB5

  19. Write 0xC0 to OFDM Register 0xB2

  20. Write 0x1FFF to OFDM Register 0xB9

  21. MaskSet OFDM Register 0xBB with mask 0xF000 and set with 0x53

  22. MaskSet OFDM Register 0x61 with mask 0xFE1F and set with 0x120

  23. MaskSet OFDM Register 0x13 with mask 0x0FFF and set with 0x3000

  24. MaskSet OFDM Register 0x14 with mask 0x0FFF and set with 0x3000

  25. Write 0x17 to OFDM Table 0x00, offset 6

  26. Loop 6 times
    1. Write 0xF to OFDM Table 0x00, offset given by the loop position

  27. Write 0xE to OFDM Table 0x00, offset 0xD

  28. Write 0x11 to OFDM Table 0x00, offset 0xE

  29. Write 0x13 to OFDM Table 0x00, offset 0xF

  30. Write 0x5030 to OFDM Register 0x33

  31. Enable CRS 0

Disable (Unused)

  1. Disable CRS 0

  2. AND OFDM Register 0x1B with 0xEFFF

  3. MaskSet OFDM Register 0x82 with mask 0xF0FF and set with 0x100

  4. MaskSet Radio Register 0x9 with mask 0xFF3F and set with 0x40

  5. Enable CRS 0


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