19-6327; Rev 0; 5/12 MAX7304PMB1 Peripheral Module General Description The MAX7304PMB1 peripheral module provides the necessary hardware to interface the MAX7304 16-port GPIO and LED driver to any system that utilizes PmodK-compatible expansion ports configurable for I2C communication. The IC features 16 GPIO ports with 12 push-pull GPIOs and four open-drain GPIOs configurable as PWM-controlled LED drivers. The device supports a 1.62V to 3.6V separate power supply for level translation. Each GPIO can be programmed to one of the two externally applied logic voltage levels. PORT12– PORT15 can also be configured as LED drivers that feature constant-current sinks and PWM intensity control with the internal oscillator. The maximum constantcurrent level for each open-drain LED port is 20mA. The intensity of the LED on each open-drain port can be individually adjusted through a 256-step PWM control. The port also features LED fading. Refer to the MAX7304 IC data sheet for detailed information regarding operation of the IC. Ordering Information appears at end of data sheet. Features SFour LED Driver Pins on PORT12–PORT15 S256-Step PWM Individual LED Intensity-Control Accuracy SIndividual LED Blink Rates and Common LED Fade-In/Out Rates SIndividually Programmable GPIOs to Two Logic Levels S8-Channel Individual Programmable Level Translators SConfigurable Edge-Triggered Port Interrupt SJumper-Selectable I2C Address Setting S6-Pin Pmod-Compatible Connector (I2C) SSecondary Header Allows Daisy-Chaining of Additional Modules on I2C Bus SExample Software Written in C for Portability SRoHS Compliant SProven PCB Layout SFully Assembled and Tested MAX7304PMB1 Peripheral Module Pmod is a trademark of Digilent Inc. __________________________________________________________________ Maxim Integrated Products 1 For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com. MAX7304PMB1 Peripheral Module Component List DESIGNATION C1, C3 QTY 2 DESCRIPTION DESIGNATION QTY DESCRIPTION JP1 1 6-pin (2 x 3) straight male header LED1–LED4 4 Red LEDs (1206) R1, R2, R3 3 150I Q5% resistors (0603) R4, R5 2 4.7kI Q5% resistors (0603) R6 1 10kI Q5% resistor (0603) 1FF Q10%, 10V X7R ceramic capacitors (0603) TDK C1608X7R1A105K C2 1 0.1FF Q10%, 16V X7R ceramic capacitor (0603) Murata GRM188R71C104KA01D J1 1 6-pin right-angle male header U1 1 J2 1 18-pin (2 x 9) straight male header 16-port, level-translating GPIO and LED driver (24 TQFN-EP*) Maxim MAX7304ETG+ — 1 Shorting jumper J3 1 8-pin (2 x 4) straight male header — 1 PCB: EPCB7304PM1 *EP = Exposed pad. Component Suppliers SUPPLIER PHONE WEBSITE Murata Electronics North America, Inc. 770-436-1300 www.murata-northamerica.com TDK Corp. 847-803-6100 www.component.tdk.com Note: Indicate that you are using the MAX7304PMB1 when contacting these component suppliers. Detailed Description UART Interface The MAX7304PMB1 peripheral module can interface to the host by plugging directly into a Pmod-compatible port (configured for I2C) through connector J1. See Table 1. The J2 connector provides the connection to the pushpull and open-drain outputs. See Table 2. The J3 connector allows the module to be connected through a daisy-chain from another I2C module and/or provide I2C and power connections to other I2C modules on the same bus. See Table 3. Jumper JP1 provides the ability to set the I2C address. This is accomplished by connecting the AD0 pin to GND, VCC, SDA, or SCL. See Table 4. Software and FPGA Code Example software and drivers are available that execute directly without modification on several FPGA development boards that support an integrated or synthesized microprocessor. These boards include the Digilent Nexys 3, Avnet LX9, and Avnet ZEDBoard, although other platforms can be added over time. Maxim provides complete Xilinx ISE projects containing HDL, Platform Studio, and SDK projects. In addition, a synthesized bit stream, ready for FPGA download, is provided for the demonstration application. Table 1. Connector J1 (I2C Communication) PIN SIGNAL 1 N.C. Not connected DESCRIPTION 2 INT Interrupt 3 SCL I2C serial clock 4 SDA I2C serial data 5 GND Ground 6 VCC Power supply The software project (for the SDK) contains several source files intended to accelerate customer evaluation and design. These include a base application (maximModules.c) that demonstrates module functionality and uses an API interface (maximDeviceSpecific Utilities.c) to set and access Maxim device functions within a specific module. The source code is written in standard ANSI C format, and all API documentation including theory/operation, register description, and function prototypes are documented in the API interface file (maximDeviceSpecificUtilities.h & .c). The complete software kit is available for download at www.maxim-ic.com. Quick start instructions are also available as a separate document. __________________________________________________________________ Maxim Integrated Products 2 MAX7304PMB1 Peripheral Module Table 3. Connector J3 (Daisy-Chain I2C) Table 2. Connector J2 PIN SIGNAL PIN SIGNAL 1 P0 Push-pull output 0 DESCRIPTION 1 SCL I2C serial clock DESCRIPTION 2 P1 Push-pull output 1 2 SDA I2C serial data 3 P2 Push-pull output 2 3 GND Ground 4 P3 Push-pull output 3 4 VCC Power supply 5 P4 Push-pull output 4 5 SCL I2C serial clock 6 P5 Push-pull output 5 6 SDA I2C serial data 7 P6 Push-pull output 6 7 GND Ground 8 P7 Push-pull output 7 8 VCC Power supply 9 P8 Push-pull output 8 10 P9 Push-pull output 9 11 P10 Push-pull output 10 12 P11 Push-pull output 11 13 P12 Output 12 (open-drain output 1) 14 P13 Output 13 (open-drain output 2) 15 P14 Output 14 (open-drain output 3) 16 P15 Output 15 (open-drain output 4) 17 VLA Optional: User-applied VCC (refer to the MAX7304 IC data sheet for min/ max limits before connecting external supply). If unused, leave unconnected. 18 GND Ground Table 4. Jumper JP1 PIN SIGNAL DESCRIPTION — GND (AD0) I2C 1-2 VCC (AD0) I2C address = 8’b0111010x (x is 1 for read, x is 0 for write) 3-4 SDA (AD0) I2C address = 8’b0111100x (x is 1 for read, x is 0 for write) 5-6 SCL (AD0) I2C address = 8’b0111110x (x is 1 for read, x is 0 for write) address = 8’b0111000x (x is 1 for read, x is 0 for write) __________________________________________________________________ Maxim Integrated Products 3 1 2 3 4 5 6 GND C1 1uF R1 R2 R3 JP1 1 3 5 2 4 6 GND R6 10k AD0 C3 1uF Failure to follow data sheet guidelines for limits of externally applied voltage may damage or destroy the device. VLA = user applied external VCC VCC SD SC INT SC SD GND VCC R5 4.7k GND VCC VCC R4 4.7k 150 150 150 Jumper block to set 2-Wire address Leave open or insert only one jumper Do not insert multiple jumpers! J1 SCL SDA GND VCC VCC GND GND 16 SC 8 23 18 13 14 15 17 SD INT MAX7304 GND GND VCC VLA PORT15 PORT14 PORT13 PORT12 PORT11 PORT10 PORT9 PORT8 PORT7 PORT6 PORT5 PORT4 PORT3 PORT1 SCL AD0 5 6 7 8 GND PORT0 0.1uF PORT2 C2 1 2 3 4 SDA INT U1 VCC J3 4 5 6 7 9 10 11 12 3 2 1 24 22 21 20 19 LED1 P0 P2 P4 P6 P8 P10 P12 P14 VLA LED2 1 3 5 7 9 11 13 15 17 LED3 J2 LED4 2 4 6 8 10 12 14 16 18 VCC GND P1 P3 P5 P7 P9 P11 P13 P15 MAX7304PMB1 Peripheral Module Figure 1. MAX7304PMB1 Peripheral Module Schematic __________________________________________________________________ Maxim Integrated Products 4 MAX7304PMB1 Peripheral Module Figure 2. MAX7304PMB1 Peripheral Module Component Placement Guide—Component Side Figure 3. MAX7304PMB1 Peripheral Module PCB Layout— Component Side Figure 4. MAX7304PMB1 Peripheral Module PCB Layout— Inner Layer 1 (Ground) __________________________________________________________________ Maxim Integrated Products 5 MAX7304PMB1 Peripheral Module Figure 5. MAX7304PMB1 Peripheral Module PCB Layout— Inner Layer 2 (Power) Figure 6. MAX7304PMB1 Peripheral Module PCB Layout— Solder Side Figure 7. MAX7304PMB1 Peripheral Module Component Placement Guide—Solder Side __________________________________________________________________ Maxim Integrated Products 6 MAX7304PMB1 Peripheral Module Ordering Information PART TYPE MAX7304PMB1# Peripheral Module #Denotes RoHS compliant. __________________________________________________________________ Maxim Integrated Products 7 MAX7304PMB1 Peripheral Module Revision History REVISION NUMBER REVISION DATE 0 5/12 DESCRIPTION Initial release PAGES CHANGED — Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time. Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 © 2012 Maxim Integrated Products 8 Maxim is a registered trademark of Maxim Integrated Products, Inc.