HVP-KV10Z32 User s Guide

Similar documents
HVP-KV31F120M User s Guide

HVP-MC56F82748 User s Guide

TWR-KV10Z32 Sample Code Guide for CodeWarrior Board configuration, software, and development tools

Freedom FRDM-KV31F Development Platform User s Guide

TWR-KV10Z32 Sample Code Guide for IAR Board configuration, software, and development tools

FRDM-KL03Z User s Guide

FRDM-KE02Z User s Manual

FRDM-KL26Z User s Guide

OpenSDA on TWR-KW2x. User s Guide Rev 1.1

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

Quick Start Guide for the Freescale Freedom Development Platform FRDM-KL43Z

Freedom FRDM-MC-LVBLDC Development Platform User s Guide

Quick Start Guide for FRDM-KL46Z Rev 1

MQX RTOS Release Notes for Kinetis SDK FRDM- KV10Z Freescale Freedom Development Platform

Getting Started with Freescale MQX RTOS for Kinetis SDK and MDK-ARM Keil

Quick Start Guide for FRDM-KL05Z

HVP-56F82748 Quick Start Guide

Freescale Semiconductor Inc. Microcontroller Solutions Group. FRDM-KL46Z User s Manual FRDM-KL46Z-UM Rev. 1.0

Emulating Dual SPI Using FlexIO

FRDM-KE04Z User s Guide User Guide

Adding a run control interface into an existing CodeWarrior for MCU v10.x project

Quick Start Guide for FRDM-KL46Z Rev 1

Offline Flash Programmer for Kinetis K- and L-series MCUs

MQX RTOS Release Notes for Kinetis SDK v1.2.0 for KL33Z64 for FRDM-KL43Z Freescale Freedom Development Platform

FRDM-K64F Board Errata

TWR-KE18F User's Guide

Load Position-Independent Code (PIC) on a Kinetis Platform Using the IAR EWARM Compiler

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

Three-Phase Power Meter Hardware Design Reference Manual

TWR-KV11Z75M Tower System Module User s Guide

Quick Start Guide TRK-KEA. Kinetis EA Series MCUs for Automotive Electronics Applications. StarterTRAK

Getting Started with the MCU Flashloader

TWR-KL28Z User s Guide

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide

TWR-LS1021A Getting Started

Watt Saver Software Component (WSC)

Quick Start Guide. TWR-KV10Z32 Development Kit for Kinetis KV1x Family TOWER SYSTEM

TWR-LS1021A Getting Started

FRDM-KL82Z User s Guide

Kinetis Updater User's Guide

FRDM-K20D50M User s Manual FRDM-K20D50M-UM Rev. 1.2

Working around ERR7026 according to application needs

Kinetis USB-KW41Z Wireless Protocol Sniffer Quick Start Guide

Freescale MQX RTOS TWR-K64F120M Release Notes

Integrate TWR-EPD Software with MQX RTOS Based on the TWR-K21F120M Platform

PMSM Field-Oriented Control Using MC56F84789 DSC With Encoders Demo Guide

TWR-KL43Z48M Quick Start Guide

Kinetis Bootloader v1.2.0 Release Notes

Getting Started with Freescale MQX RTOS for Kinetis SDK and Kinetis Design Studio IDE

WPR1500-LDO MP Receiver V2.1 Reference Design User s Guide

Quick Start Guide for FRDM-FXS-MULTI-B

TWR-KV58F220M Tower Module User's Guide

P1010RDB-PB Quick Start Guide

Processor Expert Software for i.mx Processors Version 1.0

Kinetis SDK v Release Notes for the MK21DA5 and MKW24D5 Devices

i.mx 6Solo/6DualLite Product Lifetime Usage Estimates

Getting Started with Freescale MQX RTOS for Kinetis SDK and ARM GCC

Kinetis Bootloader to Update Multiple Devices in a Field Bus Network

TWR-KM34Z50MV3 Quick Start Guide

Kinetis SDK Release Notes for the TWR-K24F120M Tower System Module

Emulating I2S bus on KE06

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128. The industry s most complete solution for portable medical applications

Kinetis KE1xF512 MCUs

Kinetis SDK v Release Notes for KV5x Derivatives

Generating a Quick and Controlled Waveform With the DAC

