NXP Semiconductors Freedom FRDM-KV11Z User Manual

NXP Semiconductors
Document Number:
FRDMKV11ZUG
Application Note
1
,
Contents
1. Introduction ........................................................................ 1
Freedom FRDM-KV11Z Development Board User’s Guide
The Freedom development board is a set of software and hardware tools for evaluation and development. It is ideal for rapid prototyping of microcontroller-based applications. The Freedom KV11 hardware, FRDMKV11Z, is a simple, yet sophisticated design featuring a Kinetis V series microcontroller, built on the ARM® Cortex®-M0+ core, and a perfect solution for BLDC and PMSM motor control applications. FRDM­KV11Z can be used to evaluate the KV1x Kinetis V series devices. It is based on the MKV11Z128VLF7 microcontroller, running up to 75MHz with hardware square root and divide capability and featuring dual 16­bit analog-to-digital controllers (ADCs) sampling at up to 1.2 mega samples per second (MS/s) in 12-bit mode, multiple motor control timers, 128KB of flash and 16KB of RAM memories and CAN interface. It is supported by a comprehensive enablement suite from NXP and its third-party resources including reference designs, software libraries, and motor configuration tools. The FRDM-KV10Z hardware is form-factor compatible with the Arduino® R3 pin layout, providing a broad range of expansion board options. Board embeds a 6-axis digital sensor, combining accelerometer and magnetometer, an analog thermistor, a RGB LED and two user push-buttons. The FRDMKV11Z platform includes the OpenSDA, the NXP open-source hardware for embedded serial and debug adapter, programmed with an open-source bootloader. This circuit offers several options for serial communication, flash programming, and run-control
Rev.
2. FRDM-KV11Z Hardware Overview.................................. 2
3. FRDM-KV11Z Hardware Description ............................... 4
3.1. Power supply .......................................................... 4
3.2. Measuring MCU current ......................................... 5
3.3. Debug interface ....................................................... 6
3.4. OpenSDA ................................................................ 6
3.5. Cortex debug connector .......................................... 6
3.6. Virtual mass storage device programming .............. 7
3.7. Virtual serial port .................................................... 9
4. Microcontroller .................................................................. 9
5. Clock source .................................................................... 10
6. Accelerometer and magnetometer .................................... 11
7. Thermistor ........................................................................ 12
8. RGB LED ........................................................................ 13
9. CAN serial interface ........................................................ 14
10. Reset ................................................................................ 14
11. Push button switches ........................................................ 15
12. Input/output connectors .................................................... 16
13. Arduino Compatibility ..................................................... 17
14. References ........................................................................ 17
15. Revision history ............................................................... 18
5/2019
© 2016 NXP B.V.
PRELIMINARY
FRDM-KV11Z Hardware Overview
debugging. OpenSDA software is from P&E Micro debug interface firmware for rapid prototyping and product development.
2. FRDM-KV11Z Hardware Overview
The features of the FRDM-KV11Z hardware are as follows:
MKV11Z128VLF7P MCU (75 MHz with hardware square root and divide, 128 KB flash and 16
KB RAM memory, dual 16-bit ADCs and motor control timers, CAN, 48 LQFP package).
Triple role USB interface with micro-B USB connector
• RGB LED
FXOS8700CQ – Accelerometer and magnetometer
Two user push buttons
Flexible power supply option – OpenSDA USB, and Arduino header and 5 V power input
Easy access to MCU I/Os through Arduino R3-compatible and proprietary headers
Programmable OpenSDAv2.1 debug circuit programmed with the CMSIS-DAP Interface
application that provides:
o Mass storage device (MSD) flash programming, over a driver free USB connection. o P&E Micro debug interface providing run-control debugging for ARM® IDE toolchains. o Virtual serial port interface.
Figure 1 shows the block diagram of the FRDM-KV11Z design:
2 NXP Semiconductors
FRDM-KV11Z Evaluation Board Users Guide
FRDM-KV11Z Hardware Overview
Figure 1. FRDM-KV11Z block diagram
The primary components and their placement on the hardware assembly are explained in the below figure:
FRDM-KV11Z Evaluation Board Users Guide
NXP Semiconductors 3
FRDM-KV11Z Hardware Description
Figure 2. FRDM-KV11 callout
3. FRDM-KV11Z Hardware Description
Power supply
There are multiple power supply options on the FRDM-KV11Z. It can be powered from either of the USB connectors, the VIN pin on the J3 header, the DC Jack (not populated), or an off-board 1.71 V–3.6 V supply from the 3.3 V pin on the J14 header. The USB OpenSDA and the DC jack are regulated onboard using a 3.3 V DC-to-DC linear regulator to produce the main power supply. The voltage of the J14 and J3 header inputs are not regulated and will provide direct power-supply to the KV11Z microcontroller.
When attached to either the FRDM-MC-LVBLDC or the FRDM-MC-LVPMSM 3.3 V voltage is supplied from the motor control power board through the J3 header. The table below provides the operational details and requirements for the power supplies.
FRDM-KV11Z Evaluation Board Users Guide
4 NXP Semiconductors
FRDM-KV11Z Hardware Description
Power Supply sources
Supply source Valid range OpenSDA operational Regulated onboard
OpenSDA USB 5V Yes Yes
VIN pin (J3 Header)
1.71 – 3.6 V Yes No
3.3V Header(J14) 1.71 – 3.6 V No No
DC- Jack (not populated) J15 5-9 V Yes Yes
Figure 3. Power supply Regulation
Measuring MCU current
Cut trace jumper J14 is provided to isolate the power supplied to the KV11 MCU. To measure the current consumed by the MCU you can cut the trace on J14 and place a milliamp measuring DMM across the J14 header pins. Alternatively, you can populate the 10 Ohm R126 and place a voltage measuring DMM across the J14 header pins. The current will be = to the V/R126 value.
FRDM-KV11Z Evaluation Board Users Guide
NXP Semiconductors 5
FRDM-KV11Z Hardware Description
Figure 4. OpenSDA and Power Switch
Debug interface
There are two debug interface options provided: the on-board OpenSDA circuit and an external ARM Cortex JTAG connector. The ARM Cortex SWD connector (J19) is a standard 2x10-pin connector that provides an external debugger cable access to the SWD interface of the KV311Z128VLH7P. Alternatively, the on-board OpenSDA debug interface can be used to access the debug interface of the KV311Z128VLH7P.
OpenSDA
An on-board K20DX128VFM5- based OpenSDA circuit provides a SWD debug interface to the KV311Z128VLH7P. A standard USB-A male to micro-B male cable (provided) can be used for debugging via the USB connector (CN1).
The OpenSDA interface also provides a USB to serial bridge. Drivers for the OpenSDA interface are provided in the IDE you use. Updated Windows drivers and more utilities can be found online at
http://www.pemicro.com/opensda.
Cortex debug connector
The Cortex Debug connector is a 20-pin (0.05") connector providing access to the SWD signals available on the KV11 device. If the OpenSDA is powered and J13 is used cutting the trace on J11
6 NXP Semiconductors
FRDM-KV11Z Evaluation Board Users Guide
Loading...
+ 14 hidden pages