FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide Doc. No. 002-09750 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 http://www.cypress.com Copyrights Copyrights © Cypress Semiconductor Corporation, 2011-2016. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in lifesupport systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Trademarks All other trademarks or registered trademarks referenced herein are property of the respective corporations. Source Code Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress. Disclaimer CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Use may be limited by and subject to the applicable Cypress software license agreement. FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 2 Contents 1. Overview ......................................................................................................................................................................... 4 1.1 1.2 1.3 2. Abstract ................................................................................................................................................................. 4 Features of the ADA-FM3-100PMC-MC adapter board ......................................................................................... 4 Features of the SK-FM3-100PMC (base board, not included) ............................................................................... 4 Hardware ........................................................................................................................................................................ 5 2.1 2.2 Installation ............................................................................................................................................................. 5 Jumper settings ..................................................................................................................................................... 6 2.2.1 Silkplot containing jumper settings ............................................................................................................ 6 2.2.2 MotorDrive connector................................................................................................................................ 7 2.2.3 PWM and Waveform Generator select jumper settings ............................................................................ 8 2.2.4 ADC select jumper settings....................................................................................................................... 9 2.2.5 Other jumper settings.............................................................................................................................. 10 2.2.6 Hall sensor input ..................................................................................................................................... 10 2.2.7 Quadrature encoder input ....................................................................................................................... 10 3. Information in the WWW ............................................................................................................................................. 11 4. China-RoHS regulation ............................................................................................................................................... 12 5. Recycling ...................................................................................................................................................................... 13 Revision History ................................................................................................................................................................... 14 Document Revision History ........................................................................................................................................... 14 FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 3 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 1.3 Features of the ADA-FM3-100PMC-MC adapter board 34-pin connector, compatible to different Cypress inverter boards such as SK-POWER-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 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) Note: This board must only be used for test applications in an evaluation laboratory environment FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 4 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 Details of evaluation board can be found on: http://www.cypress.com/ada-fm3-100pmc-mc. 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. FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 5 Hardware 2.2 Jumper settings 2.2.1 Silkplot containing jumper settings FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 6 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. FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 7 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-FM3-100PMC. 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. FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 8 Hardware 2.2.4 ADC select jumper settings Jumper JP13 (DC link current) JP14 (Phase A current) JP15 (Phase B current) JP19 (Phase C current) JP20 (DC link voltage) JP22 (Phase A voltage) JP23 (Phase B voltage) JP24 (Phase C voltage) Setting Description 1-2 Connect DC link current signal to AN00 2-3 Connect DC link current signal to AN08 1-2 Connect Phase A current signal to AN01 2-3 Connect Phase A current signal to AN09 1-2 Connect Phase B current signal to AN02 2-3 Connect Phase B current signal to AN10 1-2 Connect Phase C current signal to AN03 2-3 Connect Phase C current signal to AN11 1-2 Connect DC link voltage signal to AN04 2-3 Connect DC link voltage signal to AN12 1-2 Connect Phase A voltage signal to AN05 2-3 Connect Phase A voltage signal to AN13 1-2 Connect Phase B voltage signal to AN06 2-3 Connect Phase B voltage signal to AN14 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. FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 9 Hardware 2.2.5 Other jumper settings Jumper Setting JP12 JP16 Description Open 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 Open Disable PWM LEDs Closed Enable PWM LEDs 1-2 Potentiometer P2 connected to AN07 2-3 Potentiometer P2 connected to AN15 JP17 JP18 JP21 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: X2/X3 Pin Signal MCU input (X2) MCU input (X3) 1 VCC 2 GND 3 Hall A IC01_0 IC10_1 4 Hall B IC02_0 IC11_1 5 Hall C IC03_0 IC12_1 Pins 3-5 are connected to pull-up resistors (10k) which are needed by many hall sensor outputs. 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: J13 pin Signal MCU input (X4) MCU input (X5) 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. FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 10 3. Information in the WWW Information about Products can be found on the following Internet pages: Products http://www.cypress.com/spansionproducts FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 11 4. China-RoHS regulation This board is compliant with China RoHS. FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 12 5. Recycling 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 Cypress. Semiconductor Frankfurter Str. 83-107 D-65479 Raunheim Germany FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 13 Revision History Document Revision History Document Title: FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide Document Number: 002-09750 Revision Issue Date Origin of Description of Change Change ** 02/02/2011 CHRH 01/14/2015 *A 02/02/2016 Initial release Spansionized CHRH Migrated Spansion Guide from MCU-UG-9B0002-11 to Cypress format FM3 Family Adapter Board ADA-FM3-100PMC-MC User Guide, Doc. No. 002-09750 Rev. *A 14