Spansion International Inc. User Guide MCU-UG-9B0002-11 FM3 FAMILY ADAPTER BOARD ADA-FM3-100PMC-MC USER GUIDE Revision History Revision History Date 02-Feb-2011 14-Jan-2015 Issue V1.0 Cha first release V1.1 AEh Spansionized This document contains 16 pages. MCU-UG-9B0002-11 -2- © Spansion Inc Warranty and Disclaimer Warranty and Disclaimer The use of the deliverables (deliverables shall include, but not limited to, software, application examples, hardware, target boards, evaluation boards, starter kits, schematics, engineering samples of IC’s etc.) is subject to the terms and conditions of Spansion LLC and its affiliates (“SPANSION”) as set out below and in (i) the terms and conditions of the License Agreement and/or the Sale and Purchase Agreement and/or any other agreement under which deliverables have been delivered, (ii) the technical descriptions and (iii) all accompanying written materials. 1. Please note that the deliverables are intended for and must only be used for test applications in an evaluation laboratory environment. 2. The software deliverables are provided on an as-is basis without charge and are subject to alterations. It is the user’s obligation to fully test the software in its environment and to ensure proper functionality, qualification and compliance with component specifications. 3. Regarding hardware deliverables, the following limited warranty shall apply: Except as otherwise provided in the following paragraphs, for a period of one (1) year from date of shipment to customer (“Warranty Period”), SPANSION warrants the hardware deliverables (i) are free of defects in material and workmanship, and (ii) conform to SPANSION applicable data sheet specifications (available at www.spansion.com or upon request). This warranty does not extend beyond the first purchaser of the deliverables. The liability of SPANSION under this warranty is limited, at SPANSION’s option, solely to repair the deliverable, to send replacement deliverable, or to make an appropriate credit adjustment or refund in an amount not to exceed the original purchase price actually paid for the deliverable returned to SPANSION. SPANSION’S warranty obligations are conditioned upon the following: (a) SPANSION is promptly notified in writing by customer during the applicable warranty period of any defect or nonconformance in the deliverable, (b) customer obtains authorization from SPANSION to return the defective deliverable, (c) the defective deliverable is returned to SPANSION in accordance with SPANSION’S shipping instructions set forth below, and (d) SPANSION’S examination of such deliverable discloses to its satisfaction that any defect or nonconformance actually existed and was not caused by improper use or operation outside of the data sheet specifications for the deliverable, abuse, negligence, improper installation, accident, loss or damage in transit, or unauthorized repair or alteration by a person other than SPANSION. Customer shall ship such defective deliverable to SPANSION via SPANSION’S carrier, collect. Risk of loss will transfer to SPANSION when the defective deliverable is provided to SPANSION’S carrier. If customer fails to adhere to these warranty returns guidelines, customer shall assume all risk of loss and shall pay for all freight to SPANSION’S specified location. This warranty shall not apply to any deliverables that have been repaired or altered, except those which have been repaired or altered by SPANSION. The aforementioned provisions do not extend the original © Spansion Inc. -3- MCU-UG-9B0002-11 Warranty and Disclaimer warranty period of any deliverable that has either been repaired or replaced by Seller. THESE WARRANTIES ARE IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, AND ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. SPANSION NEITHER ASSUMES NOR AUTHORIZES ANY OTHER PERSON TO ASSUME FOR IT ANY OTHER LIABILITIES. THE FOREGOING CONSTITUTES CUSTOMER’S SOLE AND EXCLUSIVE REMEDY FOR THE FURNISHING OF DEFECTIVE OR NONCONFORMING DELIVERABLES. 4. The following limitation of liability shall apply for all deliverables EXCEPT FOR DAMAGES FOR BODILY INJURY OR DEATH, SPANSION SHALL NOT BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, RELIANCE, OR CONSEQUENTIAL DAMAGES, RELIANCE DAMAGES, AND/OR PUNITIVE, OR EXEMPLARY DAMAGES, WHETHER ANY SUCH DAMAGES ARE BASED ON CONTRACT, TORT OR ANY OTHER LEGAL THEORY, AND WHETHER OR NOT SPANSION HAS BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES, AND NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY. REGARDLESS OF THE BASIS ON WHICH CUSTOMER IS ENTITLED TO CLAIM DAMAGES FROM SPANSION (INCLUDING FUNDAMENTAL BREACH, NEGLIGENCE, MISREPRESENTATION, OR OTHER CONTRACT OR TORT CLAIM), SPANSION ENTIRE LIABILITY IN ANY CALENDAR YEAR, REGARDLESS OF THE NUMBER OF CLAIMS, SHALL NOT EXCEED FIFTY PERCENT (50%) OF THE TOTAL AMOUNT PAID BY CUSTOMER TO SPANSION FOR THE DELIVERABLES SOLD IN SUCH CALENDAR YEAR. 5. Should one of the above stipulations be or become invalid and/or unenforceable, the remaining stipulations shall stay in full effect. The contents of this document are subject to change by SPANSION without a prior notice, thus contact SPANSION about the latest one This board and its deliverables must only be used for test applications in an evaluation laboratory environment. MCU-UG-9B0002-11 -4- © Spansion Inc Contents Contents REVISION HISTORY ............................................................................................................ 2 WARRANTY AND DISCLAIMER ......................................................................................... 3 CONTENTS .......................................................................................................................... 5 1 OVERVIEW ...................................................................................................................... 6 1.1 Abstract ................................................................................................................... 6 1.2 Features of the ADA-FM3-100PMC-MC adapter board ........................................... 6 1.3 Features of the SK-FM3-100PMC (base board, not included) ................................. 6 2 HARDWARE .................................................................................................................... 7 2.1 Installation ............................................................................................................... 7 2.2 Jumper settings ....................................................................................................... 8 2.2.1 Silkplot containing jumper settings ............................................................. 8 2.2.2 Motor Drive connector ............................................................................... 9 2.2.3 PWM and Waveform Generator select jumper settings ............................ 10 2.2.4 ADC select jumper settings...................................................................... 11 Other jumper settings ............................................................................................ 12 2.2.5 Hall sensor input ...................................................................................... 12 2.2.6 Quadrature encoder input ........................................................................ 13 3 INFORMATION IN THE WWW....................................................................................... 14 4 CHINA-ROHS REGULATION ........................................................................................ 15 5 RECYCLING .................................................................................................................. 16 © Spansion Inc. -5- MCU-UG-9B0002-11 Chapter 1 Overview 1 Overview 1.1 Abstract The ADA-FM3-100PMC-MC is a adapter board to simplify evaluation of motor control applications. Together with a power stage, such as the SK-POWER-3P-LV2-MC, a complete system can easily be set up with a minimum number of different connections. A single pin header holds all relevant signals to control the inverter and to feed back current and voltage values to the MCU. 1.2 Features of the ADA-FM3-100PMC-MC adapter board 34-pin connector, compatible to different Spansion inverter boards such as SKPOWER-3P-LV2-MC Jumpers to select different MCU pin connections of various resources Connectors for Hall sensors and quadrature encoders DTTI button + LED to test FM3 Waveform Generator PWM shutdown by fault input Six LEDs to show status of each PWM output Two potentiometers, connectable to FM3 ADC pins Long-tail socket connectors allowing to stack two ADA-FM3-100PMC-MC and easy connection of additional circuits All MCU pins stay accessible also when adapter board is mounted on Starter Kit 1.3 Features of the SK-FM3-100PMC (base board, not included) 1x UART-Transceiver (SUB-D9 connector) 1x USB to serial converter (Type-B connector) 1x High-speed CAN-Transceiver (SUB-D9 connector) 1x USB Host / USB Function connector 2x LED-Display (7-Segment) 2x User-button 1x Reset-button, Reset-LED All 100 pins routed to pin-header On-board 5V and 3V voltage regulators, Power-LED USB power-supply (external power supply possible) This board must only be used for test applications in an evaluation laboratory environment. MCU-UG-9B0002-11 -6- © Spansion Inc Chapter 2 Hardware 2 Hardware 2.1 Installation Remove carefully the board from the shipping box and check for any damages. Check the content of the box 1x ADA-FM3-100PMC-MC 1x User guide incl. schematics Disconnect the evaluation board from USB and any external power supply. Attach the adapter board to the evaluation board so that X20-X24 on the bottom side of the adapter board and X20-X24 on the evaluation board align. Press both boards together. If two ADA-FM3-100PMC-MC are used, the two adapter boards can be stacked using the long-tail connectors. Please be sure to set all required jumpers and connect all required cables etc. according to the application before pressing the two ADA-FM3-100PMC-MC boards together, as the jumpers and external connectors of the lower Board are not accessible when the upper board is mounted. NOTE: When using two ADA-FM3-100PMC-MC, the jumpers of both boards should be set in a way that no signal collisions occur. Please check the corresponding jumper setting tables later in this document. Please note that in this case especially the ‘non-default’ jumper settings might require modifications on the SK-FM3-100PMC main board because of existing connections (e.g. 7-Segment LED display, etc.) Please refer to the documentation of the evaluation board for detailed information about the jumper settings of the SK-FM3-100PMC. © Spansion Inc. -7- MCU-UG-9B0002-11 Chapter 2 Hardware 2.2 Jumper settings 2.2.1 Silkplot containing jumper settings MCU-UG-9B0002-11 -8- © Spansion Inc Chapter 2 Hardware 2.2.2 MotorDrive connector The MotorDrive connector can be used to connect an external power stage for motor control. It holds the necessary signals for PWM generation and current / voltage measurement. MotorDrive Connector Pin cross-reference: X1 pin Signal X1 pin Signal 1 GND 2 GND 3 PWM1H 4 PWM1L 5 PWM2H 6 PWM2L 7 PWM3H 8 PWM3L 9 GND 10 GND 11 ext. DC in 12 ext. DC in 13 OPT1 (Brake) 14 OPT2 15 OPT3 16 OPT4 17 OPT5 18 OPT6 (TEMP) 19 DTTI (Fault) 20 DC bus voltage sense 21 Shield ground 22 Phase A voltage sense 23 Shield ground 24 Phase B voltage sense 25 Shield ground 26 Phase C voltage sense 27 Shield ground 28 DC Bus current sense 29 Shield ground 30 Phase A current sense 31 Shield ground 32 Phase B current sense 33 Shield ground 34 Phase C current sense Pins 13 -18 are spare pins and not used by default. They are connected to the pin header X1 as well as X6. They can be used to route additional signals to / from the inverter. Pins 11 and 12 can be used to supply voltage to the MCU board. This function depends on the external inverter. The pins are only connected to X1 and X7. WARNING: Depending on the voltage level coming from the external inverter, the external supply voltage present on X7 MUST NOT be directly connected with VCC of the MCU evaluation board! Connect to the external power supply input of the SK-FM3-100PMC if required. © Spansion Inc. -9- MCU-UG-9B0002-11 Chapter 2 Hardware 2.2.3 PWM and Waveform Generator select jumper settings Jumper JP3 (PWM1H) JP4 (PWM1L) JP5 (PWM2H) JP6 (PWM2L) JP7 (PWM3H) JP9 (PWM3L) JP11 (DTTI) Setting Description 1-2 PWM1H connected to RTO00_0 (WFG0) 2-3 PWM1H connected to RTO10_1 (WFG1) 1-2 PWM1L connected to RTO01_0 (WFG0) 2-3 PWM1L connected to RTO11_1 (WFG1) 1-2 PWM2H connected to RTO02_0 (WFG0) 2-3 PWM2H connected to RTO12_1 (WFG1) 1-2 PWM2L connected to RTO03_0 (WFG0) 2-3 PWM2L connected to RTO13_1 (WFG1) 1-2 PWM3H connected to RTO04_0 (WFG0) 2-3 PWM3H connected to RTO14_1 (WFG1) 1-2 PWM3L connected to RTO05_0 (WFG0) 2-3 PWM3L connected to RTO15_1 (WFG1) 1-2 DTTI (Fault) connected to DTTI0X_0 (WFG0) 2-3 DTTI (Fault) connected to DTTI1X_1 (WFG0) WARNING: The Pins of WFG0 are shared with the 7-segment LED display SEG2 on the SK-FM3100PMC. Therefore, the LED display circuit will act as a pull-up on these pins if WFG0 is selected (Jumpers set to 1-2). This might partly turn on the inverter transistors as long as the MCU pins are in high-Z or input state, e.g. during power-up or debugging. Therefore, it is recommended to disconnect the LEDs by de-soldering RN3 and RN4 when using WFG0. MCU-UG-9B0002-11 - 10 - © Spansion Inc Chapter 2 Hardware 2.2.4 ADC select jumper settings Jumper Setting Description JP13 (DC link current) 1-2 Connect DC link current signal to AN00 2-3 Connect DC link current signal to AN08 JP14 (Phase A current) 1-2 Connect Phase A current signal to AN01 2-3 Connect Phase A current signal to AN09 JP15 (Phase B current) 1-2 Connect Phase B current signal to AN02 2-3 Connect Phase B current signal to AN10 JP19 (Phase C current) 1-2 Connect Phase C current signal to AN03 2-3 Connect Phase C current signal to AN11 JP20 (DC link voltage) 1-2 Connect DC link voltage signal to AN04 2-3 Connect DC link voltage signal to AN12 JP22 (Phase A voltage) 1-2 Connect Phase A voltage signal to AN05 2-3 Connect Phase A voltage signal to AN13 JP23 (Phase B voltage) 1-2 Connect Phase B voltage signal to AN06 2-3 Connect Phase B voltage signal to AN14 JP24 (Phase C voltage) 1-2 Connect Phase C voltage signal to AN07 2-3 Connect Phase C voltage signal to AN15 When using the alternative ADC channels (Jumper set to 2-3), it is recommended to disconnect the 7-segment LED Display SEG1 by removing RN1+RN2 on SK-FM3-100PMC, since these are connected to the same pins as AN08-AN15 and might influence the measurement signals coming from the inverter. © Spansion Inc. - 11 - MCU-UG-9B0002-11 Chapter 2 Hardware 2.2.5 Other jumper settings Jumper Setting Open JP12 JP16 JP21 DTTI button not connected Closed DTTI button connected to WFG input 1-2 Potentiometer P1 connected to AN06 2-3 Potentiometer P1 connected to AN14 Open Shield lines (AGND) of cable not connected to system GND (only AVSS) Closed Shield lines (AGND) of cable connected to system GND and AVSS JP17 JP18 Description Open Disable PWM LEDs Closed Enable PWM LEDs 1-2 Potentiometer P2 connected to AN07 2-3 Potentiometer P2 connected to AN15 2.2.6 Hall sensor input The Hall position sensors present on many BLDC motors can be connected to X2 and X3. The pins are connected as follows: MCU input (X2) MCU input (X3) Hall A IC01_0 IC10_1 4 Hall B IC02_0 IC11_1 5 Hall C IC03_0 IC12_1 X2/X3 Pin Signal 1 VCC 2 GND 3 Pins 3-5 are connected to pull-up resistors (10k) which are needed by many hall sensor outputs. MCU-UG-9B0002-11 - 12 - © Spansion Inc Chapter 2 Hardware 2.2.7 Quadrature encoder input Quadrature encoders can be connected to X4 and X5. The pin-out is compatible to many popular encoders. The pins are connected as follows: MCU input (X4) MCU input (X5) J13 pin Signal 2 VCC5 3 GND 6 A AIN0_0 AIN1_2 8 B BIN0_0 BIN1_2 10 I ZIN0_0 ZIN1_2 other n/c 1 2 3 4 5 6 7 8 9 10 In case an encoder without integrated line driver is used, additional pull-up resistors (2k7) are already mounted on the board (R13-R18). The inverted signals of encoders with integrated line drivers are not used. © Spansion Inc. - 13 - MCU-UG-9B0002-11 Chapter 3 Information in the WWW 3 Information in the WWW Information about SPANSION INC Products can be found on the following Internet pages: Microcontroller Products http://www.spansion.com/Products/microcontrollers Power Management Products http://www.spansion.com/Products/Analog Memory Products http://www.spansion.com/Products/memory For more information about SPANSION INC. http://www.spansion.com MCU-UG-9B0002-11 - 14 - © Spansion Inc Chapter 4 China-RoHS regulation 4 China-RoHS regulation This board is compliant with China RoHS. © Spansion Inc. - 15 - MCU-UG-9B0002-11 Chapter 5 Recycling 5 Recycling Gültig für EU-Länder: Gemäß der Europäischen WEEE-Richtlinie und deren Umsetzung in landesspezifische Gesetze nehmen wir dieses Gerät wieder zurück. Zur Entsorgung schicken Sie das Gerät bitte an die folgende Adresse: CCS Express GMBH c/o Spansion International Inc. Frankfurter Str. 83-107 D-65479 Raunheim Germany Valid for European Union Countries: According to the European WEEE-Directive and its implementation into national laws we take this device back. For disposal please send the device to the following address: CCS Express GMBH c/o Spansion International Inc. Frankfurter Str. 83-107 D-65479 Raunheim Germany MCU-UG-9B0002-11 - 16 - © Spansion Inc