cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Anonymous
Not applicable

We have interfaced BCM43362 controller with SDIO based kit.

In the function wwd_bus_init(), firmware downloading (VERIFY_RESULT( wwd_bus_sdio_download_firmware( ) )) finishes successfully,

but in the following loop (which checks through command 52 that whether SDIO_FUNC_READY_2 is set. But we are getting only SDIO_FUNC_READY_1). Can you please help us in knowing how to change from Function_1 to Function-2.

while ( ( ( result = wwd_bus_sdio_read_register_value( BUS_FUNCTION, SDIOD_CCCR_IORDY, (uint8_t) 1, &byte_data ) ) == WWD_SUCCESS ) &&

        ( ( byte_data & SDIO_FUNC_READY_2 ) == 0 ) &&

        ( loop_count < (uint32_t) F2_READY_TIMEOUT_MS ) )

{

    (void) host_rtos_delay_milliseconds( (uint32_t) 1 ); /* Ignore return - nothing can be done if it fails */

    loop_count++;

}

timeout occurs, that is in all the attempts of SDIO read, the byte_data variable has the value 0x00,

which means that SDIO_FUNC_READY_2 is not set (1000 attempts with a delay of 1ms between each attempt). If you have any documents related to SDIO based porting, please share with us.

0 Likes
6 Replies
Anonymous
Not applicable

What MCU are you porting this to?


Have you made sure your HW is hooked up correctly?

0 Likes
Anonymous
Not applicable

Hi,

      1) We are porting on MIPS architecture (on Nucleus OS).

      2) We read back the firmware copied into the BCM module and we didn't find any difference between the two so we think HW is hooked up correctly.

     3) Is there any command which we can send on SDIO and verify that SDIO interface is OK.

     4) Can you share any reference document on SDIO

5) Is the firmware same for SPI based interface and SDIO based

6) Is the firmware working on Murata modul will work on BCM943362SDG

0 Likes
Anonymous
Not applicable

We are porting on MIPS architecture (on Nucleus OS).

      2) We read back the firmware copied into the BCM module and we didn't find any difference between the two so we think HW is hooked up correctly.

     3) Is there any command which we can send on SDIO and verify that SDIO interface is OK.

     4) Can you share any reference document on SDIO

5) Is the firmware same for SPI based interface and SDIO based

6) Is the firmware working on Murata modul will work on BCM943362SDG

0 Likes
Anonymous
Not applicable

After downloading firmware. I am getting CARD interrupt  and  while  iam checking if the SDIO function2 ready.  af

After 2 card interrup iam getting timeout error.

Could you  let me know expected things should happen after firmware downlaod

0 Likes
Anonymous
Not applicable

Sorry this level of porting is not supported via the community. This is not very straightforward, and there are potential HW and/or software and system level issues

Basically you can instrument the SDIO driver and check if any of the SDIO commands are failing or giving errors

In addition you need to make sure SDIO interrupts are being delivered and cleared correctly by instrumenting the ISR

I am not aware of the BCM943362SDG - what is this board and where did you get this from?

The FW should be the same, but the NVRAM would be different and this might also cause the device to lock up

What XTAL is connected to the 43362 on this board?

0 Likes
Anonymous
Not applicable

Hi ameerbhargav We were also facing the same issue, we tried out following things and it worked in our case

1. Cut short the cable length of SDIO communication line from controller to WIFI chip.

2. Also make the power lines short.

3. Change the power supply with good ratings for both controller and WIFI chip.

0 Likes