Posts Tagged ‘spi’

App note: Microcontroller-based serial port interface (SPI®) boot circuit

Sunday, March 6th, 2016

Simple circuit for sending command upon boot to the target device sortof boostraping hardware tachnique, an app note from Analog Devices. Link here (PDF) This application note describes the operation of a general purpose, microcontroller-based Serial Port Interface (SPI) boot circuit. This is a low cost solution for users who...

Tags: , , ,
Posted in app notes | No Comments »

Talk SPI to EEPROM part3: Test SPI Protocol with Bus Pirate

Tuesday, May 12th, 2015

Jan Cumps tested out SPI Protocol using a Bus Pirate: It wasn't my initial intention to use the Bus Pirate. But my first naive attempts to talk from Hercules to EEPROM failed. I could create the SPI instructions with the LaunchPad, but I didn't get a reply back from the 25LC256....

Tags: , , ,
Posted in Bus Pirate, testing | No Comments »

Better SPI Bus design in 3 steps

Tuesday, November 25th, 2014

Paul over at Dorkbotpdx has written an article on 3 steps to good SPI Bus design: A much better SPI bus design can prevent conflicts. 3 simple improvements are needed: Use pullup resistors on all chip select signals. Verify tri-state behavior on MISO: use a tri-state buffer chip if necessary. Protect bus...

Tags: ,
Posted in how-to | No Comments »

Standalone SPI 7-segment display

Friday, August 8th, 2014

