raspberrypi / pico-sdk

BSD 3-Clause "New" or "Revised" License
3.67k stars 915 forks source link

Help implementing CY43 gSPI #1270

Closed soypat closed 4 months ago

soypat commented 1 year ago

Hello Rpi peeps, I'm currently developing with TinyGo and wanted to implement CY43439 support to make use of the on board wifi capabilities.

I've gotten thus far, been able to read/write via an SPI bitbang implementation. The data I'm getting back from the chip is nonsense for the time being and it's very hard to debug without being able to hook up a logic analyzer to the CY's DIN/DOUT or GPIO24. So I was wondering if you guys had any SPI transaction samples used for the development of the pico-sdk's implementation. Anything helps really, images, tips and whatnot!

soypat commented 1 year ago

Also wondering if there's firmware installed on the CY beforehand or if I'd need to flash it first...

lurch commented 1 year ago

I guess you probably ought to be asking these questions at https://github.com/georgerobotics/cyw43-driver ?

soypat commented 1 year ago

Update: So I've managed getting the IO working on SPI! I have not been able to set the GPIO pins because the F1RxReady status check is failing. This is because I need to download the firmware to the CY43, no?

kilograham commented 4 months ago

closing this, as this isn't an SDK issue