Author Topic: USB to I2C/SPI/UART etc  (Read 3065 times)

0 Members and 1 Guest are viewing this topic.

Offline WebbotTopic starter

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,166
  • Helpful? 111
USB to I2C/SPI/UART etc
« on: July 05, 2009, 07:47:55 PM »
Apologies to those who read Elektor magazine.

Thought  it may be worth publicizing these chips as they are kinda cool.

Available from 'mouser' in US or 'farnell' in UK.

They basically allow USB to anything - be it UART, I2C, SPI etc - the 'expand IO USB' chip being the most flexible.

So if you want to use I2C, SPI etc in your designs and want to control or debug from a PC then they seem ideal.

PS I have NO business interest - and there may well be other/better/worse solutions out there.  Just passing on what I've found.

http://www.hexwax.com/products.aspx

.

Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: USB to I2C/SPI/UART etc
« Reply #1 on: July 05, 2009, 07:49:51 PM »
I've been looking for something like this, thanks!
Kurt

Offline Razor Concepts

  • Supreme Robot
  • *****
  • Posts: 1,856
  • Helpful? 53
Re: USB to I2C/SPI/UART etc
« Reply #2 on: July 05, 2009, 08:27:58 PM »
Looks useful, but pricey... the DIP version is $9. But from reading the datasheets - is it just a specially programmed PIC?

Offline WebbotTopic starter

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,166
  • Helpful? 111
Re: USB to I2C/SPI/UART etc
« Reply #3 on: July 05, 2009, 08:56:40 PM »
Looks useful, but pricey... the DIP version is $9. But from reading the datasheets - is it just a specially programmed PIC?

Well maybe - but if you want to debug an I2C or SPI slave device then its good to use something thats proven. Sure - we can all write it ourselves - but only AFTER we know what we are doing!! Its really hard to write this stuff if you don't have an I2C, or SPI, compliant device to test against.

Not sure if you are talking about the more flexible IO expander or not - when you mention $9. But that is a very flexible device and one you would breadboard for debugging usage and use another hardware implementation on your own board once debugged.

I see it as:- buy, breadboard, debug, learn and then build something more dedicated. So I would use it as a development/debug helper.

But hey - this was just an 'advertisement' - I have no knowledge and no experience of it for now.

If anyone gives it a go then let us know.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline chelmi

  • Supreme Robot
  • *****
  • Posts: 496
  • Helpful? 15
Re: USB to I2C/SPI/UART etc
« Reply #4 on: July 06, 2009, 10:07:38 AM »
http://hackaday.com/2009/06/25/how-to-the-bus-pirate-v2-with-usb/

This looks nice. I think it's going to be sell by SeedStudios.

Offline sonictj

  • Supreme Robot
  • *****
  • Posts: 416
  • Helpful? 11
Re: USB to I2C/SPI/UART etc
« Reply #5 on: July 06, 2009, 12:23:20 PM »
With a usb to spi chip couldn you essentially program mcu's via isp without the need for a hardware programmer?

Offline GearMotion

  • Supreme Robot
  • *****
  • Posts: 489
  • Helpful? 24
  • Two decades+ of Embedded Design
Re: USB to I2C/SPI/UART etc
« Reply #6 on: July 06, 2009, 12:25:34 PM »
With a usb to spi chip couldn you essentially program mcu's via isp without the need for a hardware programmer?


Yes. I've programmed ATtiny chips (tiny13, tiny26) using the USBmicro U401/U421: http://www.usbmicro.com/products.html

Offline WebbotTopic starter

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,166
  • Helpful? 111
Re: USB to I2C/SPI/UART etc
« Reply #7 on: July 06, 2009, 07:44:13 PM »
With a usb to spi chip couldn you essentially program mcu's via isp without the need for a hardware programmer?

Think the only difference is that the SPI chip select pin needs to go the RESET pin on the processor when used for programming
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

 


Get Your Ad Here

data_list