zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.98k stars 6.69k forks source link

drivers: wifi: Infineon AIROC: Add SPI support #67092

Open yonsch opened 11 months ago

yonsch commented 11 months ago

Is your enhancement proposal related to a problem? Please describe. The Infineon AIROC Wifi driver currently only supports the SDIO interface. This makes it unusable for boards where the SPI interface is used, such as the Raspberry Pi Pico W.

Describe the solution you'd like Add support for SPI.

Additional context As mentioned here:

While we have provided the infrastructure to allow for SPI support, we aren't yet working on enabling that. We have an internal backlog and SPI is not yet very high on it. We would be open to any assistance with SPI AIROC Wi-Fi support the community can provide.

Opened this issue to track progress on this task, and possibly find a volunteer to complete it.

ThreeEights commented 9 months ago

@yonsch - The PIO SPI driver support for 3-wire mode, needed to use the CYW43439 chip on the Pico W, is now in final testing; I expect to enter the pull request by the end of this week. And I have the Infineon HAL layer pulled apart, trying to work in the SPI support. Not sure when I can get that working. Do you want to assign this task to me?

SamsonBox commented 7 months ago

Is there any plan, when this feature will be available? It would be great to use the AIROC Chip on the Pico W Board.

ThreeEights commented 7 months ago

@SamsonBox - I'm working on it with help from Infineon. I think it's a matter of a couple weeks to get it working reliably, followed by however long it takes to get it integrated into Zephyr. (We have our own Pico W projects waiting for this!)

SamsonBox commented 7 months ago

@ThreeEights Thank you for your answer. Sounds great!

eltiempopaso commented 3 months ago

@ThreeEights Is this already working? (Infineon driver thru spi, to be used in rpi Pico w)

ThreeEights commented 3 months ago

@ThreeEights Is this already working? (Infineon driver thru spi, to be used in rpi Pico w)

Alas, not yet. I'm still debugging.

eltiempopaso commented 3 months ago

@ThreeEights Is this already working? (Infineon driver thru spi, to be used in rpi Pico w)

Alas, not yet. I'm still debugging.

Do we know when it'll be ready? I do not know whether there is any plan

Can I help you somehow? I'm interested in having the rpi pico wifi up&working.