Spacewrench over at Dorkbotpdx writes: I had some spare 4-digit 7-segment LED displays and some AT90USB82s, and I'd always intended to do something with them. This was probably the easiest thing! It's just the AT90 driving the display, with a(t least) 4 wires controlling it: Vcc, GND, MOSI and SCK. (I...

Tags: , ,
Posted in LEDs | No Comments »

SPI Transactions in Arduino

Thursday, July 31st, 2014

Paul over at DorkbotPDX writes: For the last several weeks, I've been working on SPI transactions for Arduino's SPI library, to solve conflicts that sometimes occur between multiple SPI devices when using SPI from interrupts and/or different SPI settings. To explain, a picture is worth 1000 works. In this screenshot, loop()...

Tags: ,
Posted in Arduino | 1 Comment »

aspspi – USBasp SPI terminal

Monday, April 7th, 2014

Nerd Ralph writes: While writing the picoboot module for avrdude, I noticed avrdude has a terminal mode which allows for commands to be sent to an AVR. The serial programming interface for AVR MCUs uses SPI, similar to the nrf modules. I realized instead of an AVR, the programmer could...

Tags: ,
Posted in AVR | 2 Comments »

App note: Interfacing FT2232H hi-speed devices to SPI bus

Sunday, February 23rd, 2014

Simplify USB to SPI connectivity by using this app note from FTDI. The FT2232H and FT4232H are the FTDI’s first USB 2.0 Hi-Speed (480Mbits/s) USB to UART/FIFO ICs. They also have the capability of being configured in a variety of serial interfaces using the internal MPSSE (Multi-Protocol Synchronous Serial Engine)....

Tags: , ,
Posted in app notes | No Comments »

Bus Pirate script to recover bricked radio

Wednesday, July 17th, 2013

Koolatron over at the Bitcraze forum  re-program the Crazyradio over SPI using the BusPirate and this script, available at github:  I've knocked together a perl script to reflash a busted crazyradio over SPI using a Bus Pirate. This saved me from a firmware upgrade gone bad. Get an assembled Bus Pirate for $30, including world-wide...

Tags: , ,
Posted in Bus Pirate | No Comments »

7 segment display controlled by simple SPI interface

Monday, September 17th, 2012

Touch let us know about these 4 digit SPI controlled 7 segment displays that cost a little less then $1 a piece. They include decimal separators and a colon separator so it's easy to display time. I picked up some cheap 4 digit 7 segment displays over on eBay for...

Tags: , , ,
Posted in parts | 6 Comments »

NEW PROTOTYPE: 1.8″ TFT display with USB interface

Thursday, September 6th, 2012

Like so many others, we found a nice 1.8" TFT display in China, and we decided to make a breakout for it. Instead of just breaking out the pins, and perhaps adding the micro SD card holder, we equipped our version with an USB enabled microcontroller and a few buttons...

Tags: , , ,
Posted in Prototypes | 15 Comments »

Bus Pirate RFM12B radio data module demo

Monday, August 27th, 2012

Hacromatic posted a tutorial on interfacing RFM12B radio data modules with the Bus Pirate: We're working with some RFM12B RF modules, and needed to verify that they were working properly, so we used a Bus Pirate. We thought it'd make a nice intro to SPI on the BP so we...

Tags: , ,
Posted in Bus Pirate, tutorials | 2 Comments »

App note: Common IC interface problems

Sunday, July 22nd, 2012

A somewhat humorous app note describing the common IC interface protocols like I2C, SPI, and GPIO. Also covered are some problem with these interfaces that turn happy faces to sad. How can an interface change a happy face to a sad face? Engineers have happy faces when an interface works...

Tags: , , ,
Posted in app notes | No Comments »

Interfacing the LTC2440 24bit ADC with the Arduino

Monday, July 2nd, 2012

Jbeale shows how to interface the LTC2440 24bit analog to digital converter with the Arduino. He provided the pin connections, a small sketch, as well as some advice to get it up and running. I should add: to reach the specified noise performance of this part (200 nV RMS) you...

Tags: , ,
Posted in Arduino | 3 Comments »

Dual 4 digit 7-segment display board with SPI interface

Wednesday, June 27th, 2012

Raj built a dual, 7-segment, display board with SPI interface. The board is based around the MAX7219 8x 7-segment display driver, which receives commands over SPI, and drives the display accordingly. The new display features eight 7-segment displays arranged in two rows of four digits. The on-board MAX7219 driver enables...

Tags: , ,
Posted in project logs | 18 Comments »

Problems with long cables and common solutions demonstrated

Tuesday, May 8th, 2012

Bertho was inspired by a recent forum discussion about driving SPI signals over long cables, so he headed to the workshop and did some test. His epic analysis of transmission lines shows real life example of how signals degrade in cables of various lengths, and how to tackle some of...

Tags: , ,
Posted in hacks | 3 Comments »

Long distance SPI: Lessons learned

Tuesday, April 24th, 2012

Protocols like SPI, I2C, and UART are intended for chips sharing a PCB, lots of problems crop up when you try to send them over long distances. Michu designed individually controllable LED modules controlled by SPI signals sent over long lengths of cable. Initially he had lots of noise and...

Tags: ,
Posted in DIY | 13 Comments »

HappyJTAG2 debug AVRs with FT2232

Tuesday, April 3rd, 2012

HappyJTAG2 FT2232-based JTAG debugger for AVR chips: This construction is based on HappyJTAG Idea, to implement JTAG interface into target avr system and debug it remotly via USB, without specific JTAGICE hardware. All job is done by PC softraware... Via the forum.

Tags: ,
Posted in JTAG | No Comments »

App note: Using hardware SPI on XMEGA microcontrollers

Sunday, February 26th, 2012

Here is an app note from Atmel describing hoe to use the SPI module on their XMEGA microcontrollers. Also provided are source code examples for implementing both interrupt driven SPI communication and the polled method for slave and master devices. SPI is a full duplex interface, and at a low...

Tags: , ,
Posted in app notes | No Comments »

Sniffing SPI data with Bus Pirate

Sunday, February 12th, 2012

Greg Whitmore at Four-Three-Oh forum has written a quick how-to post on using the Bus Pirate to sniff SPI data on the MSP430. We're reproducing the post here in its entirety with Greg's permission. (more…)

Tags: ,
Posted in Bus Pirate, how-to, MSP430 | 3 Comments »

App note: PSoC I2C to SPI bridge.

Sunday, December 11th, 2011

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...

Tags: , , ,
Posted in app notes | No Comments »

Next Page »

Recent Comments

  • Joe Desbonnet: Ya, I can recommend the low melting point solder. I used brand 'ChipQuik' and it's amazingly easy to use.
  • Jerome: I need a new BusPirate for the Fablab ;) Many thanks!
  • Max: Seems like an unexpectedly violent way to remove the chip indeed. A hot air station should of course do the job just fine, but in...
  • jose: Part removal described here is pure butchery, the cheapest hot air station will do a fast and clean job removing the QFP, heat air to...
  • Cody: Yes please