Category Archives: I2C

USB Swiss Army Knife

It’s the small things, the smallest boards, that often make my day! This is the MCP2221 breakout board (ADM00559), and it is my new Swiss Army Knife. If you are not familiar already with the MCP product line, these are generally … Continue reading

Posted in I2C, Tips and Tricks, Tools | Tagged , , | 1 Comment

A Tale of Two (USB) Bootloaders

I have been looking with great interest at boot loaders design in recent months. It all started with the “Graphics, Touch, Sound and USB”  book I published last year, where I used  Mikromedia boards as my primary hardware platform to … Continue reading

Posted in I2C, PIC16, Python, Tips and Tricks | Tagged , , | Comments Off on A Tale of Two (USB) Bootloaders

The Big I2C SEE Table

Not all I2C Serial EEPROMs are created equal. In fact there is a lot of variety out there as the memory size increases the addressing schemes change, the number and use of the device select pins change as well. The … Continue reading

Posted in I2C | Comments Off on The Big I2C SEE Table

I2C Interface to Serial EEPROMS (continued)

In a few previous postings we started exploring the I2C interface and in particular its use to access the most common and inexpensive type of Serial EEPROMs (24xxx). After the long preamble, it is about time to start talking about … Continue reading

Posted in I2C | Comments Off on I2C Interface to Serial EEPROMS (continued)

I2C Interface to Serial EEPROMs (continued)

In two previous postings (Chapter 7 1/2, I2C Interface) we have started looking into the I2C interface, some of its applications and the very basics of the communication protocol. It’s time to start sending and receiving data bytes and learn … Continue reading

Posted in I2C | 1 Comment

I2C Interface (continued)

The I2C bus is based on a very simple protocol, a small set of rules that dictate how the two lines SDA and SCL are supposed to operate to allow the transfer of data. With the premise that, at idle, … Continue reading

Posted in I2C | 1 Comment

Chapter 7-1/2 The I2C Interface

Over the last year I have received a couple of emails from readers inquiring about the absence of examples on the use of the I2C(tm) synchronous serial ports of the PIC24. I imagine many more of you would have liked … Continue reading

Posted in I2C | 2 Comments