ID #3692

Michael Böhmer: ICY

Connection: Zorro II

Picture of Prototype
Picture of Prototype

Picture of Final Version
Picture of Final Version

i2c_1.jpg

i2c_2.jpg

i2c_3.jpg

ICY is a short Zorro II bus card implementing an I?C bus adaptor chip into the Amiga system. Compared to other Amiga Zorro cards, special care has been taken to design the hardware according to Commodore's hardware specifications. Full autoconfiguration with shutup capability and full relocability in address space is supported. All accesses to the I?C bus are handled by the PCF8584 bus controller. No software based serial-parallel conversion, no speed critical routines, no need for adjustments. The PCF8584 handles the I?C protocol completely in hardware. No accidental overclocking is possible, and bus speed can be chosen to be 1.5kHz, 11kHz, 45kHz or 90kHz. The hardware design follows the Commodore guidelines for Zorro II PICs. Full autoconfiguration and buffered bus lines should ensure operation in all Zorro bus systems. The ICY offers the possibility to enhance the system over an expansion connector. A RTC has been included in the design and can optionally be used as a replacement for Commodore's fine RTC chips on the motherboards which tend to die after some years. Buffered address and data lines for Zorro bus signals

Expansion modules

The ICY board offers an expansion port for small add-on modules. The port is compatible with the VMC ISDN Blaster expansion port and can be used for own small hardware modules. Moreover, the hyperCOM 3i module can be attached to ICY. ICY is supported by Wilhelm Noekers i2c.library, which also supports other external interfaces. Many programs for I?C based hardware will work with ICY, as long as they use the i2c.library.

ICY Expansion Port Technical Documentation (By Michael Boehmer)

The expansion port on ICY is realized as a 2x13 pinhead with 2.54mm spacing. Pin 1 is located on the left side, towards the two seated GALs. When designing a PCB, please mind that the backup battery, the seated GALs and the resistor packs restrict usage of space. Make sure to avoid short cuts between ICY and the expansion module. Please mind that the current each PIC is allowed to draw is limited. According to the Zorro III specs, the following rules apply:

VCC2 A
+12V500 mA
-12V60 mA
-5V60 mA

When designing expansion modules, please mind that ICY also needs some current.

A "/" marks a lowactive signal, a preceeding "B" means buffered, bold letters mark the supply voltages.

BD812BD9
BD1034BD11
BD1256BD13
BD1478BD15
BA1910BA2
BA31112BA4
BA51314BA6
BA71516BA8
/INT61718/BUSRST
READ1920/UDS
/SLAVE2122A15
VCC2324GND
-12V2526+12V

What is the I2C-bus? [From Phillips]

In modern electronic systems there are a number of peripheral ICs that have to communicate with each other and the outside world. To maximize hardware efficiency and simplify circuit design, Philips developed a simple bi-directional 2-wire, serial data (SDA) and serial clock (SCL) bus for inter-IC control. This I2C-bus supports any IC fabrication process and, with the extremely broad range of I2C-compatible chips from Philips and other suppliers, it has become the worldwide industry standard proprietary control bus.

Each device is recognized by a unique address and can operate as either a receiver-only device (e.g. an LCD driver or a transmitter with the capability to both receive and send information (such as memory). Transmitters and/or receivers can operate in either master or slave mode, depending on whether the chip has to initiate a data transfer or is only addressed. I2C is a multi-master bus, i.e. it can be controlled by more than one IC connected to it.

The basic I2C-bus, with a data transfer rate up to 100 kbits/s and 7-bit addressing, was originally introduced nearly 20 years ago. But, as data transfer rates and application functionality rapidly increased, the I2C-bus specification was enhanced to include Fast-mode and 10-bit addressing, meeting the demand for higher speeds and more address space.

The I2C-bus continues to keep pace with advancing technology while retaining its backwards compatibility. Mixed designs incorporating new low voltage devices are supported via the I2C-bus' level shifting capability. And, most recently, High-speed mode has been added; with speeds of up to 3.4 Mbits/s it ensures the capacity of the I2C-bus to support existing and future high speed serial transfer rates for applications such as EEPROM and Flash memory.

m

Philips Semiconductors has developed a simple 'level-shifting' enhancement to the standard I2C-bus, offering fully bi-directional data transfer between I2C-devices operating from different supply voltages. It provides an elegant solution for allowing ICs with different supply voltages to communicate and be controlled, for almost no additional design-in effort or cost.

The simple addition of two low-cost transistors, placed between the different voltage level sections of the I2C-bus, separates and transfers the logic voltage levels of the bus lines on either side of the level-shifter. In fact, with the addition of these transistors, the I2C-bus answers all level-shifting needs for a complete multi-supply voltage system design. This set-up also allows the level-shifter to be used to isolate a section of powered-down devices from the bus, allowing powered I2C devices to operate normally.

At the same time, the I2C-bus specification has been extended for devices operating below 2.7 V. This extension, together with compatibility of lower and higher voltage devices provided by the bi-directional level-shifter, ensures the I2C-bus will remain the serial bus of choice for future systems into the next century.

Until 1992, the I2C-bus was mainly used for the transfer of control and status information and its originally defined bit rate of 100 kbits/s remained sufficient for this purpose. As it became a de-facto standard, it began to be used for text and data transfer and to meet these needs, in 1992 the specification was upgraded with a Fast-mode, supporting bit rates up to 400 kbits/s. Compatible with Standard-mode devices, all Philips Semiconductors devices developed since 1992 have included a Fast-mode I2C-bus interface. Support for even higher data transfer speeds is now available through High-speed mode (which also offers the level-shifting enhancement).

High-speed mode I2C-Bus
Developments in high-speed serial RAMs and mixed technology telecom systems have created a demand for buses capable of operating at high speeds and with a variety of supply voltages. I2C's High-speed mode meets these needs without sacrificing its compatibility with existing Standard and Fast-mode devices or its low-cost simplicity - no special logic levels, timing or drive capability are needed.

A purpose-designed bridge in a High-speed mode master allows for bi-directional communications between Fast- and Standard-mode devices within a single I2C-bus system and, if required, this master can also perform bi-directional level shifting, supporting a variety of different voltage devices.

As a true multi-master bus, I2C's High-speed mode requires no additional wires or pins for slave devices. Also, there are two additional pins on a High-speed master which, if they are not used (because there is no system bridge or only Fast/Standard-mode are in use), then other I/O functions can be assigned to these pins, making I2C an extremely flexible solution.

10-bit I2C addressing
10-bit addressing allows the use of up to 1024 additional addresses to prevent problems with the allocation of slave addresses as the number of I2C devices rapidly expands. It does not change the format for addresses defined in the I2C-bus specification, using addresses reserved in the existing specification.

10-bit addressing does not affect the existing 7-bit addressing, allowing devices with 7-bit or 10-bit addresses to be connected to the same I2C-bus, and both types of devices can be used in Standard-, Fast- or High-speed mode systems.

Contributions to this page by:
Michael Böhmer

Letzte Änderung des Artikels: 2009-01-26 15:40
Revision: 1.0

Drucken {writeSend2FriendMsgTag}
Rate this FAQ

Average rating: 1 (2 Votes)

completely useless 1 2 3 4 5 most valuable

Average rating: 1 (2 Votes)

You cannot comment on this entry