python-periphery icon indicating copy to clipboard operation
python-periphery copied to clipboard

Support GPIO for SPI Chip Selection?

Open Qingwu-Li opened this issue 3 years ago • 1 comments

Possible to support an/several GPIO for SPI Chip Selection?

Qingwu-Li avatar May 17 '21 07:05 Qingwu-Li

This could be supported relatively easily by passing a GPIO object as a cs_gpio keyword argument in the SPI constructor. The SPI object would assert and deassert the chip select in transfer(). Inverted / non-inverted would be up to the GPIO.

vsergeev avatar May 20 '21 08:05 vsergeev