NXP Semiconductors
User's Guide
Document Number: FRDMK66FUG
Rev. 0, 02/2016
Freedom FRDM-K66F Development
Platform User’s Guide
Contents
1. Introduction
The NXP Freedom development platform is a set of
software and hardware tools for evaluation and
development. It is ideal for rapid prototyping of
microcontroller-based applications. The NXP Freedom
K66F hardware, FRDM-K66F, is a simple, yet
sophisticated design featuring a Kinetis K series
microcontroller, built on the ARM© Cortex®-M4 core.
FRDM-K66F can be used to evaluate the K66 and K26
Kinetis K series devices. It features a
MK66FN2M0VMD18, which boast a maximum
operation frequency of 180MHz, 2MB of flash, 256KB
RAM, a high-speed USB controller, Ethernet controller,
Secure Digital Host controller, and loads of analog and
digital peripherals. The FRDM-K66F hardware is form-
factor compatible with the ArduinoTM R3 pin layout,
providing a broad range of expansion board options.
The onboard interface includes a digital accelerometer
& magnetometer, gyroscope, audio codec, digital
MEMS mic, tricolor LED, SDHC, Bluetooth Add-on
module, RF Add-on module (for use over SPI), and
Ethernet.
The FRDM-K66F platform features OpenSDAv2.1, the
NXP open-source hardware embedded serial and debug
adapter running an open-source bootloader. This circuit
offers several options for serial communication, flash
programming and run-control debugging. The
openSDAv2.1 is loaded with JLink firmware for rapid
© 2016 NXP B.V.
Introduction........................................................................ 1
FRDM-K66F Hardware Overview..................................... 2
FRDM-K66F Hardware Description .................................. 4
3.1.
Power supply .......................................................... 4
3.2.
Series and debug adapter (OpenSDAv2.1) ............. 5
4. Microcontroller .................................................................. 7
5. Clocking ............................................................................. 9
6. Universal Serial Bus (USB) ............................................. 10
7. Secure Digital Card .......................................................... 11
8. Ethernet ............................................................................ 12
9. Accelerometer and Magnetometer ................................... 13
10. Gyroscope ........................................................................ 14
11. RGB LED ........................................................................ 15
12. Serial Port ........................................................................ 16
13. Reset ................................................................................ 16
14. Push Button Switches....................................................... 16
15. Debug............................................................................... 17
16. Audio ............................................................................... 17
16.1.
Audio codec .......................................................... 17
16.2.
Digital MEMS microphone................................... 18
16.3.
I/O connectors ....................................................... 19
17. Add-on Modules .............................................................. 21
17.1.
RF module ............................................................ 21
17.2.
Bluetooth module .................................................. 22
18. Input/Output connectors ................................................... 22
19. Arduino Compatibility ..................................................... 23
20. Miscellaneous .................................................................. 23
21. References ........................................................................ 23
22. Revision History .............................................................. 24
1.
2.
3.
FRDM-K66F Hardware Overview
prototyping and product development, with a focus on connected Internet of Things devices.
2. FRDM-K66F Hardware Overview
The features of the FRDM-K66F hardware are as follows:
•
•
•
•
•
•
•
•
•
MK66FN2M0VMD18 MCU (180 MHz, 2MB Flash, 256KB RAM, 144MBGA package)
Dual role High-speed USB interface with micro-B USB connector
RGB LED
FXOS8700CQ - Accelerometer and Magnetometer
FXAS21002 - Gyroscope
Two user push buttons
Flexible power supply options – OpenSDAv2.1 USB, K66F USB, and external sources
Easy access to MCU I/O via Arduino R3TM compatible I/O connectors
Programmable OpenSDAv2.1 debug interface with multiple applications available including:
—
SWD debug interface over a USB HID connection providing run-control debugging and
compatibility with IDE tools
—
Virtual serial port interface
Ethernet
Micro SD
Audio features
—
Digital MEMS microphone
—
Auxiliary input jack
—
Headset/Analog microphone jack
—
Two optional input for analogue microphone
Optional header for add-on RF module: RF24L01+ Nordic 2.4 GHz Radio
Optional header for add-on Bluetooth module: JY-MCU BT Board V1.05 BT
•
•
•
•
•
Figure 1
shows a block diagram of the FRDM-K66F design.
Figure 2
explains the primary components
and their placement on the hardware assembly.
Freedom FRDM-K66F Development Platform User’s Guide, User's Guide, Rev. 0, 02/2016
2
NXP Semiconductors
FRDM-K66F Hardware Overview
Figure 1. FRDM-K66F block diagram
Freedom FRDM-K66F Development Platform User’s Guide, User's Guide, Rev. 0, 02/2016
NXP Semiconductors
3
FRDM-K66F Hardware Description
Figure 2. FRDM-K66F main components placement
3. FRDM-K66F Hardware Description
3.1. Power supply
There are multiple power supply options on the FRDM-K66F. It can be powered from either of the USB
connectors, the V
IN
pin on the J3 I/O header, DC Jack (Not populated), or an off-board 1.71-3.6 V
supply from the 3.3 V pin on the J20 header. The USB, DC Jack, and V
IN
supplies are regulated onboard
using a 3.3 V linear regulator to produce the main power supply. The 3.3 V Header (J20) is not regulated
onboard.
Table 1
provides the operational details and requirements for the power supplies.
Table 1.
Supply Source
OpenSDAv2.1 USB
K66F USB
V
IN
Pin
3.3V Header (J20)
DC Jack (Not Populated)
5V
5V
5V – 9V
1.71 – 3.6V
5V
FRDM-K66F power requirements
OpenSDAv2.1 Operational?
Yes
No
No
No
No
Yes
Yes
Yes
No
No
Regulated onboard?
Valid Range
Freedom FRDM-K66F Development Platform User’s Guide, User's Guide, Rev. 0, 02/2016
4
NXP Semiconductors
FRDM-K66F Hardware Description
NOTE
The OpenSDAv2.1 circuit is only operational when a USB cable is
connected and supplying power to OpenSDAv2.1 USB. However,
protection circuitry is in place to allow multiple sources to be powered at
once.
Figure 3. Power supply schematic
Table 2. FRDM-K66F power supplies
Power supply name
P5-9V_VIN
Description
Power supplied from the
V
IN
pin of the I/O headers
(J3 pin 16). A Schottky diode provides back
drive protection
1
.
Power supplied from the
OpenSDA USB
connector. A Schottky diode provides back drive
P5V_SDA_PSW
protection
Power supplied from the
K66F USB
connector. A Schottky diode provides back drive protection
P5V_K66_USB
Power supplied from the
DC Jack
(Not populated) connector. A Schottky diode provides back drive
DC_JACK
protection. (Note: Must use 5V supply)
Regulated 3.3V supply.
Sources power to the P3V3 supply rail through a back drive protection
P3V3_VREG
Schottky diode
2
.
K66F MCU supply.
Header J20 provides a convenient means for energy consumption
P3V3_K66
measurements
3
.
OpenSDA circuit supply.
Header J18 provides a convenient means for energy consumption
P3V3_SDA
measurements
2
.
Nominal
5V supplied to the I/O headers
(J3 pin 10)
P5V_USB
1. A 5 VDC regulator is required at J27 when USB Host mode is used. The USB host mode requires a 5 V supply to USB
device.
2. By default the linear regulator, U17, is a 3.3 V output regulator. This is common footprint that would allow the user to
modify the assembly to utilize an alternative device such as 1.8V. The K66F microcontroller has an operating range of
1.71 V to 3.6 V.
3. J18 and J20 are not populated by default. P3V3_K66 rail is connected by shorting trace at bottom layer of J20. To
measure the energy consumption of the K66F MCU, the trace between J20 pins 1 and 2 must first be cut. A current
probe or shunt resistor and voltage meter can then be applied to measure the energy consumption on these rails.
3.2. Series and debug adapter (OpenSDAv2.1)
OpenSDAv2.1 is a serial and debug adapter circuit which includes an open-source hardware design, and
open-source bootloader, and debug interface software. It bridges serial and debug communications
between a USB host and an embedded target processor as shown in
Figure 4.
The hardware circuit is
Freedom FRDM-K66F Development Platform User’s Guide, User's Guide, Rev. 0, 02/2016
NXP Semiconductors
5