Freescale Semiconductor User's Guide Document Number: KTTWRMC36XSDUG Rev. 1.0, 12/2014 TWR-MC36XSDEVB Tower System Platform Figure 1. TWR-MC36XSDEVB (c) Freescale Semiconductor, Inc., 2014. All rights reserved. Table of Contents 1 Important Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3 Understanding the Tower System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 4 Getting to Know the Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 5 Installing the Software and Setting up the Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 6 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7 Board Layout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 8 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 9 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 KTTWRMC36XSDUG, Rev. 1.0 2 Freescale Semiconductor Important Notice 1 Important Notice Freescale provides the enclosed product(s) under the following conditions: This evaluation kit is intended for use of ENGINEERING DEVELOPMENT OR EVALUATION PURPOSES ONLY. It is provided as a sample IC pre-soldered to a printed circuit board to make it easier to access inputs, outputs, and supply terminals. This EVB may be used with any development system or other source of I/O signals by simply connecting it to the host MCU or computer board via off-the-shelf cables. This EVB is not a Reference Design and is not intended to represent a final design recommendation for any particular application. Final device in an application will be heavily dependent on proper printed circuit board layout and heat sinking design as well as attention to supply filtering, transient suppression, and I/O signal quality. The goods provided may not be complete in terms of required design, marketing, and or manufacturing related protective considerations, including product safety measures typically found in the end product incorporating the goods. Due to the open construction of the product, it is the user's responsibility to take any and all appropriate precautions with regard to electrostatic discharge. In order to minimize risks associated with the customers applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards. For any safety concerns, contact Freescale sales and technical support services. Should this evaluation kit not meet the specifications indicated in the kit, it may be returned within 30 days from the date of delivery and will be replaced by a new kit. Freescale reserves the right to make changes without further notice to any products herein. Freescale makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. "Typical" parameters can and do vary in different applications and actual performance may vary over time. All operating parameters, including "Typical", must be validated for each customer application by customer's technical experts. Freescale does not convey any license under its patent rights nor the rights of others. Freescale products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale product could create a situation where personal injury or death may occur. Should the buyer purchase or use Freescale products for any such unintended or unauthorized application, the buyer shall indemnify and hold Freescale and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale was negligent regarding the design or manufacture of the part. FreescaleTM and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. (c) Freescale Semiconductor, Inc. 2014. KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 3 Getting Started 2 2.1 Getting Started Kit Contents/Packing List The TWR-MC36XSDEVB contents include: * TWR-MC36XSDEVB tower board * 2.2 Plug-in connectors Jump Start Freescale's analog product development boards help to easily evaluate Freescale products. These tools support analog mixed signal and power solutions including monolithic ICs using proven high-volume SMARTMOS mixed signal technology, and system-in-package devices utilizing power, SMARTMOS and MCU silicon. Freescale products enable longer battery life, smaller form factor, component count reduction, ease of design, lower system cost and improved performance in powering state of the art systems. * Go to www.freescale.com/analogtools * Locate your kit * Review your Tool Summary Page * Look for * Download documents, software, and other information Once the files are downloaded, review the user guide JumpStart. The user guide includes setup instructions, BOM and schematics. Jump start bundles are available on each tool summary page with the most relevant and current information. The information includes everything needed for design. 2.3 Required Equipment and Software To use this kit, you need: * Power supply 8.0 V - 36 V with current limit set initially to 1.5 A - 9.0 A 2.4 * Oscilloscope (preferably 4-channel) with current probe(s) (optional) * Digital multimeter * Typical loads (DC motor, bulbs) * TWR-K70F120M MCU Tower board: http://www.freescale.com/TWR-K70F120M or TWR-K20D72M MCU Tower board: http://www.freescale.com/TWR-K20D72M * CodeWarrior for MCUs (Eclipse IDE) family installed: http://www.freescale.com/CodeWarrior or compatible Kinetics. See Installing the Software and Setting up the Hardware. * PE Micro's OSBDM/OSJTAG Tower Toolkit (REV 0): http://www.freescale.com/files/microcontrollers/hardware_tools/PE_OSBDM_OSJTAG_TOWER_TOOLKIT.exe System Requirements The kit requires the following to function properly with the software: * USB-enabled PC with Windows(R) XP or higher KTTWRMC36XSDUG, Rev. 1.0 4 Freescale Semiconductor Understanding the Tower System 3 Understanding the Tower System Freescale's Tower System peripheral module is designed to be combined and used with other Tower System modules. The Freescale Tower System is a modular development platform for 8-, 16-, and 32-bit MCUs and MPUs enabling advanced development through rapid prototyping. Featuring more than fifty development boards or modules, the Tower System provides designers with building blocks for entry-level to advanced MCU development. TWR-MC36XSDEVB can be associated with the TWR-K70F120M or TWR-K20D72M. Special care should be taken with the MCU board. Refer to Table 1. TWR-MC36XSDEVB Elevator Board (Primary) Elevator Board (Secondary) Tower MCU Board (TWR-K70F120M in this example) Figure 2. TWR-MC36XSDEVB on Tower System Overview (without load) Table 1. TWR-MC36XSDEVB Compatibility with MCU Boards Towerboard Function TWR-MC36XSDEVB Direct input for MC50XSD200 channel 1 (50_IN1) TWR-MC36XSDEVB associated with TWR-K70F120M TWR-MC36XSDEVB associated with TWR-K20D72M Comments This direct input is not available Workaround NA MC06XSD200 Fail-Safe mode D603 diode not available diode (D603) Available in next version of board Direct input for MC16XSD200 channel 0 (20_IN0) This direct input is not available Add 0 on R106 footprint of the K70 board Direct input for MC50XSD200 channel 0 (50_IN0) In fail-safe mode (without SPI) direct control of NA 50_IN0 is available In normal mode (with SPI) the direct input function of the MC50XSD200 should be disabled for CH0 through SPI (50_IN0). Direct input for MC16XSD200 channel 0 (20_IN0) This direct input is not available Add 0 on R36 footprint of the K20 board Direct input for MC06XSD200 channel 1 (06_IN1) This direct input is not available Add 0 on R35 footprint of the K20 board Current/Temperature sensing: Pin shared with microphone CSNS pin Remove jumper J4 on the K20 board to disconnect microphone KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 5 Understanding the Tower System 3.1 Block Diagram J002...J005 Figure 3. Block Diagram 3.1.1 Device Features This tower system features the following Freescale products: Table 2. Device Features Device MC06XSD200 MC10XSD200 MC16XSD200 MC50XSD200 Common Feature * Normal operating range: 8.0 V - 36 V, extended range: 6.0 V - 58 V, 3.3 V and 5.0 V compatible 16-bit SPI port for device control, configuration, and diagnostics at rates up to 8.0 MHz * Separate bulb and DC motor latched overcurrent handling * Parallel output operating mode with improved switching synchronization * Individually programmable internal/external PWM clock signals (switching frequency, duty cycle, slew rate, switch-on time-shift) * Overcurrent, short-circuit, and overtemperature protection with programmable auto-retry functions * Accurate temperature and current sensing (high/low sensing ratios/offset compensation) * Open load detection (channel in OFF and ON state), also for LED applications (7.0 mA typ.) Different Features * Two fully-protected 6.0 m (at 25 C) high-side switches * Up to 9.0 A steady-state current per channel * Two fully protected 10 m (at 25 C) high-side switches * Up to 6.0 A steady state current per channel * Two fully-protected 16 m (at 25 C) high-side switches * Up to 3.0 A steady-state current per channel * Two fully-protected 50 m (at 25 C) high-side switches * Up to 1.2 A steady-state current per channel KTTWRMC36XSDUG, Rev. 1.0 6 Freescale Semiconductor Getting to Know the Hardware 4 4.1 Getting to Know the Hardware Board Overview The TWR-MC36XSDEVB is an easy-to-use tower peripheral module circuit board allowing the user to exercise functions for eXtreme Switch product base on Tower System. Tower System mirrors a debug port and communication port to PC used to debug/download program from CodeWarrior system. 4.2 4.3 Board Features * Four eXtreme Switch devices: MC06XSD200, MC10XSD200, MC16XSD200, MC50XSD200 * Simple connections with MCU * Communication with 4 devices via SPI in daisy chain mode - jumper selectable * Single SPI communication supported * LED on board indicate ON/OFF status of each High-side channel * Current/Temperature Sensing of four devices share one MCU AD converter pin Board Description Jumpers for SPI Mode Selection Jumper for Current/Temperature Selection Primary Connector MC06XSD200 High-side Output Connector MC10XSD200 High-side Output Connector GND 8 V - 36 V VPWR Supply Reset Button 5 V VDD Supply MC16XSD200 High-side Output Connector MC50XSD200 High-side Output Connector Secondary Connector Figure 4. TWR-MC36XSDEVB on Tower System Overview (without load) Table 3. Board Description Name Description Jumpers for SPI Mode Selection Select SPI in single mode or daisy chain mode Primary Connector Plug into primary elevator board MC06XSD200 High-side Output Connector MC06XSD200 high-side output connector can drive load directly GND Ground connector header 8.0 V - 36.0 V VPWR Supply Power supply for power stage 5.0 V VDD Supply Power supply for logic MC10XSD200 High-side Output Connector MC10XSD200 high-side output connector can drive load directly KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 7 Getting to Know the Hardware Table 3. Board Description (continued) Name Description Secondary Connector Plug into secondary elevator board MC16XSD200 High-side Output Connector MC16XSD200 high-side output connector can drive load directly Reset Button Reset all eXtreme Switches on board MC50XSD200 High-side Output Connector MC50XSD200 high-side output connector can drive load directly Jumper for Current/Temperature Sensing Jumper to select current/temperature sensing pin input from AN1 or AN5 4.4 LED Display The following LEDs are provided as visual output devices for the TWR-MC36XSDEVB: 1. D607 Indicates when HS1 of MC06XSD200 is ON 2. D608 Indicates when HS0 of MC06XSD200 is ON 3. D604 Indicates when MC06XSD200 enter Fault Mode 4. D603 Indicates when MC06XSD200 enter Fail-safe Mode (NOT POPULATED) 5. D107 Indicates when HS1 of MC10XSD200 is ON 6. D108 Indicates when HS0 of MC10XSD200 is ON 7. D104 Indicates when MC10XSD200 enter Fault Mode 8. D103 Indicates when MC10XSD200 enter Fail-safe Mode 9. D207 Indicates when HS1 of MC16XSD200 is ON 10. D208 Indicates when HS0 of MC16XSD200 is ON 11. D204 Indicates when MC16XSD200 enter Fault Mode 12. D203 Indicates when MC16XSD200 enter Fail-safe Mode 13. D507 Indicates when HS1 of MC50XSD200 is ON 14. D508 Indicates when HS0 of MC50XSD200 is ON 15. D504 Indicates when MC50XSD200 enter Fault Mode 16. D503 Indicates when MC50XSD200 enter Fail-safe Mode 17. D610 Indicates when VPWR is supplied 18. D004 Indicates when VDD is supplied 4.5 Connectors There are input/output connectors, which provide the following signals: 1. 06_HS0 - high-side output channel 0 of MC06XSD200 2. 06_HS1 - high-side output channel 1 of MC06XSD200 3. 10_HS0 - high-side output channel 0 of MC10XSD200 4. 10_HS1 - high-side output channel 1 of MC10XSD200 5. 16_HS0 - high-side output channel 0 of MC16XSD200 6. 16_HS1 - high-side output channel 1 of MC16XSD200 7. 50_HS0 - high-side output channel 0 of MC50XSD200 8. 50_HS1 - high-side output channel 1 of MC50XSD200 9. VPWR - power supply of 8.0 V- 36 V 10. VDD - power supply of 5.0 V 11. GND - ground of board KTTWRMC36XSDUG, Rev. 1.0 8 Freescale Semiconductor Getting to Know the Hardware 4.6 Jumper Definitions The following table defines the evaluation board jumper positions and explains their functions. (The default settings are shown in bold.) . Table 4. Jumper Definitions Jumper Description J006 ADC input pin selection SPI Work Mode Description Single Daisy Chain 4.7 Setting Connection 1-2 Monitor to AN1 pin on elevator board 2-3 Monitor to AN5 pin on elevator board Connection J002 J003 J004 J005 Connect MC06XSD200 only, ignore other SPI devices Short Open Short Open Connect the four devices by daisy chain Open Short Open Short Elevator Connections The TWR-MC36XSDEVB features two expansion card-edge connectors that interface to elevator boards in a Tower System: the Primary and Secondary Elevator connectors. Table 5 provides the pinouts for the Primary Elevator Connector. There is no connection for the Secondary Elevator Connectors. Table 5: Primary Elevator Connector Pinouts Top Side of Primary Connector Side B Bottom Side of Primary Connector Side A Pin # Name Group Usage Pin # Name Group Usage B1 5V Power 5.0V Power A1 5V Power 5.0V Power B2 GND Power Ground A2 GND Power Ground B3 3.3V Power 3.3V Power A3 3.3V Power 3.3V Power B4 ELE_PS_SENSE Power Elevator Power Sense A4 3.3V Power 3.3V Power B5 GND Power Ground A5 GND Power Ground B6 GND Power Ground A6 GND Power Ground B7 SDHC_CLK / SPI1_CLK SDHC / SPI 1 A7 SCL0 I2C 0 B8 SDHC_D3 / SPI1_CS1_b SDHC / SPI 1 A8 SDA0 I2C 0 B9 SDHC_D3 / SPI1_CS0_b SDHC / SPI 1 A9 GPIO9 / CTS1 GPIO / UART 20_IN1 B10 SDHC_CMD /SPI1_MOSI SDHC /SPI 1 A10 GPIO8 /SDHC_D2 GPIO /SDHC 10_IN1 B11 SDHC_D0 / SPI1_MISO SDHC / SPI 1 A11 GPIO7 / SD_WP_DET GPIO / SDHC 10_IN0 Mechanical Key B12 ETH_COL Ethernet A12 ETH_CRS Ethernet B13 ETH_RXER Ethernet A13 ETH_MDC Ethernet B14 ETH_TXCLK Ethernet A14 ETH_MDIO Ethernet B15 ETH_TXEN Ethernet A15 ETH_RXCLK Ethernet B16 ETH_TXER Ethernet A16 ETH_RXDV Ethernet B17 ETH_TXD3 Ethernet A17 ETH_RXD3 Ethernet B18 ETH_TXD2 Ethernet A18 ETH_RXD2 Ethernet B19 ETH_TXD1 Ethernet A19 ETH_RXD1 Ethernet B20 ETH_TXD0 Ethernet A20 ETH_RXD0 Ethernet B21 GPIO1 / RTS1 GPIO / UART 20_IN0 A21 SSI_MCLK SSI B22 GPIO2 / SDHC_D1 GPIO / SDHC 06_IN1 A22 SSI_BCLK SSI KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 9 Getting to Know the Hardware Table 5: Primary Elevator Connector Pinouts (continued) Top Side of Primary Connector Side B Bottom Side of Primary Connector Side A Pin # Name Group Usage Pin # Name Group B23 GPIO3 GPIO CSB A23 SSI_FS SSI B24 CLKIN0 Clock A24 SSI_RXD SSI B25 CLKOUT1 Clock A25 SSI_TXD SSI B26 GND Power A26 GND Power B27 AN7 ADC A27 AN3 ADC B28 AN6 ADC B29 AN5 ADC B30 AN4 ADC B31 GND Power B32 DAC1 DAC B33 TMR3 B34 TMR2 B35 GPIO4 GPIO B36 3.3V Power B37 PWM7 B38 PWM6 B39 B40 Ground Usage Ground A28 AN2 ADC A29 AN1 ADC A30 AN0 ADC A31 GND Power A32 DAC0 DAC Timer A33 TMR1 Timer Timer A34 TMR0 Timer 06_IN0 A35 GPIO6 GPIO RSTB 3.3V Power A36 3.3V Power 3.3V Power PWM A37 PWM3 PWM PWM A38 PWM2 PWM PWM5 PWM A39 PWM1 PWM PWM4 PWM A40 PWM0 PWM B41 CANRX0 CAN 0 A41 RXD0 UART 0 B42 CANTX0 CAN 0 A42 TXD0 UART 0 B43 1WIRE 1-Wire A43 RXD1 UART 1 B44 SPI0_MISO (IO1) SPI 0 MISO A44 TXD1 UART 1 B45 SPI0_MOSI (IO0) SPI 0 MOSI A45 VSS Analog Vref B46 SPI0_CS0_b SPI 0 A46 VDDA Analog Vref B47 SPI0_CS1_b SPI 0 A47 VREFA1 Analog Vref B48 SPI0_CLK SPI 0 CLK A48 VREFA2 Analog Vref B49 GND Power Ground A49 GND Power B50 SCL1 I2C 1 A50 GPIO14 GPIO B51 SDA1 I2C 1 A51 GPIO15 GPIO A52 GPIO16 / SPI0_WP (IO2) GPIO / SPI 0 CSNS Ground (1) B52 GPIO5 / SPI0_HOLD (IO3) GPIO / SPI 0 B53 USB0_DP_PDOWN USB 0 A53 GPIO17 GPIO B54 USB0_DM_PDOWN USB 0 A54 USB0_DM USB 0 B55 IRQ_H Interrupt A55 USB0_DP USB 0 B56 IRQ_G Interrupt A56 USB0_ID USB 0 B57 IRQ_F Interrupt A57 USB0_VBUS USB 0 B58 IRQ_E Interrupt A58 TMR7 Timer B59 IRQ_D Interrupt A59 TMR6 Timer B60 IRQ_C Interrupt A60 TMR5 Timer B61 IRQ_B Interrupt A61 TMR4 Timer B62 IRQ_A Interrupt A62 RSTIN_b Reset B63 EBI_ALE / EBI_CS1_b EBI A63 RSTOUT_b Reset B64 EBI_CS0_b EBI A64 CLKOUT0 Clock B65 GND Power A65 GND Power B66 EBI_AD15 EBI A66 EBI_AD14 EBI 50_IN0 06_FSOB 06_FSB 06_SYNC Ground CSNS Ground CLOCK Ground Ground KTTWRMC36XSDUG, Rev. 1.0 10 Freescale Semiconductor Getting to Know the Hardware Table 5: Primary Elevator Connector Pinouts (continued) Top Side of Primary Connector Side B Pin # Name Group B67 EBI_AD16 B68 B69 Bottom Side of Primary Connector Side A Usage Pin # Name Group Usage EBI A67 EBI_AD13 EBI EBI_AD17 EBI A68 EBI_AD12 EBI EBI_AD18 EBI A69 EBI_AD11 EBI B70 EBI_AD19 EBI A70 EBI_AD10 EBI B71 EBI_R/W_b EBI A71 EBI_AD9 EBI B72 EBI_OE_b EBI A72 EBI_AD8 EBI B73 EBI_D7 EBI A73 EBI_AD7 EBI B74 EBI_D6 EBI A74 EBI_AD6 EBI B75 EBI_D5 EBI A75 EBI_AD5 EBI B76 EBI_D4 EBI A76 EBI_AD4 EBI B77 EBI_D3 EBI A77 EBI_AD3 EBI B78 EBI_D2 EBI A78 EBI_AD2 EBI B79 FB_D1 Flexbus A79 FB_AD1 Flexbus B80 FB_D0 Flexbus A80 FB_AD0 Flexbus B81 GND Power Ground A81 GND Power Ground B82 3.3V Power 3.3V Power A82 3.3V Power 3.3V Power Notes: 1. The 50_IN1 is not available. KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 11 Installing the Software and Setting up the Hardware 5 5.1 Installing the Software and Setting up the Hardware Installing CodeWarrior on your Computer This procedure explains how to obtain and install the latest version of CodeWarrior 10.x. Note: The sample software in this kit requires CodeWarrior 10.x and above. If CodeWarrior 10.x or above is already on your system, the steps in this section can be skipped. 1. Obtain the latest CodeWarrior 10.x installer file from the Freescale CodeWarrior website. 2. Run the executable file and follow the instructions. In the GUI window you may select the component to install. For this module it is suggested to check the Kinetis box. Select the Kinetis component and click on "Next" to complete the installation. Figure 5. Choose Components GUI KTTWRMC36XSDUG, Rev. 1.0 12 Freescale Semiconductor Installing the Software and Setting up the Hardware 5.2 Get Example Project and Import 36 V eXtreme Component into Processor Expert Library 5.2.1 Get Example Project Download example project and 36 V eXtreme component zip file: https://www.freescale.com/webapp/sps/download/license.jsp?colCode=36V-EXTREMESWITCH-PEX-SW-EMC&appType=file1&locatio n=null&DOWNLOAD_ID=null For the latest information refer to the TWR-MC36XSDEVB website: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-MC36XSDEVB Unzip the downloaded file and check the folder (see Figure 6): Figure 6. Example Project Folder Window Table 6. 36V_eXtremeSwitch_PEx_SW Folder Name Folder Contents CodeWarrior_Examples Example project folder TWR-K20D72M Project for TWR-K20D72M Channel_monitoring_K20 Example project for monitoring current of each channel and temperature of device FreeMaster_K20 Example project for how to monitor Fault and Fail-Safe mode with Freemaster installed in PC, that also contains documents and example Freemaster project. Latest Freemaster installation package: http://www.freescale.com/freemaster SetPWMDutyDaisy Example project for how to set PWM duty cycle of each channel of four devices via SPI daisy chain SetPWMDutySingle Example project for how to set PWM duty cycle of each channel of MC06XSD200 on the board via SPI single mode TWR-K70F120M Project for TWR-K70F120M Channel_monitoring_K70 Project for TWR-K70F120M with project Channel_monitoring_K20 in TWR-K20D72M folder SetPWMDutyDaisy Project for TWR-K70F120M with project SetPWMDutyDaisy in TWR-K20D72M folder SetPWMDutySingle Project for TWR-K70F120M with project SetPWMDutySingle in TWR-K20D72M folder Components Processor Expert Component folder KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 13 Installing the Software and Setting up the Hardware 5.2.2 Import Component into Processor Expert Library 1. Launch CW 10.x and click 'Processor Expert ->Import Component(s)' in menu. In the pop-up window, locate Component file (.PEupd) in example project folder: 36V_eXtremeSwitch_PEx_SW\Components. Select SPI_Devicexxxx.PEupd file then click 'open' (see Figure 7). Figure 7. Example Project Folder Components Window 2. If import is successful, then SPI_Device component is in 'Components Library ->SW ->User Component' (see Figure 8). Figure 8. Example Project Folder Component Imported Window 3. In the same pop-up window, locate Component file (.PEupd) in example project folder: 36V_eXtremeSwitch_PEx_SW\Components. Select 36VeXtremeSwitchxxxx.PEupd file then click 'open'. If import is successful, then SPI_Device component is in 'Components Library ->SW ->User Component'. 4. Now the SPI_Devicexxxx.PEupd and 36VeXtremeSwitchxxxx.PEupd bean files are two Processor Expert beans for TWR-MC36XSDEVB and ready for compiling or imported to projects (see Figure 9). KTTWRMC36XSDUG, Rev. 1.0 14 Freescale Semiconductor Installing the Software and Setting up the Hardware Figure 9. Example Project Folder Component Imported Window 5. Figure 10 diagrams how to import the downloaded example project into CodeWarrior 10.x. Figure 10. Import Example Project into CodeWarrior 10.x If the example project is not used, instructions for the creation and setup of a new project for TWR-MC36XSDEVB with 36 VeXtremeSwitch Component are found in Section 5.2.3. KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 15 Installing the Software and Setting up the Hardware 5.2.3 Launch CodeWarrior 10.x and Create a New Project with Processor Expert 1. Create an MCU bareboard project and name it (see Figure 11). Figure 11. Create an MCU Bareboard Project 2. Choose the MCU class to be used in the tower MCU board (MK70N1M0 in this example) (see Figure 12). Figure 12. Choose the MCU Class KTTWRMC36XSDUG, Rev. 1.0 16 Freescale Semiconductor Installing the Software and Setting up the Hardware 3. Choose the connections to be used (see Figure 13). Figure 13. Choose the Connections 4. Select Processor Expert then select Finish (see Figure 14). Figure 14. Select Processor Expert KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 17 Installing the Software and Setting up the Hardware 5.2.4 Setup Project for the TWR-MC36XSDEVB 1. Find 36VeXtremeSwitch in the Component Library and Import it into this project (see Figure 15). Figure 15. Import 36VeXtremeSwitch 2. Setup the 36VeXtremeSwitch component configuration according to the TWR-MC36XSDEVB connection. Set the SPI master component linked to the 36VeXtremeSwitch component which is automatically loaded to the project (see Figure 16). Figure 16. Setup 36VeXtremeSwitch KTTWRMC36XSDUG, Rev. 1.0 18 Freescale Semiconductor Installing the Software and Setting up the Hardware 3. Double click this component to show configurations in the Component Inspector view (see Figure 17) and to setup SPI port/pin usage on TWR-K70F120M, SPI communication rate, and Auto initialization. Figure 17. Configurations are Shown in Component Inspector KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 19 Installing the Software and Setting up the Hardware 4. Double click 36VeXtremeSwitch component then Enable RSTB pin control (see Figure 18). Figure 18. Enable RSTB Pin Control KTTWRMC36XSDUG, Rev. 1.0 20 Freescale Semiconductor Installing the Software and Setting up the Hardware 5. Double click 36VeXtremeSwitch->RSTB1 component and set pin as PTB9 for TWR-MC36XSDEVB whole board reset control (see Figure 19). Figure 19. Select PTB9 KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 21 Installing the Software and Setting up the Hardware 6. Double click the CSpin component in 36VeXtremeSwitch->SPI_Device->CSpin. Locate Pin for I/O and select PTE28. Select the pin that is used for the TWR-K70F120M SPI chip. Figure 20. Select PTE28 7. To configure 36VeXtremeSwitch component, double click this component then configurations are shown in the Component Inspector view (see Figure 21). Figure 21. Configure 36VeXtremeSwitch Device On Daisy Chain: if the jumper on TWR-MC36XSDEVB is set to single SPI mode (J002,J004 short;J003,J005 open) then it should be configured as 1; if jumper is set to daisy chain SPI mode (J002,J004 open,J003,J005 short) then it should be configured as 4 because four devices on board are linked by a daisy chain. Configurations: the configurations are for eXtreme Switch settings, and can be shared between devices independently in the Devices On Daisy Chain list. Configure the devices as needed by the project. KTTWRMC36XSDUG, Rev. 1.0 22 Freescale Semiconductor Installing the Software and Setting up the Hardware 5.2.5 Generate Code for the Application After Configuration, generate the related source code for the application. Then the driver code eXtreme Switch device is generated and placed in Generated_Code folder in project view. The component can only generate driver code for application program, it cannot generate application code. Figure 22. Generate Related Source Code 5.2.6 Using the Interface Application code can be easily coded in the project and tested. For example, open the 36VeXtremeSwitch component methods list, drag SetPWMDuty cycle to main.c, add any necessary parameters, then the program is ready to compile. Figure 23. Generate Application Code To compile/download and debug on board, click compile, the debug button in the toolbar, then CodeWarrior will download and launch the program on board. KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 23 Installing the Software and Setting up the Hardware 5.3 Configuring the Hardware Power Supply 8.0 V - 36 V Figure 24. TWR-MC36XSDEVB Setup KTTWRMC36XSDUG, Rev. 1.0 24 Freescale Semiconductor A B C D GND GND VDD5V VDD5V 10K 10K R603 R604 10K 10K R203 R204 12 06_MOSI 3 2 1 1880313 J001 SI CLOCK SCLK RST CS 12 10_MISO GND VDD5V_Con D002 5V A A C 1SMA5920BT3 RED D003 MBR130LSFT1G C MBR130LSFT1G D001 SI CLOCK SCLK RST CS CONF0 CONF1 IN0 IN1 VPWR VDD5V MC16XSD200FK 8 11 20_CLOCK 20_SCLK 5 6 2 3 U7 9 10 GND SO SYNC HS1 HS0 FSO FS CSNS 1 GND 06_SYNC 06_MISO 16 GND D610 R002 10K GND 10uF C201 0.1uF 10uF GND C002 C001 GND SO SYNC HS1 HS0 FSO FS CSNS 0.1uF C202 ORANGE 20_CSNS ORANGE 1 4 GND VPWR D004 GREEN R001 510 20_MISO 23 16 VDD5V 20_SYNC 19 20 R617 10K D203 D605 D205 1N4004 ORANGE D204 1K R218 1N4004 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 RED D606 RED 0.022UF C205 AN5 AN1 PWM0 R623 GND SPI0_MISO SPI0_MOSI SPI0_CLK GPIO3 GPIO4 GPIO2 GPIO7 GPIO8 GPIO1 GPIO9 GPIO5 GPIO6 IRQ_A IRQ_D IRQ_F 20_HS1 20_HS0 GND RED D206 C206 1N4004 0.022UF D207 R220 10K GND 0.1uF C204 GND J603 1 2 J203 1880300 1 2 3 GND VDD5V GND VDD5V 10_CLOCK 10_SCLK MISO CSNS 3 HDR TH 1X3 1 2 3 J006 20_CLOCK 20_SCLK Default Setting: short 1-2 06_CLOCK 06_MOSI 06_SCLK CSB 1K 06_IN0 06_IN1 10_IN0 10_IN1 20_IN0 20_IN1 50_IN0 10_RSTB 06_SYNC 06_FSB 06_FSOB 10K 10K R503 R504 50_SCLK 10K DNP 10K DNP 10K 10K 10K DNP 10K DNP R501 R502 R103 R104 R101 R102 50_CLOCK GND D208 10K 1880300 R221 D608 R621 10K 06_HS1 06_HS0 RED 0.022UF D607 1N4004 C606 R620 10K GND 0.1uF C604 0.022UF C605 R219 10K R619 10K ORANGE D604 1K R618 R217 10K D603 4 7 GND 06_FSOB 06_FSB 06_CSNS 23 19 20 4 7 0.1uF C602 MC20XS4200 (PQFN) 20_RSTB CSB 20_IN0 20_IN1 8 11 CONF0 CONF1 IN0 IN1 MC06XSD200FK 9 10 06_CLOCK 06_SCLK 5 6 2 3 06_RSTB CSB Tower 5V selection 10K DNP 10K DNP R201 R202 5 10K DNP 10K DNP R601 R602 06_IN0 06_IN1 U5 13 15 18 21 VDD VPWR1 VPWR2 VPWR3 GND1 GND2 GND3 A C VPWR A C VDD5V C A SI GND 1 24 23 22 5 1 4 2 3 31 32 28 29 SW1 2 GND R003 2.1K R622 2 EVQ-PE105K 50_CSNS 20_CSNS 10_CSNS 06_CSNS VPWR GND SO SYNC HS1 HS0 FSO FS CSNS 16 23 19 20 10_MISO 10_CSNS ORANGE 1 NC9 NC8 NC7 SI CLOCK SCLK RST CS CONF0 CONF1 IN0 IN1 U8 GND 20_RSTB GND 0.1uF C003 CSNS SYNC SO HS1_1 HS1_2 HS1_3 HS0_1 HS0_2 HS0_3 FSO FS CSNS GND 06_RSTB 0.022UF C607 R004 10K VDD5V 1K VPWR VDD5V A 4 7 GND 0.1uF C102 50_SYNC 50_MISO 50_RSTB 10_RSTB R117 10K R119 10K R519 10K 1N4004 D505 ORANGE D504 1K R518 RED D105 1N4004 FIUO: X 1 Sheet 2 of PUBI: ___ SCH-28373 PDF: SPF-28373 Tuesday, August 12, 2014 Date: MainBoard TWR- MC36XSDEVB Document Number GND RED single config J002 = 1 J003 = 0 J004 = 1 J005 = 0 daisy chain config J002 = 0 J003 = 1 J004 = 0 J005 = 1 0.022UF 50_HS0 J604 3 D508 Rev B 1880300 1 2 R521 10K 50_HS1 D108 10K Default Setting: J002, J004 Open J003, J005 Short GND RED GND D506 C506 RED D507 R520 10K GND 0.1uF C504 GND 0.022UF FCP: ___ HDR 1X2 TH MISO HDR 1X2 TH HDR 1X2 TH C106 J103 R1211880300 10_HS1 1 10_HS0 2 D106 1N4004 0.022UF 0.022UF C105 GND 0.1uF C104 C505 Size C Page Title: 10_MOSI HDR 1X2 TH ICAP Classification: Drawing Title: J005 50_MISO J004 J003 J002 1 1N4004 D107 R120 10K ORANGE D104 1K R118 D503 R517 10K D103 06_MISO GND MC50XS4200EK 26 7 14 13 12 21 20 19 50_CSNS ORANGE 27 30 9 GND 0.1uF C502 MC50XS4200 (SOIC) 20_MISO 50_CLOCK 50_SCLK 50_RSTB CSB 50_IN0 12 10_MOSI CLOCK SCLK RST CS CONF0 CONF1 IN0 IN1 MC10XSD200FK 9 10 8 11 10_CLOCK 10_SCLK 5 6 2 3 U6 VDD5V MC10XS4200 (PQFN) 10_RSTB CSB 10_IN0 10_IN1 2 A C 4 A C C A A C A C C A MC06XS4200 (PQFN) C A A C 13 15 18 21 VDD VPWR1 VPWR2 VPWR3 GND1 GND2 GND3 14 17 22 C A C A 6 VDD 14 17 22 A C A C A C A C VDD VPWR1 VPWR2 VPWR3 GND1 GND2 GND3 14 17 22 33 VPWR A C A C A C C A 13 15 18 21 NC6 NC5 18 17 GND1 GND2 8 25 NC4 NC3 NC2 NC1 16 15 11 10 C A A C A C 2 1 2 1 2 1 2 1 C C A Freescale Semiconductor A A B C D 6 C 5 Schematics Schematics Figure 25. Schematic 1 KTTWRMC36XSDUG, Rev. 1.0 25 26 A B C D 2 2 2 2 2 AN1 AN5 2 2 PWM0 SPI0_MISO SPI0_MOSI SPI0_CLK GPIO6 GPIO3 GPIO5 GPIO7 GPIO8 GPIO9 GPIO4 GPIO2 GPIO1 IRQ_A IRQ_D IRQ_F 2 2 2 2 2 2 2 2 2 2 2 PWM0 GPIO6 SPI0_MISO SPI0_MOSI SPI0_CLK AN1 AN5 GPIO3 GPIO5 GPIO7 GPIO8 GPIO9 GPIO4 GPIO2 GPIO1 IRQ_A IRQ_D IRQ_F 5 5 3V3 5V GND B1 B2 B3 ETH_COL ETH_RXER ETH_TXCLK ETH_TXEN ETH_TXER ETH_TXD3 ETH_TXD2 ETH_TXD1 ETH_TXD0 ELE_PS_SENSE_1 B4 B5 GND B6 GND SPI1_CLK B7 SPI1_CS1 B8 SPI1_CS0 B9 SPI1_MOSI B10 SPI1_MISO B11 GND B12 B13 B14 B15 B16 B17 B18 B19 B20 B21 GPIO1 B22 GPIO2 B23 GPIO3 B24 CLKIN0 B25 CLKOUT1 B26 GND B27 AN7 B28 AN6 B29 AN5 B30 AN4 B31 GND B32 DAC1 B33 TMR3 B34 TMR2 B35 GPIO4 B36 3V3 B37 PWM7 B38 PWM6 B39 PWM5 B40 PWM4 B41 CANRX B42 CANTX B43 CAN SPI0_MISO B44 SPI0_MOSI B45 SPI0_CS0 B46 SPI0_CS1 B47 SPI0_CLK B48 B49 GND B50 SCL1 B51 SDA1 B52 GPIO5 USB_DP_PDOWN B53 USB_DM_PDOWN B54 IRQ_H B55 IRQ_G B56 IRQ_F B57 IRQ_E B58 IRQ_D B59 IRQ_C B60 IRQ_B B61 IRQ_A B62 FB_ALE/FB_CS1_B B63 FB_CS0_B B64 B65 GND FB_AD15 B66 FB_AD16 B67 FB_AD17 B68 FB_AD18 B69 FB_AD19 B70 FB_R/W_B B71 FB_OE_B B72 FB_D7 B73 FB_D6 B74 FB_D5 B75 FB_D4 B76 FB_D3 B77 FB_D2 B78 FB_D1 B79 FB_D0 B80 B81 B82 3V3 3V3 PRIMARY ETH_CRS ETH_MDC_1 ETH_MDIO_1 ETH_RXCLK_1 ETH_RXDV_1 ETH_RXD3 ETH_RXD2 ETH_RXD1_1 ETH_RXD0_1 I2S0_MCLK I2S0_DOUT_SCK I2S0_DOUT_WS I2S0_DIN0 I2S0_DOUT0 GND_12 AN3 AN2 AN1 AN0 GND_13 DAC0 TMR1 TMR0 GPIO6 3.3V_6 PWM3 PWM2 PWM1 PWM0 UART0_RX UART0_TX UART1_RX UART1_TX VSSA VDDA CAN1_RX CAN1_TX GND_14 GPIO14 GPIO15 GPIO16/SPI0_WP/IO2 GPIO17 USB0_DM USB0_DP USB0_ID USB0_VBUS I2S0_DIN_SCK I2S0_DIN_WS I2S0_DIN1 I2S0_DOUT1 RSTIN RSTOUT CLKOUT0 GND_15 EBI_AD14 EBI_AD13 EBI_AD12 EBI_AD11 EBI_AD10 EBI_AD9 EBI_AD8 EBI_AD7 EBI_AD6 EBI_AD5 EBI_AD4 EBI_AD3 EBI_AD2 EBI_AD1 EBI_AD0 GND_16 3.3V_7 5V_2 GND_9 3.3V_4 3.3V_5 GND_10 GND_11 I2C0_SCL I2C0_SDA GPIO9/UART1_CTS GPIO8/SDHC_D2 GPIO7/SD_WP_DET PCI EXPRESS TOWER SYSTEM ETH_COL_1 ETH_RXER_1 ETH_TXCLK_1 ETH_TXEN_1 ETH_TXER ETH_TXD3 ETH_TXD2 ETH_TXD1_1 ETH_TXD0_1 GPIO1/UART1_RTS GPIO2/SDHC_D1 GPIO3 CLKIN0 CLKOUT1 GND_4 AN7 AN6 AN5 AN4 GND_5 DAC1 TMR3 TMR2 GPIO4 3.3V_2 PWM7 PWM6 PWM5 PWM4 CAN0_RX CAN0_TX 1WIRE SPI0_MISO/IO1 SPI0_MOSI/IO0 SPI0_CS0 SPI0_CS1 SPI0_CLK GND_6 I2C1_SCL I2C1_SDA GPIO5/SPI0_HOLD/IO3 RSRV_B53 RSRV_B54 IRQ_H IRQ_G IRQ_F IRQ_E IRQ_D IRQ_C IRQ_B IRQ_A EBI_ALE/EBI_CS1 EBI_CS0 GND_7 EBI_AD15 EBI_AD16 EBI_AD17 EBI_AD18 EBI_AD19 EBI_R/W EBI_OE EBI_D7 EBI_D6 EBI_D5 EBI_D4 EBI_D3 EBI_D2 EBI_D1 EBI_D0 GND_8 3.3V_3 5V_1 GND_1 3.3V_1 ELE_PS_SENSE_1 GND_2 GND_3 SDHC_CLK/SPI1_CLK SDHC_D3/SPI1_CS1 SDHC_D3/SPI1_CS0 SDHC_CMD/SPI1_MOSI SDHC_D0/SPI1_MISO J2A PRIMARY ELEVATOR 4 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A23 A24 A25 A26 A27 A28 A29 A30 A31 A32 A33 A34 A35 A36 A37 A38 A39 A40 A41 A42 A43 A44 A45 A46 A47 A48 A49 A50 A51 A52 A53 A54 A55 A56 A57 A58 A59 A60 A61 A62 A63 A64 A65 A66 A67 A68 A69 A70 A71 A72 A73 A74 A75 A76 A77 A78 A79 A80 A81 A82 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 4 3V3 FB_AD14 FB_AD13 FB_AD12 FB_AD11 FB_AD10 FB_AD9 FB_AD8 FB_AD7 FB_AD6 FB_AD5 FB_AD4 FB_AD3 FB_AD2 FB_AD1 FB_AD0 TMR7 TMR6 TMR5 TMR4 RSTIN_B RSTOUT_B CLKOUT0 GND GND GPIO14 GPIO15 GPIO16 GPIO17 USB_DM USB_DP USB_ID USB_VBUS GND AN3 AN2 AN1 AN0 GND DAC0 TMR1 TMR0 GPIO6 3V3 PWM3 PWM2 PWM1 PWM0 RXD0 TXD0 RXD1 TXD1 GND !" ETH_CRS ETH_MDC ETH_MDIO ETH_RXCLK ETH_RXDV ETH_RXD3 ETH_RXD2 ETH_RXD1 ETH_RXD0 SSI_MCLK SSI_BCLK SSI_FS SSI_RXD SSI_TXD 5V GND 3V3 3V3 GND GND SCL0 SDA0 GPIO9 GPIO8 GPIO7 5V 3 3 3V3 GND D5 D6 D7 D8 D9 D10 D11 GND S_GPIO6 S_GPIO7 LCD_D12 / LCD12 LCD_D13 / LCD13 LCD_D14 / LCD14 IRQ_P IRQ_O IRQ_N IRQ_M IRQ_L IRQ_K IRQ_J IRQ_I LCD_D18 / LCD18 LCD_D19 / LCD19 GND FB_AD20 / LCD42 FB_AD21 / LCD43 FB_AD22 / LCD44 FB_AD23 / LCD45 FB_AD24 / LCD46 FB_AD25 / LCD47 FB_AD26 / LCD48 FB_AD27 / LCD49 FB_AD28 / LCD50 FB_AD29 / LCD51 FB_AD30 / LCD52 FB_AD31 / LCD53 LCD_D20 / LCD20 LCD_D21 / LCD21 LCD_D22 / LCD22 GND 3V3 AN13 AN12 GND LCD_CLK / LCD26 TMR11 TMR10 S_GPIO4 3V3 PWM15 PWM14 PWM13 PWM12 CANRX1 CANTX1 S_GPIO5 LCD_OE / LCD27 LCD_D0 / LCD0 LCD_D1 / LCD1 LCD_D2 / LCD2 LCD_D3 / LCD3 D29 D30 D31 D32 D33 D34 D35 D36 D37 D38 D39 D40 D41 D42 D43 D44 D45 D46 D47 D48 D49 D50 D51 D52 D53 D54 D55 D56 D57 D58 D59 D60 D61 D62 D63 D64 D65 D66 D67 D68 D69 D70 D71 D72 D73 D74 D75 D76 D77 D78 D79 D80 D81 D82 S_ETH_COL D12 S_ETH_RXER D13 S_ETH_TXCLK D14 S_ETH_TXEN D15 S_GPIO1 D16 S_GPIO2 D17 S_GPIO3 D18 S_ETH_TXD1 D19 S_ETH_TXD0 D20 USB1_NEXT D21 USB1_DIR D22 USB_DATA5 D23 USB_DATA6 D24 USB_DATA7 D25 D26 GND LCD_HSYNC / LCD24 D27 LCD_VSYNC / LCD25 D28 GND GND SPI2_CLK SPI2_CS1 SPI2_CS0 SPI2_MOSI SPI2_MISO D1 5V D2 GND D3 3V3 ELE_PS_SENSE_2 D4 ELEVATOR 5V_4 GND_25 3.3V_11 3.3V_12 GND_26 GND_27 I2C2_SCL I2C2_SDA GPIO25 ULPI_STOP ULPI_CLK PCI EXPRESS TOWER SYSTEM 2 SECONDARY ETH_COL_2 GPIO26 ETH_RXER_2 ETH_MDC_2 ETH_TXCLK_2 ETH_MDIO_2 ETH_TXEN_2 ETH_RXCLK_2 GPIO18 ETH_RXDV_2 GPIO19/SDHC_D4 GPIO27/SDHC_D6 GPIO20/SDHC_D5 GPIO28/SDHC_D7 ETH_TXD1_2 ETH_RXD1_2 ETH_TXD0_2 ETH_RXD0_2 ULPI_NEXT/USB_HS_DM ULPI_DATA0/I2S1_MCLK ULPI_DIR/USB_HS_DP ULPI_DATA1/I2S1_DOUT_SCK UPLI_DATA5/USB_HS_VBUS ULPI_DATA2/I2S1_DOUT_WS ULPI_DATA6/USB_HS_ID ULPI_DATA3/I2S1_DIN0 ULPI_DATA7 ULPI_DATA4/I2S1_DOUT0 GND_20 GND_28 LCD_HSYNC/LCD_P24 AN11 LCD_VSYNC/LCD_P25 AN10 AN13 AN9 AN12 AN8 GND_21 GND_29 LCD_CLK/LCD_P26 GPIO29/UART2_DCD TMR11 TMR9 TMR10 TMR8 GPIO21 GPIO30/UART3_DCD 3.3V_9 3.3V_13 PWM15 PWM11 PWM14 PWM10 PWM13 PWM9 PWM12 PWM8 CAN2_RX UART2_RXD/TSI0 CAN2_TX UART2_TXD/TSI1 LCD_CONTRAST UART2_RTS/TSI2 LCD_OE/LCD_P27 UART2_CTS/TSI3 LCD_D0/LCD_P0 UART3_RXD/TSI4 LCD_D1/LCD_P1 UART3_TXD/TSI5 LCD_D2/LCD_P2 UART3_RTS/CAN3_RX LCD_D3/LCD_P3 UART3_CTS/CAN3_TX GND_22 GND_30 GPIO23 LCD_D4/LCD_P4 GPIO24 LCD_D5/LCD_P5 LCD_D12/LCD_P12 LCD_D6/LCD_P6 LCD_D13/LCD_P13 LCD_D7/LCD_P7 LCD_D14/LCD_P14 LCD_D8/LCD_P8 IRQ_P/SPI2_CS2 LCD_D9/LCD_P9 IRQ_O/SPI2_CS3 LCD_D10/LCD_P10 IRQ_N LCD_D11/LCD_P11 IRQ_M I2S1_DIN_SCK IRQ_L I2S1_DIN_WS IRQ_K I2S1_DIN1 IRQ_J I2S1_DOUT1 IRQ_I LCD_D15/LCD_P15 LCD_D18/LCD_P18/SD_RX_0+ LCD_D16/LCD_P16/SD_GND LCD_D19/LCD_P19/SD_RX_0LCD_D17/LCD_P17/SD_GND GND_23 GND_31 EBI_AD20/LCD_P42/SD_GND EBI_BE_32_24/LCD_P28/SD_TX_0+ EBI_AD21/LCD_P43/SD_GND EBI_BE_23_16/LCD_P29/SD_TX_0EBI_AD22/LCD_P44/SD_RX_1+ EBI_BE_15_8/LCD_P30/SD_GND EBI_AD23/LCD_P45/SD_RX_1EBI_BE_7_0/LCD_P31/SD_GND EBI_AD24/LCD_P46/SD_GND EBI_TSIZE0/LCD_P32/SD_TX_1+ EBI_AD25/LCD_P47/SD_GND EBI_TSIZE1/LCD_P33/SD_TX_1EBI_AD26/LCD_P48/SD_RX_2+ EBI_TS/LCD_P34/SD_GND EBI_AD27/LCD_P49/SD_RX_2EBI_TBST/LCD_P35/SD_GND EBI_AD28/LCD_P50/SD_GND EBI_TA/LCD_P36/SD_TX_2+ EBI_AD29/LCD_P51/SD_GND EBI_CS4/LCD_P37/SD_TX_2EBI_AD30/LCD_P52/SD_RX_3+ EBI_CS3/LCD_P38/SD_GND EBI_AD31/LCD_P53/SD_RX_3EBI_CS2/LCD_P39/SD_GND LCD_D20/LCD_P20/SD_GND EBI_CS1/LCD_P40/SD_TX_3+ LCD_D21/LCD_P21/SD_REFCLK+ GPIO31/LCD_P41/SD_TX_3LCD_D22/LCD_P22/SD_REFCLKLCD_D23/LCD_P23/SD_GND GND_24 GND_32 3.3V_10 3.3V_14 5V_3 GND_17 3.3V_8 ELE_PS_SENSE_2 GND_18 GND_19 SPI2_CLK SPI2_CS1 SPI2_CS0 SPI2_MOSI SPI2_MISO J2B SECONDARY 2 C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 C31 C32 C33 C34 C35 C36 C37 C38 C39 C40 C41 C42 C43 C44 C45 C46 C47 C48 C49 C50 C51 C52 C53 C54 C55 C56 C57 C58 C59 C60 C61 C62 C63 C64 C65 C66 C67 C68 C69 C70 C71 C72 C73 C74 C75 C76 C77 C78 C79 C80 C81 C82 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 GND FCP: ___ FIUO: X Thursday, July 31, 2014 1 Sheet 3 of PUBI: ___ SCH-28373 PDF: SPF-28373 Document Number Date: Elevator Connectors TWR- MC36XSDEVB Size C Page Title: ICAP Classification: Drawing Title: GPIO / LCD41 LCD_D23 / LCD23 GND 3V3 S_GPIO9 S_ETH_MDC S_ETH_MDIO S_ETH_RXCLK S_ETH_RXDV S_GPIO10 S_GPIO11 S_ETH_RXD1 S_ETH_RXD0 USB_DATA0 USB_DATA1 USB_DATA2 USB_DATA3 USB_DATA4 GND AN11 AN10 AN9 AN8 GND S_GPIO12 TMR9 TMR8 S_GPIO13 3V3 PWM11 PWM10 PWM9 PWM8 RXD2 TXD2 RTS2 CTS2 RXD3 TXD3 RTS3 CTS3 GND LCD_D4 / LCD4 LCD_D5 / LCD5 LCD_D6 / LCD6 LCD_D7 / LCD7 LCD_D8 / LCD8 LCD_D9 / LCD9 LCD_D10 / LCD10 LCD_D11 / LCD11 TMR16 TMR15 TMR14 TMR13 LCD_D15 / LCD15 LCD_D16 / LCD16 LCD_D17 / LCD17 GND FB_BE3 / LCD28 FB_BE2 / LCD29 FB_BE1 / LCD30 FB_BE0 / LCD31 FB_TSIZE0 / LCD32 FB_TSIZE1 / LCD33 FB_TS / LCD34 FB_TBST / LCD35 TB_TA / LCD36 FB_CS4 / LCD37 FB_CS3 / LCD38 FB_CS2 / LCD39 FB_CS1 / LCD40 5V GND 3V3 3V3 GND GND SCL2 SDA2 S_GPIO8 USB_STOP USB_CLK 5V 1 3 Rev B A B C D Schematics Figure 26. Schematic 2 KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor Board Layout 7 7.1 Board Layout Silkscreen KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 27 References 8 References Following are URLs where you can obtain information on related Freescale products and application solutions: Freescale.com Support Pages Description URL Tower System Tower System Modular Development Board Platform http://www.freescale.com/tower Tower System Kinetis Tower System Module http://www.freescale.com/TWR-K70F120M Tower System Kinetis Tower System Module http://www.freescale.com/TWR-K20D72M CodeWarrior Software http://www.freescale.com/webapp/sps/site/homepage.jsp?code=CW_HOME&tid=vanCODEWARRIOR 8.1 Support Visit www.freescale.com/support for a list of phone numbers within your region. 8.2 Warranty Visit www.freescale.com/warranty for a list of phone numbers within your region. KTTWRMC36XSDUG, Rev. 1.0 28 Freescale Semiconductor Revision History 9 Revision History Revision Date 1.0 12/2014 Description of Changes * Initial release KTTWRMC36XSDUG, Rev. 1.0 Freescale Semiconductor 29 How to Reach Us: Information in this document is provided solely to enable system and software implementers to use Freescale products. Home Page: freescale.com There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based Web Support: freescale.com/support Freescale reserves the right to make changes without further notice to any products herein. Freescale makes no on the information in this document. warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. "Typical" parameters that may be provided in Freescale data sheets and/or specifications can and do vary in different applications, and actual performance may vary over time. All operating parameters, including "typicals," must be validated for each customer application by customer's technical experts. Freescale does not convey any license under its patent rights nor the rights of others. Freescale sells products pursuant to standard terms and conditions of sale, which can be found at the following address: freescale.com/SalesTermsandConditions. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. SMARTMOS is a trademark of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. (c) 2014 Freescale Semiconductor, Inc. Document Number: KTTWRMC36XSDUG Rev. 1.0 12/2014