I’m trying out a RM2 breakout which I purchased last month. I soldered pins onto the board and am wiring it up using breadbord with a Pico 1. Using the SDK I have these definitions in CMakelists.txt:
Pictures of both sides of the RM2 and the wiring on the RM2 and on the Pico.
red = 3.3v
blue = WL ON (GP2)
yellow = CS (GP3)
green = DAT (GP4)
orange = CLK (GP5)
black = GND (pin 18)
From what I remember, when lowering the clock rate (which is basically needed for comms over jumper jerky of that length), the PIO program has to be switched to one that’s designed for those rates. Looks like the program can be changed by defining CYW43_SPI_PROGRAM_NAME.
Hm, I was always wondering why the CYW43 started failing when I change the cpu speed dynamically. But as I see now it depends on a compile-time define.
You can see in here, there’s a bunch of PIO programs with slightly different timings. I guess at different clock speeds those timings have an effect on what data is received by the CYW43 due to transition times. That was my experience at least when developing the Yukon RM2 module.