Kinetis KV5x Real-Time Control MCUs with Ethernet Up to 1 MB Flash and 256 KB SRAM

DDR Validation Tool Getting Started Guide

General C Functions for the etpu Covers the MCF523x, MPC5500, MPC5600, MPC5700, MPX40 and all etpu-equipped Devices

Smart Plug Software Design Reference Manual

Freescale MKW40Z IEEE Software Quick Start Guide

Emulating I2C Bus Master by using FlexIO

Using DMA for Pulse Counting on S32K

TWR-K21F120MA Quick Start Guide

Freescale MQX USB Stack for TWR-K24F120M GA User s Guide

Qorivva MPC5744P Evaluation Board 144LQFP Expansion Board User s Guide Barbara Johnson Applications Engineering

Power Consumption and Measurement of i.mx RT1020

Quick Start Guide (QSG) for - FRDM-KEAZ128 - FRDM-KEAZ64 - FRDM-KEAZN32

KITVALVECNTLEVM Valve Controller SoC Evaluation Kit

TWR-KE18F. Quick Start Guide. 32-bit Kinetis MCU based on ARM Cortex -M4 provides up to 168 MHz CPU performance, up to 512 KB flash with 64 KB SRAM

Building U-Boot in CodeWarrior ARMv8

TWR-K80F150M Quick Start Guide

TWR-K22F120M Tower Module User s Guide

Freescale Kinetis Software Development Kit Release Notes

Measuring Interrupt Latency

How to setup pre-build steps in CodeWarrior for Microcontrollers v10.x

Kinetis KL1x General-Purpose Ultra-Low- Power MCUs Up to 256 KB Flash and 32 KB SRAM

Kinetis Motor Suite v1.2.0 Release Notes

Quick Start Guide. TWR-K60D100M Low-Power MCU with USB, Ethernet and Encryption TOWER SYSTEM

Quick Start Guide for TWR-MC56F8257 TOWER SYSTEM MC56F8257. For power conversion and motor control applications

Getting Started with MQX RTOS for Kinetis SDK

i.mx 6ULL Product Usage Lifetime Estimates

Kinetis Bootloader Demo Application User's Guide

NXP Semiconductors MCU Bootloader Demo Applications User's Guide

Understanding S08P Internal Clock Source

FRDM-KW41Z Freedom Development Board User's Guide

MMPF0100 Errata for Mask 1N47F and 1N18J

TWR-KL25Z Tower Module

Kinetis KM3x Metrology MCUs based on ARM Cortex -M0+ Core

How to Enable Boot from QSPI Flash

FRDM-KEA QUICK START GUIDE (QSG) FRDM-KEAZ128 FRDM-KEAZ64 FRDM-KEAZN32 Ultra-Reliable MCUs for Industrial and Automotive Applications

Transcription:

Freescale Semiconductor, Inc. User s Guide Document Number: HVPKV10Z32UG Rev. 0, 12/2014 HVP-KV10Z32 User s Guide by: Ivan Lovas 1 High voltage controller card HVP-KV10Z32 This document supports the HVP-MC3PH user s guide. It describes the HVP-KV10Z32 controller card. This controller card is based on the Freescale KV10Z32 MCU and it is intended to be used together with the HVP-MC3PH main board. The Freescale high voltage development platform is a set of software and hardware tools for evaluation and development. It is ideal for rapid prototyping of MCU-based applications. The Freescale HVP-KV10Z32 card is a simple yet sophisticated design featuring the Kinetis V series MCU, based on the ARM Cortex -M0+. The KV10 is an entry-level member of the Kinetis V series MCU family. It combines the processing power of the ARM M0+ CPU (up to 75 MHz) with up to 32 KB of flash memory, 8 KB of RAM, a motor control timer, and an ADC with the capability to capture two inputs simultaneously (for example two current phase measurements) within a period ranging from 800 ns to 1 S at a 12-bit resolution. Contents 1. High voltage controller card HVP-KV10Z32....... 1 2. Reference documents......................... 2 3.................................. 2 4. Revision history............................. 9 2014 Freescale Semiconductor, Inc. All rights reserved.

