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.

Linux/PROCESSOR-SDK-AM437X: issue in bring up WIfi module with AM437X processor

Part Number: PROCESSOR-SDK-AM437X


Tool/software: Linux

Dear Support team,

               Iam working on sitara AM437X evaluation platforms and customized platforms. On evaluation board, all modules are working fine. But in case of my customized platform, i am facing the issues in bring up the wifi Module. when i did hardware debugging i found that processor is not driving the clock output i.e A12 pin and name is GPMC_CLKMMC2_CLK. This pin is connected to the Wifi Module i.e WL18xxcomb. When i tapped this pin with CRO, iam not able to see the clock.

Do i need to do any configuration to enable this clock? Please help

With Regards

Niranajana

  • Hi Niranajana,

    Could you check the value of the IDLEST bit field of PRCM_CM_PER_MMC2_CLKCTRL register. The value should be 0h.
    Also could you check your WL18xx device tree configuration?

    You can find an example WL18xx device tree configuration at:



    BR
    Tsvetolin Shulev

  • 7450.am437x-gp-evm.txtDear Tsvetolin,

                      Thanks for the quick reply. Please find the attachment of dts file. Iam not able to find the register you mentioned. Can you please let me know which file I need to check this register value. What iam not able to understand is what ever the dts configuration and kernel configuration made is working on the evaluation board but it is failing to bring up the Wlan interface and nl802.11 driver initialization is failing with same configuration.

    Your help is greatly appreciated.

  • 3175.readmem.zipNiranjana,

    I mean to check the value of PRCM_CM_PER_MMC2_CLKCTRL register but it is not written is a file but in the memory (RAM). Therefore you need to read 4 byte starting from the its physical address 0x44DF0248. I suggest you to use readmem tool which is attached. You should to copy it on the board filesystem and execute the following command:

    ./readmem 0x44DF0248


    Then post the value. If the value is 0x00030000 (default value) which means the Module is disabled and cannot be accessed. If the value of IDLEST field is 0 it means the Module is fully functional.

    BR

    Tsvetolin Shulev

  • Dear Tsvetolin,

          I copied the readmem file into the board and verified the memory address as mentioned. The value in the memory address 0X44DF0248 is 0X00000000. So I think it is fully functional. Kindly let me know further steps how to enable the wifi module.

    Do I need to change any dts file configuration for enabling the Wi-Fi module.

    With Regards

    Niranjana

  • Hi sir,

    Thanks for the readmem tool, sir it would really be helpfull if you can share writemem tool if you have one, or else how can i write into the reg after the board is already up, since all dts file intialization are happening at the boot-loader initialization, Is there any other way I can write into the Register of AM437x , I want to write into Idelst register when the board is up. I am not able to get the clock on the board.