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.

BP-CC3301: How to generate cc33xx-nvs.bin?

Part Number: BP-CC3301
Other Parts Discussed in Thread: CC3301

Dear TI Sirs:

  We use CC33XX-LINUX-AM335  Version: 0.4.2.0 Release date: 18 Sep 2023  on BBB with BP-CC3301.

  Either to use the calibration feature inside the calibrator or to change the customer required MAC address. We need to generate the nvs file for cc3301. The way I knew before is to use the calibrator program to generate.

However when I use it in BBB by using the default ini "cc33xx-conf.ini" in /usr/sbin/cc33conf , I got below error message "Uknown ini section PowerSaveScheme             = 00":

Would you please tell me how to generate the cc33xx-nvs.bin for TI cc3301?

Regards,

/ckhsu

  • Dear Sirs:

      By tracing the driver, I see

    And

    This implies the nvs file MUST be 6 bytes exact for the MAC address. And I set the 6 bytes cc33xx_nvs.bin

    And the dmesg shows:

    And the result shows correct MAC I set in the nvs file:

    However, this lead to another question, inside the cc33xx calibrator, as in the old we can do the autocalibration in TI old 127x etc. and how we can do it for now in CC33xx?

    Because as long as I issue the command, it always return wrong command.

    And even autocalibrate will not work as it wil stop in the same error as in creating nvs file in my above post.

    calibrator plt autocalibrate wlan0 /lib/modules/5.10.100-g7a7a3af903/kernel/drivers/net/wireless/ti/cc33xx/cc33xx.ko /usr/sbin/cc33conf/cc33xx-conf.ini /home/root/cc33xx-nvs.bin

    Can you tell me that, is the calibration and autocalibration commands are still working in CC33xx?

    Regards,

    /ckhsu

  • Hi ckhsu,

    The CC33XX does calibration and autocalibration commands which are accessible today in the SimpleLink WiFi Toolbox GUI: https://www.ti.com/tool/SIMPLELINK-WIFI-TOOLBOX 

    I will get back to you tomorrow regarding if the same commands are available in the calibrator tool. 

  • Hi Sabeeh:

      Thank you for the response.

      I know the calibration can be done inside the Simplelink toolbox, but when attaching to the MPU, unlike the WL18xx, using calibrator without calibration and its related commands , the pre-test of the certification for CC33XX failed but it does not happen with toolbox because it has a calibration button. That's the reason we want to know the command. It's related to our production.

      I will wait for the response.

    Regards,

    /ckhsu

  • Hi ckhsu,

    There should be a command "set_manual_calib". You can access it with the following: 

    root@am335x-evm:~# calibrator dev wlan0 cc33xx_plt set_manual_calib
    Invalid parameters combination
    failed to handle
    
    Usage:  calibrator [options] dev <devname> cc33xx_plt set_manual_calib -rx -tx 
    
    Set Manual Calibration for Rx/Tx
    example: set_manual_calib -rx 1 -tx 1
    calibrate rx: range: 0-1 (False/True)
    calibrate tx:  range 0-1 (False/True)
    
    

    So a full RX and TX calibration command would look like:

    root@am335x-evm:~# calibrator dev wlan0 cc33xx_plt set_manual_calib -rx 1 -tx 1
    

    We are currently in the process to update the calibrator tool document, and this command will be added there. 

  • Hi Sabeeh:

      Thank you very much. I will test it on the board.

    Regards,

    /ckhsu