Reference documents It has a full set of programmable peripherals including a six-channel PWM timer to drive a three-phase complimentary inverter stage, two 16-bit ADCs with two capture & hold circuits, two UARTs, one SPI, I 2 C, CRC block, analog comparators w/dac, on-chip / off-chip clock sources, and a 12-bit DAC. It also includes a programmable delay block module for precise ADC sampling points timing. Each peripheral can be shut down independently to save power. It works with a power supply voltage ranging from 1.71 V to 3.6 V. The KV10 is targeted for a low-dynamic variable-speed sensorless motor control used in industrial pumps, compressors, fans, and power conversion, as well as in other general-purpose applications. The HVP-KV10Z32 features the Freescale open-standard embedded serial and debug adapter known as the OpenSDA. This circuit offers several options for serial communications, flash programming and run-control debugging. 2 Reference documents Table 1 provides a list of reference documents about the HVP-KV10Z32 hardware. All these documents are available online at freescale.com/hvp. Table 1. Reference documents filenames Filename HVP-KV10Z32 Quick Start Package HVP-KV10Z32 User's Guide HVP-MC3PH User's Guide HVP-KV10Z32 Schematics HVP-KV10Z32 Design Package OpenSDA User's Guide This is a quick start guide and supporting files for getting started with the HVP-KV10Z32. This document provides an overview and detailed information about the HVP-KV10Z32 hardware. This document provides an overview and detailed information about the HVP-MC3PH hardware. This document contains PDF schematics for the HVP-KV10Z32 hardware. This is a zip file containing all design source files for the HVP-KV10Z32 hardware. This document provides overview and instructions on how to use the embedded OpenSDA. 3 Key features: Usage of the KV10Z32 MCU SWD isolation for up to 5 kv Programmable OpenSDA debugging interface with multiple applications available, including: Mass-storage device flash programming interface P&E Debug interface provides run-control debugging and compatibility with IDE tools Data-logging application Compatible with CodeWarrior 10.x, IAR, Keil Design optimized for low noise 2 Freescale Semiconductor, Inc.

On-board isolated power supply allowing safe debugging Controller card supporting standalone operation Figure 1 shows a block diagram of the HVP-KV10Z32 design. The primary components and their placement on the card is shown in Figure 2. Figure 1. HVP-KV10Z32 block diagram Figure 2. HVP-KV10Z32 controller card description Freescale Semiconductor, Inc. 3

