App note: PSoC I2C to SPI bridge.

Here is an app note from Cypress that describes how to implement a I2C to SPI bridge on a PSoC IC. PSoCs are devices that incorporate a microcontroller, a logical gate array, and some analog peripherals. What makes them different than microcontrollers is that all the peripherals are separated from the microcontroller. They can function […]

Tutorial: driving shift registers with AVR hardware SPI

Mike Szczys has written a tutorial on driving shift registers with SPI (AVR). He writes: The thing is, the sample code in the datasheet won’t work by itself. Atmel didn’t address the fact that you must drive SS low (the latch pin) to start the SPI transfer. I wrote this post to help get folks […]

Digital thermometer with SPI interface

An app note on a digital thermometers and thermostats with an SPI interface: Industry’s First Low-Voltage 3-Wire/SPI Temperature Sensors Enable Easy Implementation Into Low-Power Systems Aids designers in meeting error and power budgets Independent operation alleviates system resource drain Increases system reliability Thanks rsdio!

Logic Sniffer: Updated VHDL code and continous sampling mode

While we all followed dogsbody’s work on the new Verilog Demon Core for the Logic Sniffer, kinsa cleaned up the old VHDL core: New SPI code, works with the latest PIC firmware (v3.0) Working Metadata command New RLE code; n bit counters for n bit data width (except for 24 bits). Additional compression for cases […]

App note: One-wire control of SPI peripherals

rsdio presents: 1-Wire network via an SPI-compatible display controller. To produce the 3-wire SPI™ interface required by a MAX7221 display controller (active-low CS, DIN, and CLK), this 1-Wire network serially addresses three 1-Wire switches (DS2413). The first switch creates Chip Select directly (active-low CS), the second creates the serial-data line directly (DIN), and the third […]

Bus Pirate SPI sniffer utility v0.1

SPI sniffing with the Bus Pirate just got easier. SPIsniffer is a helper application (power tool?) that accesses the SPI sniffer using the fast binary mode. This is 3 to 4 times faster than displaying snooped output in the terminal mode. In terminal mode the Bus Pirate decodes raw data to user-friendly HEX formatted numbers, […]

Free laundry hack highlights lack of security

cam0 pried open a laundry smartcard and found an unprotected SPI EEPROM chip. He googled the part number and found a datasheet that describes the chip protocol, then dumped the data with a Bus Pirate. He found the card balance by comparing the contents before and after a load of laundry, the value was stored […]

PICkit I2C and SPI demo boards

Darren pointed out two IC demonstration boards from Microchip. The PICKit Serial I2C demo board has five unique devices with I2C interfaces. It includes a 2Kbit serial EEPROM, high accuracy temperature sensor, 12-bit ADC, 10-bit DAC, and an 8-bit IO expander – all great chips for a new hardware hacker. Debugging is possible through test […]

Bus Pirate: CAN Pirate

Unlike simple serial protocols, Controller Area Network (CAN) transmits data in frames with error detection capabilities. The Bus Pirate wasn’t designed to handle frame-based data transmissions, but have no fear the CAN Pirate adapter is here! In order to send and sniff CAN data for debugging an application, Stefano came up with the CAN Pirate. […]

Bus Blaster: High speed USB to JTAG, SPI, UART

The Bus Pirate can program flash chips with flashrom and debug JTAG devices with OpenOCD, but it doesn’t do these things very fast. It was designed for human-speed interaction. The Bus Pirate is a good way to learn an EEPROM chip, but you eventually integrate the chip in a real circuit with actual code. In […]

Web platform server firmware update

The web platform EEPROM and SD card server firmwares have stability problems at full speed, we encountered this bug with the @tweet_tree. Markus Gritsch posted test firmwares that have now been running for over 72hours without interruption. They even work when the PIC and SPI interface are overclocked beyond the datasheet specifications. A single edit […]

Demo: AT45DB041D 4Mbit SPI flash memory

This is an old version, see the latest version on the documentation wiki. This demo is what the Bus Pirate is all about. A AT45DB041D 4Mbit flash memory stores the FPGA design on the open source logic analyzer project currently known as SUMP PUMP. We’ve worked with EEPROMs in the past, but this chip is […]

Bus Pirate I2C, SPI sniffer updates

See the latest version in the documentation wiki. With aphoticjezter’s confirmation that the undocumented I2C sniffer actually works, we tweaked the code to help get around the UART speed limitations. These updates are in the latest nightly build. The I2C and SPI sniffers now use a 4096byte output ring buffer. Sniffer output goes into the […]

Bus Pirate: Chip demonstrations

Here’s a comprehensive list of Bus Pirate chip demonstrations. It includes Ian’s old demonstrations from Hack a Day, and the most recent demos from Dangerous Prototypes. Tutorials are arranged by Bus Pirate hardware version. Bus Pirate v2&v3 Firmware v0g new feature demonstration PCF8563 real time clock calendar (I2C) ShiftBrite with A6281 3 channel LED driver […]