Freescale Semiconductor KIT912F634EVME User Manual

Featuring the mm912f634 integrated s12-based relay driver with lin device

Advertisement

Quick Links

Freescale Semiconductor, Inc.
User's Guide
KIT912F634EVME Evaluation Board
Featuring the MM912F634 Integrated S12-Based Relay Driver with LIN Device
1 Kit Contents/Packing List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2 Jump Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 Important Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4 KIT912F634EVME Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5 Required Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6 Setup Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
7 Hardware Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
8 Software Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
9 Schematics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
10 Board Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
11 Bill of Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
12 References. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
13 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
© Freescale Semiconductor, Inc., 2013. All rights reserved.
Figure 1. KIT912F634EVME Evaluation Board
Document Number: KT912F634UG
Rev. 2.0, 10/2013

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KIT912F634EVME and is the answer not in the manual?

Questions and answers

Summary of Contents for Freescale Semiconductor KIT912F634EVME

  • Page 1: Table Of Contents

    13 Revision History ..................44 © Freescale Semiconductor, Inc., 2013. All rights reserved.
  • Page 2: Kit Contents/Packing List

    Kit Contents/Packing List Kit Contents/Packing List • MM912F634 Evaluation Board (EVB) • Cable, 6FT. USB2.0 A-M to B-M • Warranty Card, Freescale KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 3: Jump Start

    Jump Start Jump Start • Go to www.freescale.com/analogtools • Locate your kit • Review your Tool Summary Page • Look for Jump Start Your Design • Download documents, software and other information KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 4: Important Notice

    Freescale was negligent regarding the design or manufacture of the part.Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners.
  • Page 5: Kit912F634Evme Introduction

    KIT912F634EVME Introduction KIT912F634EVME Introduction Freescale Semiconductor’s KIT912F634EVME is a system solution which gives the user the capability to easily evaluate most of the features provided by the MM912F634 - integrated dual low-side and dual high-side switch with embedded MCU and LIN transceiver for relay drivers. The MM912F634 features two dice in a single package.
  • Page 6: Required Equipment

    (GND). Alternatively, the LIN connector can be used for powering the board. The supply voltage has to be in the range of 8.0 to 18 V. When power is applied to the KIT912F634EVME, the green power-on LEDs D6 (+5.0 V), D7 (supply), and D8 (+2.5 V) are lit when power is present and the corresponding jumpers JP4, JP8, JP9 are closed.
  • Page 7 RST signal from TBDML interface disabled, external BDM interface can open be used (connected to J4) Power Supply (+12 V) V_SUP Optional LIN Connector Power Figure 2. KIT912F634EVMEBasic Hardware Setup KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 8: Hardware Description

    All grounds are connected together at a single point on the board, located under the MM912F634. The bottom copper layer of the EVM and copper areas on the top surface are both assigned to GND. Figure 3. Evaluation Module Board KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 9: Jumper Settings

    EVM with location of all jumpers. Table 3 summarizes the jumper settings. JP11 JP10 JP12 JP13 JP14 JP15 Figure 4. Position of Jumpers on the EVM KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 10: User's Guide Rev. 2.0

    BDM signal from TBDML interface disabled, external BDM interface can be used (connected open to J4) JP15 RST signal from TBDML interface enabled closed RST signal from TBDML interface disabled, external BDM interface can be used (connected open to J4) KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 11: Connector Description

    BDM (J4) Figure 5. Connectors 7.3.1 Connectors Table 4. Connector Designations Connector Location LIN Connector Power Connector J2 & J3 BDM Connector Signal Connectors J5, J6, J7 &J8 USB Connector J101 J102 KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 12 A standard BDM connector (header 2x3, 2.54 mm (0.1”) pitch) is placed on the EVB, to provide the user an external BDM programming/debugging interface connection. The pin assignment is listed in Table Table 6. BDM Connector Pin No. Description BKGD /RESET +5.0 V KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 13 Table 8. Signal Connector J6 Pin No. Description HS1 output Wake-up/analog input L0 Wake-up/analog input L1 Wake-up/analog input L2 Wake-up/analog input L3 Wake-up/analog input L4 Wake-up/analog input L5 Supply voltage Analog ground KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 14 7.3.8 Signal Connector J8 The J8 connector is header type 2x2, 0.1” (2.54 mm) pitch. Table 10. Signal Connector J8 Pin No. Description ISENSE low Analog ground ISENSE high Analog ground KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 15: Usb Connector J

    +5.0 V (VDDX out) TP16 TP18 ISENSE_H TP19 ISENSE_L TP20 Hall SUP TP21 2.5 V (VDD out) TP22 +5.0 V (VDDX out) TP23 TP10 TP24 AN_GND TP11 TP25 TP12 TP26 TP13 TP27 KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 16: Software Description

    Software Description Software Setup The KIT912F634EVME is designed to communicate with the PC or notebook (as the master) via the USB interface. The communication is bidirectional. The orders are sent from master, and the status information is sent from the slave (kit) to the master. The communication methods are described in Figure 6.
  • Page 17 Depending on your version of Windows, the TBDML interface may not be compatible. The BDM interface should be used through the BDM connector’s J4. Open JP14 (BDM signal) and JP15 (RST signal) to use the BDM interface. KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 18 This is to set the SCI module used (base address of the SCI module used), size of buffer, enable/disable recorder or scope, mode of operation (interrupt driven or periodic calling), etc. KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 19 Software Description 8.3.2.2 FreeMASTER with the KIT912F634EVME Communication between the PC and the embedded application is via the BDM interface. There are several benefits offered by this solution: • It is not necessary to add the FreeMASTER source files to the embedded application •...
  • Page 20 The MM912F634_master.pmp file contains information regarding communication with the slave, as well as the information on the variables and the resource files location. By default, the application starts to communicate with the slave (KIT912F634EVME board) immediately at startup. • If the slave has no power (USB cable connected, but no supply applied), there is no special error message displayed.
  • Page 21 Figure 10. Options GUI with Comm Tab Displayed “FreeMASTER OSBDM Communication Plug-in” must be selected. Click the “Configure...” button to check if the additional settings are correct according to the following dialog window: Figure 11. Configuring OSBDM Communication KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 22 Click on the menu “Project/Options...”, and then in the dialog window, select “MAP Files” tab. The “P&E_Multilink_CyclonePro.abs” file must be located in the “\src” directory together with the HTML files. Check the proper selection of the file format (“Binary ELF with DWARF1 or DWARF2 dbg format“). KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 23 Figure 7, but the following information appears on the screen, then there is a problem with the location of the source files. Figure 15. Network Error Indicating Problem Locating Source Files KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 24 Start of the GUI and Troubleshooting (via BDM) "click in the menu "Project/Options...", and then in the dialog window select "Comm" tab. Check if the right communication way is selected: Figure 17. Options GUI with Comm Tab Displayed KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 25 Figure 18. BDM Communication GUI Click on "Rescan BDM" and next on " Test Connection". A window should appear stating that the BDM cable is online. Figure 19. FreeMASTER BDM Plug-in Status Window KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 26 0xFF, the message “Wrong number” will appear in this message box. At the top of the control page is a two-line message box showing the BDM protocol error messages. Figure 21. FreeMASTER Direct Register Access Control Page KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 27 LIN module High side, low side switches and PWM control ADC module Low power modes control BDM communication error “Back” button to return to the start page KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 28 The watchdog is enabled after the reset. The user can disable the watchdog, causing the analog die to generate a core reset. The analog die watchdog can be disabled by applying 8.0 V to pin TCLK. KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 29 PTB2 output pin. HS/LS switches control Enabling the PWM channels Toggling the channels setting Duty-cycle slider Frequency slider Enabling the PWM on the switches Figure 25. HS and LS Switches Control, PWM Module KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 30 Forced wake-up - there is a fixed time during which the device is in low power mode • Wake-up by LIN module • External reset (reset button SW1) - only from STOP mode KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 31 FreeMASTER variables and watchdog servicing (if enabled). Other than this, only one interrupt routine is implemented (D2D_ISR), which handles the SCI receive interrupt routine used by the LIN slave driver. KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 32 The value of “fm_read_write“ is then checked to see, if a write or read command is requested.The value of the variable “fm_size” is evaluated next, to determine if the data is 8 or 16-bit size. KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 33 19200). The size of the messages and the ID of the messages can be changed or added in the file “slave.id“. The ID shall be assigned, based on the LIN 1.3 protocol specification. KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 34: Schematics

    Schematics Schematics Figure 30. Evaluation Board Schematic, Part 1 KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 35 Schematics Figure 31. Evaluation Board Schematic, Part 2 KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 36: Board Layout

    Board Layout Board Layout 10.1 Assembly Layer Top KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 37 Board Layout 10.2 Assembly Layer Bottom Note: This image is an exception to the standard top-view mode of representation used in this document. It has been flipped to show a bottom view. KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 38 Board Layout 10.3 Top Layer Routing KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 39 Board Layout 10.4 Bottom Layer Routing KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 40: Bill Of Materials

    Banana socket, 4.0 mm, Hirschman PB4BLACK BLACK J4,J5 Header 2.54 mm, 3x2 Molex 90131-0763 Header 2.54 mm, 5x2 Molex 90131-0765 Header 2.54 mm, 9x2 Molex 90131-0769 Header 2.54 mm, 2x2 Molex 90131-0762 KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 41 MM912F634CV1AE Based Relay Driver with Semiconductor U101 8-bit microcontroller Freescale MC908JB8JDWE Semiconductor U102 Quad Noninverting Buffer, On Semi MC74HC125ADG 3 State Y101 6.0 MHz Crystal, 6.0 MHz, SMD Vishay Dale XT49M-206M KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 42 Note: Freescale does not assume liability, endorse, or warrant components from external manufacturers that are referenced in circuit drawings or tables. While Freescale offers component recommendations in this configuration, it is the customer’s responsibility to validate their application. KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 43: References

    Power Management www.freescale.com/powermanagement Home Page 12.1 Support Visit www.freescale.com/support for a list of phone numbers within your region. 12.2 Warranty Visit www.freescale.com/warranty for a list of phone numbers within your region. KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 44: Revision History

    Revision History Revision History Revision Date Description of Changes 11/2010 Initial Release 10/2013 Added new chapter: “Start of the GUI and Troubleshooting (via BDM)” KT912F634UG User’s Guide Rev. 2.0 10/2013 Freescale Semiconductor, Inc.
  • Page 45 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. MagniV (912_634) and SMARTMOS are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners.

Table of Contents