3.1 Power supply There are two power supply options available for the controller card. It can be powered either using the USB connector, or using the main board 3.3 V supply. When the controller card is unplugged from the HVP-MC3PH, the USB voltage is regulated using a 3.3 V on-board linear regulator to provide power. In this case, the controller card is powered from the USB during standalone operation. Only digital circuits are powered during standalone operation, analog circuits are not powered. Thus, the ADC measurement cannot be evaluated. When the card is connected to the main board, the power is drawn from the main board and the analog circuits are working. When the analog circuits need to be evaluated during standalone operation, the test points placed on the controller card (TP9 and TP8) need to be shorted. 3.2 Clocking Figure 3. HVP-KV10Z32 power distribution The controller card does not include any clock source. Thus, the controller must be clocked from the internal clock of the KV10. 3.3 ARM SWD target debug interface The Cortex-M debug SWD connector J3 is a standard 2 5 pin (0.05") connector. It provides a connection for an external debugger, with access to the KV10 MCU. When an external debugger is used, the + 3.3 V power supply must be provided by the external debugger or from a mini USB connector to provide power for isolation circuits. 4 Freescale Semiconductor, Inc.

Figure 4. SWD connector NOTE The J3 is not populated by default. The Samtec FTSH-105-02-F-D or a compatible connector can be connected to the J3 through-hole connector. A mating cable, such as the Samtec FFSD IDC cable, can be used to connect the off-board SWD debugger to the target KV10 controller. Table 2. ARM SWD mini connector J3 description Pin Function Connection to KV10 1 P3V3 + 3.3 V OpenSDA power supply 2 SWDIO / TMS PTA3 / SWD_DIO 3 GND GND 4 SWDCLK / TCK PTA0/SWD_CLK 5 GND GND 6 SWO / TDO NC 7 NC NC 8 NC NC 9 NC NC 10 RESET PTA20 / RESET Freescale Semiconductor, Inc. 5

3.4 Reset The RESET signal on the KV10 is connected to the SW1 push-button and the OpenSDA circuit via a galvanic isolator. The reset button can be used to force an external reset event in the target MCU. Also, the reset button can be used to force the OpenSDA circuit into bootloader mode. Please see Section 3.6, Serial and debug adapter (OpenSDA) for more details. 3.5 On-board LEDs, testpoints and connectors Table 3. Test points, LEDs and connectors Name Ref. des. Functionality TP8 + 3.3 VA + 3.3 V analog power supply for analog circuits (not powered during the standalone operation) TP9 + 3.3 V + 3.3 V digital power supply for logic circuits TP10 P5V_SDA + 5 V from the USB mini connector TP11,TP14,TP15 GND_SDA GND connected to the USB mini connector (isolated side) TP12,TP16 GND GND connected to the target controller (non-isolated side) TP13 P3V3_SDA + 3.3 V for OpenSDA, provided by linear voltage regulator TP17 GNDA Analog GND D1 User LED 2 D2 OpenSDA status LED D4 Non-isolated side + 3.3 V power indicator D8 Isolated side + 3.3 V power indicator J4 Controller card connector J2 Galvanically isolated USB to SCI OpenSDA, debugging, communication SW1 Target RESET for entering bootloader mode The Cortex-based controller cards feature the Freescale open-standard embedded serial and debug communication adapter known as the OpenSDA. This circuit offers several options for serial communications, flash programming and run-control debugging. 3.6 Serial and debug adapter (OpenSDA) The OpenSDA is an open-standard serial and debug adapter. It bridges serial and debug communications between USB host and embedded target processor, as shown in Figure 5. The hardware circuit is based on Freescale Kinetis K20 family MCU with 128 KB of embedded flash and an integrated USB controller. The OpenSDA features a mass-storage device (MSD) bootloader, which provides a quick and easy mechanism for loading different OpenSDA applications such as flash programmers, run-control debug interfaces, serial-to-usb converters, and more. Refer to the OpenSDA user s guide for more details. 6 Freescale Semiconductor, Inc.

Figure 5. OpenSDA high-level block diagram The OpenSDA circuit includes a status LED (D2) and a push-button (SW1). The push-button asserts the RESET signal to the target MCU. Also, it can be used to place the OpenSDA circuit into bootloader mode. The SPI or GPIO signals provide an interface to the SWD debug port of the K20. In addition, the signal connections are available to implement the UART serial channel. The OpenSDA circuit receives power when the USB connector J2 is plugged into a USB host. 3.7 Virtual serial port A serial port connection is available between the OpenSDA MCU and the target controller. Several default OpenSDA applications provided by Freescale, including the MSD flash programmer and the P&E debug application, provide the USB communications device class (CDC) interface that bridges serial communications between a USB host and the serial interface on the K20. On the HVP-KV10Z32, this virtual serial port is connected to UART1 (PTD0 / PTD1). If this serial line needs to be used, the R88 and R89 need to be populated, because the serial line is connected also to the HVP-MC3PH board. Another serial communication interface is connected to UART0 (PTB16 / PTB17). Refer to the HVP-MC3PH user s guide for details on how to connect the SCI lines on the main board. Freescale Semiconductor, Inc. 7

The connection of serial communication lines is shown in Figure 6. Figure 6. Serial lines block diagram 3.8 HVP-KV10Z32 HVP-MC3PH interface description The interface between the controller card and the main board is provided by 64-pin PCI express edge connector. Figure 7 describes the functionality of each pin of this interface. 8 Freescale Semiconductor, Inc.

Revision history 4 Revision history Figure 7. Main board interface Table 4. Document revision history Rev. number Date Substantive change(s) 0 12/01/2014 Initial release Freescale Semiconductor, Inc. 9

How to Reach Us: Home Page: freescale.com Web Support: freescale.com/support Information in this document is provided solely to enable system and software implementers to use Freescale products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits based on the information in this document. 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 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, the Freescale logo, CodeWarrior and Kinetis, are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. ARM and Cortex are the registered trademarks of ARM Limited. ARM logo is the trademark of ARM Limited. 2014 Freescale Semiconductor, Inc. Document Number: HVPKV10Z32UG Rev. 0 12/2014