- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ZhengbaoZ_96,
We are working on integrating CYW43438 based module with a AM335x based board.
When we attached the module over SDIO, it is not detected at all.
Could it be due to the processor stopping the clock after CMD0?
Is there any workaround?
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the information. From the dmesg logs, I do not see the chip getting enumerated. From your oscilloscope, do you see WL_REG_ON high and stable during the bring-up? Which version of FMAC is being used here? Did you use the following commands to bring up the driver?
insmod compat.ko
insmod cfg80211.ko
insmod brcmutil.ko
insmod brcmfmac.ko
Secondly, the WLAN firmware is dated back to 2017 and i do not see clm_blob file in the directory. Our recommendation is to use the latest firmware which contains security fixes to known Wi-Fi vulnerabilities. Since the latest firmware requires clm_blob support, the FMAC driver would also need to be upgraded to the latest version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which driver is being used? Which commands have you used for WLAN bringup? Can you share the dmesg logs? Regarding your question on CMD0, do you observe from oscilloscope that the SDIO clock stops during WLAN bringup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the information. From the dmesg logs, I do not see the chip getting enumerated. From your oscilloscope, do you see WL_REG_ON high and stable during the bring-up? Which version of FMAC is being used here? Did you use the following commands to bring up the driver?
insmod compat.ko
insmod cfg80211.ko
insmod brcmutil.ko
insmod brcmfmac.ko
Secondly, the WLAN firmware is dated back to 2017 and i do not see clm_blob file in the directory. Our recommendation is to use the latest firmware which contains security fixes to known Wi-Fi vulnerabilities. Since the latest firmware requires clm_blob support, the FMAC driver would also need to be upgraded to the latest version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the device tree alright?
How to get the FMAC driver? Shall I use this one Cypress Linux WiFi Driver Release (FMAC) [2020-04-02] ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The latest FMAC driver is available here Cypress Linux WiFi Driver Release (FMAC) [2020-06-25]
The device tree is under evaluation. I will share the feedback early next week.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Gaurav, looking forward to it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have some questions based on the device tree as well as some general questions on the hardware:
1. The clock frequency has been specified 38400000. Shouldn't it be 37.4MHz?
2. What is the pull-up resistor value on the SDIO lines? As per the datasheet, it should lie in the range of 10k to 100k ohms on the 4 data lines and CMD line. What is the difference between MUX_MODE1 and MUX_MODE2?
3. For WL_REG_ON, a minimum 10ms delay should be provided between consecutive toggles as per the datasheet. Is the startup-delay-us taking care of this?
4. Why is compatible specified as "brcm,bcm4329-fmac"?
5. Do you have a common power supply for both host and radio?
6. Was the hardware schematic and layout reviewed by the module vendor? Did you obtain nvram from module vendor?