Analyze CYW43439 SPI signals using a logic analyzer
mainThe cyw43439-signal-analyze program implements the SPI bus via software bit-banging. It broadcasts the CYW43439 responses to specific mock output pins, allowing you to observe the SPI traffic using a logic analyzer (e.g., Saleae or Digital Analog Discovery).
In the current implementation, the signals are mapped to the following GPIO pins:
- Data (Read/Write):
machine.GPIO4 - Clock (CLK):
machine.GPIO5 - Chip Select (CS):
machine.GPIO6
// Mock pins can be any not shared by original implementation.
// Attach your logic analyzer to these.
MOCK_DAT = machine.GPIO4
MOCK_CLK = machine.GPIO5
MOCK_CS = machine.GPIO6