This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1835MOD: Calibrator tool apparently unable to modify the TX power level

Part Number: WL1835MOD
Other Parts Discussed in Thread: WL1271

Hello,

This question is actually related to WL1271, but this part number could not be entered when entering this question.

My customer has calibrated his device following the TI procedure http://processors.wiki.ti.com/index.php/WL12xx_NLCP_Calibration_Process. This seemed to work well.

Then they tried to test the TX power following http://processors.wiki.ti.com/index.php/WL127x_TX_Testing. The traces show the related command was acknowledged, but no amplitude change was observed on the scope. Could you please suggest what could be wrong?

Attachments: wl127x-nvs.bin and trace


Best regards,
François.

  • Using the procedure in http://processors.wiki.ti.com/index.php/WL127x_TX_Testing
    
    Cmd: calibrator wlan0 plt tune_channel 0 1
    Traces calibrator:
        cmd: tune_channel <band> <channel>
        handle success
        autocomplete success
    
    Traces driver wl271: 
    [ 1354.011413] wl1271: data: 00000000: 08 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1354.011413] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1354.011444] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 5f fb 82 02 00 00 00 00  .>......_.......
    [ 1354.011444] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1354.011474] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1354.011474] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1354.011596] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 bd 80 4f 39 0d 8b 2e 8f  .. .......O9....
    [ 1354.011627] wl1271: data: 00000010: d7 39 3e 27 36 59 42 fb e3 e5 2a 8d 48 69 9b b4  .9>'6YB...*.Hi..
    [ 1354.011627] wl1271: data: 00000020: 9a 97 05 d2 01 48 f1 4a 05 ae 58 0e 13 cc 06 f0  .....H.J..X.....
    [ 1354.011657] wl1271: data: 00000030: e0 19 f8 e1 62 32 2a 44 4e b9 4a ac c0 22 59 02  ....b2*DN.J.."Y.
    [ 1354.011657] wl1271: data: 00000000: 02 00 00 00                                      ....
    [ 1367.455017] wl1271: data: 00000000: 17 00 00 00 0d 2b dd 7e 00 01 01 00              .....+.~....
    [ 1367.455169] wl1271: data: 00000000: 01 00 00 00                                      ....
    [ 1367.455261] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1367.455322] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1367.455413] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1367.455444] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1367.455535] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1367.455596] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1367.455657] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1367.455718] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1367.455780] wl1271: data: 00000000: 10 00 00 00                                      ....
    [ 1367.455810] wl1271: data: 00000000: 17 00 01 00                                      ....
    [ 1367.455841] wl1271: data: 00000000: 10 00 00 00                                      ....
    [ 1367.522430] wl1271: data: 00000000: 04 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1367.522460] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1367.522491] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 db 24 51 03 00 00 00 00  .>.......$Q.....
    [ 1367.522491] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1367.522521] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1367.522521] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1367.522644] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 fb a6 47 9c 66 91 6a ce  .. .......G.f.j.
    [ 1367.522644] wl1271: data: 00000010: 65 6d ab 54 3a 4e da e8 65 90 19 62 10 1d 40 e5  em.T:N..e..b..@.
    [ 1367.522674] wl1271: data: 00000020: 0b dc 90 e1 80 35 00 33 87 30 be a8 ac 9e 26 19  .....5.3.0....&.
    [ 1367.522674] wl1271: data: 00000030: d5 12 94 28 90 1e d6 02 e3 7c 06 84 e4 10 e2 eb  ...(.....|......
    [ 1367.522705] wl1271: data: 00000000: 02 00 00 00 
                                        ....
    ===> The outcome is correct as the signal could be observed on the scope.
    
    Cmd: calibrator wlan0 plt tx_tone 2 10000
    Traces calibrator:
        cmd: tx_tone <tone type 1|2> <power 0 - 10000>
        handle success
        autocomplete success
    
    Traces driver wl271:
    [ 1383.073364] wl1271: data: 00000000: 08 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1383.073394] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1383.073394] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 82 6e 3e 04 00 00 00 00  .>.......n>.....
    [ 1383.073425] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1383.073425] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1383.073455] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1383.073516] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 bd 80 4f 39 0d 8b 2e 8f  .. .......O9....
    [ 1383.073516] wl1271: data: 00000010: d7 39 3e 27 36 59 42 fb e3 e5 2a 8d 48 69 9b b4  .9>'6YB...*.Hi..
    [ 1383.073547] wl1271: data: 00000020: 9a 97 05 d2 01 48 f1 4a 05 ae 58 0e 13 cc 06 f0  .....H.J..X.....
    [ 1383.073547] wl1271: data: 00000030: e0 19 f8 e1 62 32 2a 44 4e b9 4a ac c0 22 59 02  ....b2*DN.J.."Y.
    [ 1383.073577] wl1271: data: 00000000: 02 00 00 00                                      ....
    [ 1394.269805] wl1271: data: 00000000: 04 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1394.269836] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1394.269866] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 a9 46 e9 04 00 00 00 00  .>.......F......
    [ 1394.269866] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1394.269897] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1394.269897] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1394.270019] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 fb a6 47 9c 66 91 6a ce  .. .......G.f.j.
    [ 1394.270050] wl1271: data: 00000010: 65 6d ab 54 3a 4e da e8 65 90 19 62 10 1d 40 e5  em.T:N..e..b..@.
    [ 1394.270050] wl1271: data: 00000020: 0b dc 90 e1 80 35 00 33 87 30 be a8 ac 9e 26 19  .....5.3.0....&.
    [ 1394.270080] wl1271: data: 00000030: d5 12 94 28 90 1e d6 02 e3 7c 06 84 e4 10 e2 eb  ...(.....|......
    [ 1394.270080] wl1271: data: 00000000: 02 00 00 00                                      ....
    [ 1402.163818] wl1271: data: 00000000: 08 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1402.163848] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1402.163848] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 cb ba 61 05 00 00 00 00  .>........a.....
    [ 1402.163879] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1402.163879] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1402.163909] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1402.163970] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 bd 80 4f 39 0d 8b 2e 8f  .. .......O9....
    [ 1402.163970] wl1271: data: 00000010: d7 39 3e 27 36 59 42 fb e3 e5 2a 8d 48 69 9b b4  .9>'6YB...*.Hi..
    [ 1402.164001] wl1271: data: 00000020: 9a 97 05 d2 01 48 f1 4a 05 ae 58 0e 13 cc 06 f0  .....H.J..X.....
    [ 1402.164001] wl1271: data: 00000030: e0 19 f8 e1 62 32 2a 44 4e b9 4a ac c0 22 59 02  ....b2*DN.J.."Y.
    [ 1402.164031] wl1271: data: 00000000: 02 00 00 00                                      ....
    [ 1410.023529] wl1271: data: 00000000: 04 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1410.023559] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1410.023559] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 8c a8 d9 05 00 00 00 00  .>..............
    [ 1410.023590] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1410.023590] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1410.023620] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1410.023742] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 fb a6 47 9c 66 91 6a ce  .. .......G.f.j.
    [ 1410.023742] wl1271: data: 00000010: 65 6d ab 54 3a 4e da e8 65 90 19 62 10 1d 40 e5  em.T:N..e..b..@.
    [ 1410.023773] wl1271: data: 00000020: 0b dc 90 e1 80 35 00 33 87 30 be a8 ac 9e 26 19  .....5.3.0....&.
    [ 1410.023773] wl1271: data: 00000030: d5 12 94 28 90 1e d6 02 e3 7c 06 84 e4 10 e2 eb  ...(.....|......
    [ 1410.023803] wl1271: data: 00000000: 02 00 00 00                                      ....
    [ 1417.622039] wl1271: data: 00000000: 08 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1417.622070] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1417.622070] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 4d 9a 4d 06 00 00 00 00  .>......M.M.....
    [ 1417.622100] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1417.622100] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1417.622131] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1417.622192] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 bd 80 4f 39 0d 8b 2e 8f  .. .......O9....
    [ 1417.622192] wl1271: data: 00000010: d7 39 3e 27 36 59 42 fb e3 e5 2a 8d 48 69 9b b4  .9>'6YB...*.Hi..
    [ 1417.622222] wl1271: data: 00000020: 9a 97 05 d2 01 48 f1 4a 05 ae 58 0e 13 cc 06 f0  .....H.J..X.....
    [ 1417.622222] wl1271: data: 00000030: e0 19 f8 e1 62 32 2a 44 4e b9 4a ac c0 22 59 02  ....b2*DN.J.."Y.
    [ 1417.622253] wl1271: data: 00000000: 02 00 00 00                                      ....
    [ 1426.420532] wl1271: data: 00000000: 04 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1426.420562] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1426.420562] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 3a db d3 06 00 00 00 00  .>......:.......
    [ 1426.420593] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1426.420593] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1426.420623] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1426.420684] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 fb a6 47 9c 66 91 6a ce  .. .......G.f.j.
    [ 1426.420715] wl1271: data: 00000010: 65 6d ab 54 3a 4e da e8 65 90 19 62 10 1d 40 e5  em.T:N..e..b..@.
    [ 1426.420715] wl1271: data: 00000020: 0b dc 90 e1 80 35 00 33 87 30 be a8 ac 9e 26 19  .....5.3.0....&.
    [ 1426.420745] wl1271: data: 00000030: d5 12 94 28 90 1e d6 02 e3 7c 06 84 e4 10 e2 eb  ...(.....|......
    [ 1426.420745] wl1271: data: 00000000: 02 00 00 00                                      ....
    [ 1434.940826] wl1271: data: 00000000: 08 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1434.940856] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1434.940856] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 87 dd 55 07 00 00 00 00  .>........U.....
    [ 1434.940887] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1434.940887] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1434.940917] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1434.941040] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 bd 80 4f 39 0d 8b 2e 8f  .. .......O9....
    [ 1434.941040] wl1271: data: 00000010: d7 39 3e 27 36 59 42 fb e3 e5 2a 8d 48 69 9b b4  .9>'6YB...*.Hi..
    [ 1434.941070] wl1271: data: 00000020: 9a 97 05 d2 01 48 f1 4a 05 ae 58 0e 13 cc 06 f0  .....H.J..X.....
    [ 1434.941070] wl1271: data: 00000030: e0 19 f8 e1 62 32 2a 44 4e b9 4a ac c0 22 59 02  ....b2*DN.J.."Y.
    [ 1434.941101] wl1271: data: 00000000: 02 00 00 00                                      ....
    [ 1443.808532] wl1271: data: 00000000: 04 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1443.808563] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1443.808563] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 1f 2d dd 07 00 00 00 00  .>.......-......
    [ 1443.808593] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1443.808593] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1443.808624] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1443.808715] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 fb a6 47 9c 66 91 6a ce  .. .......G.f.j.
    [ 1443.808715] wl1271: data: 00000010: 65 6d ab 54 3a 4e da e8 65 90 19 62 10 1d 40 e5  em.T:N..e..b..@.
    [ 1443.808746] wl1271: data: 00000020: 0b dc 90 e1 80 35 00 33 87 30 be a8 ac 9e 26 19  .....5.3.0....&.
    [ 1443.808746] wl1271: data: 00000030: d5 12 94 28 90 1e d6 02 e3 7c 06 84 e4 10 e2 eb  ...(.....|......
    [ 1443.808776] wl1271: data: 00000000: 02 00 00 00                                      ....
    [ 1452.950958] wl1271: data: 00000000: 08 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1452.950988] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1452.950988] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 1e ae 68 08 00 00 00 00  .>........h.....
    [ 1452.951019] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1452.951019] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1452.951019] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1452.951110] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 bd 80 4f 39 0d 8b 2e 8f  .. .......O9....
    [ 1452.951110] wl1271: data: 00000010: d7 39 3e 27 36 59 42 fb e3 e5 2a 8d 48 69 9b b4  .9>'6YB...*.Hi..
    [ 1452.951141] wl1271: data: 00000020: 9a 97 05 d2 01 48 f1 4a 05 ae 58 0e 13 cc 06 f0  .....H.J..X.....
    [ 1452.951141] wl1271: data: 00000030: e0 19 f8 e1 62 32 2a 44 4e b9 4a ac c0 22 59 02  ....b2*DN.J.."Y.
    [ 1452.951171] wl1271: data: 00000000: 02 00 00 00                                      ....
    [ 1461.839447] wl1271: data: 00000000: 04 00 00 00 07 00 00 00 00 19 00 01 01 17 00 01  ................
    [ 1461.839477] wl1271: data: 00000010: 02 19 00 01 03 27 00 01 04 27 00 01 05 3e 00 01  .....'...'...>..
    [ 1461.839508] wl1271: data: 00000020: 06 3e 00 01 00 00 00 00 73 4e f0 08 00 00 00 00  .>......sN......
    [ 1461.839508] wl1271: data: 00000030: 00 00 00 00 00 00 00 00 63 00 00 00 00 00 00 00  ........c.......
    [ 1461.839538] wl1271: data: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    [ 1461.839538] wl1271: data: 00000050: 02 26 00 00                                      .&..
    [ 1461.839660] wl1271: data: 00000000: 00 00 20 00 fe 1b 89 03 fb a6 47 9c 66 91 6a ce  .. .......G.f.j.
    [ 1461.839660] wl1271: data: 00000010: 65 6d ab 54 3a 4e da e8 65 90 19 62 10 1d 40 e5  em.T:N..e..b..@.
    [ 1461.839691] wl1271: data: 00000020: 0b dc 90 e1 80 35 00 33 87 30 be a8 ac 9e 26 19  .....5.3.0....&.
    [ 1461.839691] wl1271: data: 00000030: d5 12 94 28 90 1e d6 02 e3 7c 06 84 e4 10 e2 eb  ...(.....|......
    [ 1461.839721] wl1271: data: 00000000: 02 00 00 00                                      ....
    [ 1467.479248] wl1271: data: 00000000: 17 00 00 00 08 00 00 00 02 00 00 00 10 27 00 00  .............'..
    [ 1467.479431] wl1271: data: 00000000: 01 00 00 00                                      ....
    [ 1467.479553] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1467.479614] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1467.479675] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1467.479736] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1467.479797] wl1271: data: 00000000: 00 00 00 00                                      ....
    [ 1467.479858] wl1271: data: 00000000: 10 00 00 00                                      ....
    [ 1467.479919] wl1271: data: 00000000: 17 00 01 00                                      ....
    [ 1467.479919] wl1271: data: 00000000: 10 00 00 00                                      ....
    
    ===> The outcome is incorrect as the signal amplitude does not change on the scope.
    
    
    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/968/wl127x_2D00_nvs.7z

  • Hi Francois,

    I hope all is well. When using the calibrator commands and the .INI file there are certain limits that may not allow you to increase/decrease the output power.

    As an example if you try to set the output power to 20dBm via the calibrator command, for CH1 at 2.4GHz, you will not be able to do this as the .INI file may be limited to say 15dB for regulatory reasons. Thus setting anywhere between 15 to 20dBm will result in the same power level. IF you start to set the output power to below the .INI limit, then only will you see a change in output powr.

    You can refer to the complete set of calibrator commands here: processors.wiki.ti.com/.../WL18xx_TX_Testing

    In particular you want to look at the Set TX Power command. Within this command there are 2 parameters that you can edit to override the output power if needed:
    1) channel_limitation: This will override the .INI file limit (set to 0 to disable INI file limit)
    2) gain_calculation_mode : This will override the backoff from the PA to allow maxim output power (set to 2 to overide BO limit).

    Both are used to allow maximum output power.

    I hope this helps.

    Thanks,
    Riz