• [ 4.5 How to Read Efuse File ------------------------------------------------------------------------------------------------------- Prepare procedures
  • 2. Prepare for efuse MAP directory and file
  • 5. Crystal Calibration: iwpriv wlan0 mp_phypara xcap=26
  • // Wirte BT Fake efuse to HW BT efuse




    Download 99.17 Kb.
    Pdf ko'rish
    bet14/15
    Sana21.12.2022
    Hajmi99.17 Kb.
    #36362
    1   ...   7   8   9   10   11   12   13   14   15
    Bog'liq
    Realtek RF MP Tool Guidelines
    1-dars. Axborot tushunchasi (1), Кирисиу. Трикотаж, 2022 г., 8.951-19 G Shokirjon, NORBOYEV QODIRBEK, kaskad, 3 mavzu, 1768-Текст статьи-3614-1-10-20210720, 1-30 falsafa, tarix, 122134, beginner elementary placement test, Rus provaslav cherkovlari, Rus tilida ko`chirma va o`zlashtirma nutq (1), Chiziqli avtomatik boshqarish sistemalarining turg’unligi
    // Wirte BT Fake efuse to HW BT efuse 
    Map. 
    ============================================================= 
    [Efuse's spec]. 
    If you want a clearer definition of reference, you can refer to the Efuse's spec 
    "AN_RTL8XXX_EEPROM_SPEC_Vxxxxxx.pdf" 
    ============================================================= 


    ------------------------------------------------------------------------------------------------------- 
    [ 4.5 How to Read Efuse File 
    ------------------------------------------------------------------------------------------------------- 
    Prepare procedures: 
     
    1. Edit the “Makefile” : 
    – CONFIG_EFUSE_CONFIG_FILE=y 
    • Please first to edit the Makfile before compile the Driver ,find 
    out the ”CONFIG_EFUSE_CONFIG_FILE=n” and change to 
    y , then compile the driver source. 
    2. Prepare for efuse MAP directory and file: 
    • Prepare the Driver default read “A. Directory ” Efuse map file 
    and “B. Directory” Mac Address file. 
    Reference the FileEfuseExample folder. 
    A. /system/etc/wifi/wifi_efuse.map 
    • Driver read from this file for initial efuse map. 
    B. /data/wifimac.txt 
    • Driver read from this file for initial wlan mac address. 
    • 3. You can use the Efuse CMD for read current contents after 
    the driver initial to read efuse file.
    • #iwpriv wlan0 efuse_get drvmap. 
    ------------------------------------------------------------------------------------------------------- 
    5. Crystal Calibration: iwpriv wlan0 mp_phypara xcap=26 
    MP use CMD to fine tuning the Crystal Cap value, and CMD is " iwpriv wlan0 
    mp_phypara xcap=%d". 
    We can continue to adjust for get target value, then use the Efuse CMD write to HW 
    efuse, "
    iwpriv wlan0 efuse_set wmap,b9,20

    8188EU example 0xB9 offset: 
    The "0xB9" is Crystal Calibration Efuse offset address,you can refer the IC Efuse 
    spec document. 
    B9h Crystal Calibration XTAL_K Value 
    Bit[5:0], Xi=Xo Range 0~3F h. 


    Bit[7:6]: reserved 
    FF h = 00 h 
    Default 20h 
    #insmod wlan.ko 
    #ifconfig wlan0 up 
    #iwpriv wlan0 mp_start 
    #iwpriv wlan0 mp_setrfpath 0 
    #iwpriv wlan0 mp_ant_tx a 
    #iwpriv wlan0 mp_channel 7 
    #iwpriv wlan0 mp_txpower patha=42 
    #iwpriv wlan0 mp_phypara xcap=32 //

    Download 99.17 Kb.
    1   ...   7   8   9   10   11   12   13   14   15




    Download 99.17 Kb.
    Pdf ko'rish

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    // Wirte BT Fake efuse to HW BT efuse

    Download 99.17 Kb.
    Pdf ko'rish