PYNQ: PYTHON PRODUCTIVITY FOR ZYNQ

How could I use SPI to transfer siginal?

I want to accept sigianl from SPI interface.
I find pynq-z2 has a 2X3 pins SPI interface,but I haven’t find wiring methods and code for it.
Then, I try to use pmod_grove_light.ipynb in /base/pmod, the code in it is really easy to understand,But now I don’t know how to wring Pmod B(pmod_grove_light.ipynb need Pmod B interface) with my ECG sensor CJMCU-1293.
CJMCU-1293 has 9 pins:+5V(1) ,GND(2) ,SCLK(3) ,SDI(4) ,SDO(5) ,CSB(6) ,WCT(7) ,ALAB(8) ,DRDB(9).

Z2 only has 3.3V output, so you would need to check if your sensor can run from this.

You would need to check your data sheet for what each of those pins are.

Cathal