CYW43012 WiFi SDIO module status

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
PIHL
Level 3
Level 3
25 sign-ins 10 replies posted 10 sign-ins

Hi,

I would like to set up Wifi connection by Cypress CYW43012 using LPC54607 MCU. I have it connected through voltage level shifter and I checked that the communication on command line is going both ways without issues.

 

I get through Initialisation without issues. After that I check the status of wifi module (CMD7) and get a response without errors and CURRENT_STATE = 15 (reserved for I/O mode). What does this response mean? Is it a correct answer after initi?

Command CMD7 - 0100 0111 0000 0000 0001 0000 0000 0000 0000 1101 1101 1111 

Response R1b - 0000 0111 0000 0000 0000 0000 0001 1110 0000 0000 1010 0001 

 

After that I get card capability and red CIS for functions 1 and 2. I want to read Capability Register of function 2, to check how I can interface with it. To do it i send CMD52 for runction 2 and register adress 0x600 but do not get any response.

Binary CMD52 - 0111 0100 0010 0000 0000 1100 0000 0000 0000 0000 1010 1111

 

I tried this command with and without I/O function 2 enabled (I read the state from CCCR). I found out, that I can not get the I/O to "ready state". In CCCR all functions are always set to not ready, maybe that is the issue.

How can I change this state?

 

Thanks,

Piotr

 

0 Likes
1 Solution
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

Please let us know which Wi-Fi driver is being used for bring-up. Have you downloaded the WLAN FW into the 43012 radio or are you initially trying to enumerate the SDIO interface? If you have used a voltage level shifter, is it to ensure the appropriate voltage values corresponding to logic levels 0 and 1 for host and radio? The expected response for CMD7 should be R1 in case of SD mode; R1b indicates that the card selected is MMC mode.

View solution in original post

0 Likes
1 Reply
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

Please let us know which Wi-Fi driver is being used for bring-up. Have you downloaded the WLAN FW into the 43012 radio or are you initially trying to enumerate the SDIO interface? If you have used a voltage level shifter, is it to ensure the appropriate voltage values corresponding to logic levels 0 and 1 for host and radio? The expected response for CMD7 should be R1 in case of SD mode; R1b indicates that the card selected is MMC mode.

0 Likes