SPI using pyBusPirateLite

Settings of SPI. This Python library using Bitbang Mode. Reference to original SPI Documentation.

1
2
3
4
5
6
7
8
from pyBusPirateLite.SPI import *

spi = SPI("COM17", 115200, 1)

spi.config = CFG_PUSH_PULL | CFG_LSB_FIRST
spi.speed = '1MHz'

data = spi.transfer( [ControlRegAddr.M_S_CTRL | (1<<7), 0x18], autoCS = True)

Bus Pirate: Entering binary mode

Bus Pirate LCD adapter v2

Raw-wire (binary))

Bus Pirate 101 tutorial

SPI

SPI (binary))

Controlling WS2812B LEDs with a Bus Pirate