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.

Com7 j20 wifi calibration process failed

Other Parts Discussed in Thread: WL1271

Hi,

I using the below wifi card to connect to Dm814x board -

http://www.murata-ws.com/com7.htm

I am trying to do the calibration process as mentioned in http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_Calibration_Proccess_NLCP using the ini file TQS_S_2.6.ini in the sdk under both 127x and 128x in the path /usr/share/ti/wifi-utils/ini_files/ of rfs.

But this procedure is failing with the below error -

root@dm814x-evm:~# calibrator plt calibrate

wl1271: power up

wl1271: ERROR firmware boot in PLT mode failed despite 3 retries

Fail to set PLT power mode on

 

Usage:  calibrator [options] plt calibrate [<single|dual>]

 

Do calibrate for single or dual band chip

 

 

Options:

        --debug         enable netlink debugging

root@dm814x-evm:~# calibrator --debug plt calibrate

wl1271: power up

wl1271: ERROR firmware boot in PLT mode failed despite 3 retries

-- Debug: Received Message:

--------------------------   BEGIN NETLINK MESSAGE ---------------------------

  [HEADER] 16 octets

    .nlmsg_len = 68

    .nlmsg_type = 2 <ERROR>

    .nlmsg_flags = 0 <>

    .nlmsg_seq = 1335751585

    .nlmsg_pid = 1855

  [ERRORMSG] 20 octets

    .error = -22 "Invalid argument"

  [ORIGINAL MESSAGE] 16 octets

    .nlmsg_len = 16

    .nlmsg_type = 17 <0x11>

    .nlmsg_flags = 5 <REQUEST,ACK>

    .nlmsg_seq = 1335751585

    .nlmsg_pid = 1855

---------------------------  END NETLINK MESSAGE   ---------------------------

Fail to set PLT power mode on

 

Usage:  calibrator [options] plt calibrate [<single|dual>]

 

Do calibrate for single or dual band chip

 

 

Options:

        --debug         enable netlink debugging

root@dm814x-evm:~#

I cross checked from Mistral that the clock frequency for the WLAN connector (COM7) pin out, WL_MMC0_CLK is 24Mhz..

Kindly let me know the right ini file to be used for the board and any other pointers would be helpful.

Regards,

Rohini

  • The calibration worked by changing the value of the .board_ref_clock in the wl12xx_platform_data wlan_data __initdata structure.

    The value was changed to  .board_ref_clock = WL12XX_REFCLOCK_26

    So I guess we need to try with different clocks to suit the suitable chip.

    Thanks and Regards,

    Rohini