User's Guide SCDU004 – March 2013 TCA8424 Evaluation Module This document is the EVM user guide for the TCA8424. The device is a low-voltage keyboard scanner that can support up to 128 keys, with open drain outputs that can sink up to 12 mA of current for LEDs. The TCA8424 is fully HID over I2C™ compliant and is available with a pre-programmed keyboard map. 1 2 3 4 5 6 7 8 9 10 Contents About this Manual ...................................................................................................
About this Manual 1 www.ti.com About this Manual This user’s guide describes the TCA8424 Evaluation Module (EVM). This guide contains the EVM schematics, bill of materials, and top and bottom board layouts. 2 Information about Cautions and Warnings This section describes the jumpers and connectors on the EVM as well and how to properly connect, set up, and use the TPS22985EVM. CAUTION This EVM contains components that can potentially be damaged by electrostatic discharge.
Items Required for Operation www.ti.com 4 Items Required for Operation The following items are required to program a TCA8424: • TCA8424 EVM with un-programmed TCA8424 in socket • Single 3.3-V supply • MSP-EXP430G2 Rev 1.
TCA8424 EVM Design Circuitry, Bill of Materials, and Connection Descriptions www.ti.com 6 TCA8424 EVM Design Circuitry, Bill of Materials, and Connection Descriptions 6.1 TCA8424 EVM Schematic Figure 1 shows the schematic for the EVM. The connections on the EVM are briefly explained in the subsequent sections. Figure 1.
www.ti.com 6.2 TCA8424 EVM Design Circuitry, Bill of Materials, and Connection Descriptions Printed-Circuit Board (PCB) Layout Figure 2 to Figure 5 show the PCB layouts for the TCA8424 EVM. Figure 2.
TCA8424 EVM Design Circuitry, Bill of Materials, and Connection Descriptions www.ti.com Figure 3.
www.ti.com TCA8424 EVM Design Circuitry, Bill of Materials, and Connection Descriptions Figure 4.
TCA8424 EVM Design Circuitry, Bill of Materials, and Connection Descriptions www.ti.com Figure 5.
TCA8424 EVM Design Circuitry, Bill of Materials, and Connection Descriptions www.ti.com 6.3 Bill of Materials Table 1 is the bill of materials for this EVM. Table 1. Bill of Materials ITEM QTY MFG MFG PART# REF DES DESCRIPTION 1 4 PANASONIC LNJ308G8PRA LED1, LED2, LED3, LED4 LED,SMT,0603,PURE GREEN,2.03V 2 1 POMONA ELECTRONICS 2269-0 J1 DUAL INSULATED BANANA JACKS, BLACK, 0.75LS 3 1 PANASONIC ECJ-1V41E105M C4, C5, C6, C7, C8, C9, C10, C11, CAPACITOR,SMT,0603,CERAMIC,1.
TCA8424 EVM Design Circuitry, Bill of Materials, and Connection Descriptions www.ti.com Table 1. Bill of Materials (continued) 29 5 PANASONIC ERJ-3GSYJ122 R16, R17, R18, R19, R20 RESISTOR,SMT,0603,5%,1/10W,1.
TCA8424 EVM Design Circuitry, Bill of Materials, and Connection Descriptions www.ti.com 6.4 VCC and GND Connections Pin 1 of J1 is a power input to the board and Pin 2 is the GND connection for the board. There are also 4 other GND test points in the corners of the board. The TCA8424 cannot be powered from the MSP430 Launchpad when programming and needs an external supply. Figure 6. VCC and GND Connections 6.
TCA8424 EVM Design Circuitry, Bill of Materials, and Connection Descriptions 6.6 www.ti.com Breakout Pins The breakout headers P1 and P2 allow connection of an external keyboard matrix to the EVM. P17 is connected to the I2C lines of the TCA8424 allowing an external host to communicate to the TCA8424. Figure 8. Breakout Pins Table 2.
www.ti.com 6.7 TCA8424 EVM Design Circuitry, Bill of Materials, and Connection Descriptions LED Outputs The TCA8424 features LED outputs that are set via the HID SET Report Command in the GUI, discussed in Section 9, part D. • Board LED1 = TCA8424 LED0 • Board LED2 = TCA8424 LED1 • Board LED3 = TCA8424 LED2 • Board LED4 = TCA8424 LED3 Figure 9.
Launchpad Software Setup 7 www.ti.com Launchpad Software Setup Use the following steps to set up the Launchpad software: 1. Download Code Composer Studio from the Texas Instruments link. 2. With the Launchpad unplugged, configure the headers on the Launchpad to match the yellow box in the image below: • The right 3 headers are vertical and the left 2 are horizontal 3.
Launchpad Software Setup www.ti.com 4. Connect the Launchpad to your computer with a USB to mini cable. A green LED and a red LED should be on as shown below: 5. Open Code Composer Studio and create a new workspace. Select the “Project” drop down menu and click on “Import existing CCS/CCE Eclipse Project.” Select Browse on the “Select-search directory” option and select the location where the source code is stored.
GUI Software Setup 8 www.ti.com GUI Software Setup 1. Extract the “TCA8424 GUI.zip” contents to the destination folder of your choice. 2. Double click the setup.exe folder that was extracted in step 1. 3. The following window pops up. Click “Install”. 4. After finishing the installation, the GUI opens and looks like this: 5. To open the GUI in the future, simply double click on the “TCA8424 G.application” file that was unzipped in step 1.
GUI Walkthrough Guide www.ti.com 9 GUI Walkthrough Guide A. Connecting the Launchpad to the EVM and PC 1. Install all headers except P16, place an un-programmed TCA8424 in the socket, and power the EVM board with 3.3 V. 2. Connect the MSP430 Launchpad to the EVM as shown below: • The connection point is under the board and the USB connector should open towards J1. 3. Connect the Launchpad to your PC. B. Initiating the connection from the GUI to the Launchpad 1.
GUI Walkthrough Guide www.ti.com 3. Under the "Select Port", there is a drop down menu box which is blank on startup, by default, as shown below: 4. Click this box, and a list of COM ports will pop up. Select the COM port that is associated with the Launchpad which was identified in step 1.
GUI Walkthrough Guide www.ti.com 5. Now the GUI has opened a connection to the Launchpad and the COM port remains in the drop down menu box as shown below: After the connection the Launchpad has been established and the GUI can be fully utilized. The remaining sections give basic steps on how to use each of the GUI buttons and inputs. C. Changing the I2C Address The I2C address in this GUI is referenced with the Read and Write bit included.
GUI Walkthrough Guide www.ti.com 1. Both the Launchpad and GUI default the I2C addresses to 0x76 on startup as shown below: 2. The I2C address must be written into the text box in the default format. Once an address has been entered, simply click on the “Change I2C address” button to communicate this to the Launchpad. • If the Launchpad is restarted, the I2C address will default again to 0x76 and must be changed again if you are working with a different I2C address. 3.
GUI Walkthrough Guide www.ti.com D. HID commands and Read Report 1. The LED outputs can be changed using the HID Command “SET Report” in the GUI which replicates an HID host issuing the command. The LED values are off, by default, and are changed by clicking the LED buttons. 2. The LED inputs for the SET Report command change to read ‘1’ with a green background when clicked, and change back to ‘0’ with a red background when clicked again. 3.
GUI Walkthrough Guide www.ti.com 4. Clicking the “Set Power Sleep” issues the SET POWER = WAKE HID Command and puts the device to sleep. If the LED outputs are turned on when this command is issued, they will now turn off. 5. Issuing the SET POWER = WAKE command turns the LED’s back on after a Sleep command has been issued. This is done by clicking the “Set Power Wake” command 6. The “Reset” button issues the RESET HID Command and the device resets, this clears the output report.
GUI Walkthrough Guide www.ti.com 7. The “Get Report” button issues the HID command GET REPORT. This retrieves the current contents of the input report and populates the text box below the button (red box). The GET REPORT command does not clear an interrupt. For more information on how HID commands operate and the TCA8424’s device behavior, please see the “COMMAND and DATA REGISTER” section of the datasheet. 8. The “Read Report” button issues an unaddressed read command to the TCA8424.
GUI Walkthrough Guide www.ti.com E. Programming and verifying the OTP contents 1. The first thing that must be created is the .csv file that contains the OTP contents. If this has been created skip to step 2. (a) Open an excel workbook with a single column for the OTP contents. • The image below shows a properly formatted excel file with the blue box indicating a break in the 512 byte contents: (b) Click the "Office" button and then click “Save as”.
GUI Walkthrough Guide www.ti.
GUI Walkthrough Guide www.ti.com (f) Exit the .csv file and click "Yes" to the two dialog boxes that show up as shown below: 2. Now that we have a .csv, the OTP contents can be programmed.
GUI Walkthrough Guide www.ti.com 3. This opens a Windows® Explorer window that shows only .csv files. Navigate to the .csv file created earlier: 4. This populates the text box above the “Load OTP” button with the contents of the .csv file. This text box is fully editable, as long as the contents remain in the same format.
GUI Walkthrough Guide www.ti.com 5. Now choose a start location for our OTP programming and the number of bytes to program. (a) The start location should be formatted as below and has no default contents. You must enter a value before programming the OTP. (b) The number of bytes is defaulted to the value “512” and should be entered as a decimal value in the text box, if it needs to be changed. 6.
GUI Walkthrough Guide www.ti.com 8. Because we have now programmed a new I2C address into the device, we must change the I2C address in the Launchpad with the Change I2C address button. • In this case it will now be 0x91 as shown below: 9. Now that the OTP contents are changed and the I2C address in the Launchpad is set, confirm that what was actually programmed, matches what we tried to program.
Related Documentation www.ti.com (b) Now compare the contents to be programmed with the current OTP contents by clicking the “Compare OTP” button. If the "Contents to be Programmed" and the "Current OTP Contents" are the same, the dialog below the “Compare OTP” button changes accordingly, as shown below: The Compare OTP button assumes the "Contents to be Programmed" and "Current OTP Contents" are the same length. They must match exactly for dialog box to change to “Match”.
EVALUATION BOARD/KIT/MODULE (EVM) ADDITIONAL TERMS Texas Instruments (TI) provides the enclosed Evaluation Board/Kit/Module (EVM) under the following conditions: The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the user indemnifies TI from all claims arising from the handling or use of the goods.
FCC Interference Statement for Class B EVM devices This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications.
【Important Notice for Users of this Product in Japan】 】 This development kit is NOT certified as Confirming to Technical Regulations of Radio Law of Japan If you use this product in Japan, you are required by Radio Law of Japan to follow the instructions below with respect to this product: 1. 2. 3. Use this product in a shielded room or any other test facility as defined in the notification #173 issued by Ministry of Internal Affairs and Communications on March 28, 2006, based on Sub-section 1.
EVALUATION BOARD/KIT/MODULE (EVM) WARNINGS, RESTRICTIONS AND DISCLAIMERS For Feasibility Evaluation Only, in Laboratory/Development Environments. Unless otherwise indicated, this EVM is not a finished electrical equipment and not intended for consumer use.
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.