Freescale Semiconductor FRDM-KE06, Freedom KE06 User Manual

Freescale Semiconductor, Inc.
User’s Guide
Document Number: FRDMKE06UG Rev. 0, 03/2014
Freedom KE06 User’s Guide
1 FRDM-KE06 hardware
overview
The FRDM-KE06 Freedom development platform microcontroller board is assembled with the following features:
On-board serial and debug adapter (OpenSDA)
I/O headers for easy access to MCU I/O pins
Freescale inertial sensor, MMA8451Q
Reset push button
RGB LED
Infrared communication
One thermistor
Motor control function for simple BLDC motor control on APMOTOR56F8000E
CAN communication
Contents
1. FRDM-KE06 hardware overview . . . . . . 1
2. FRDM-KE06 hardware description . . . . . 2
2.1. Power supply . . . . . . . . . . . . . . . . . . 2
3. Serial and Debug Adapter (OpenSDA) . . 4
3.1. Debugging interface . . . . . . . . . . . . . 5
3.2. Virtual serial port . . . . . . . . . . . . . . . 6
3.3. KE06 microcontroller . . . . . . . . . . . . 6
3.4. Thermistor . . . . . . . . . . . . . . . . . . . . 7
3.5. Infrared port . . . . . . . . . . . . . . . . . . . 8
3.6. Key buttons . . . . . . . . . . . . . . . . . . . . 8
3.7. Three-axis accelerometer . . . . . . . . . 9
3.8. RGB LED . . . . . . . . . . . . . . . . . . . . 10
3.9. CAN . . . . . . . . . . . . . . . . . . . . . . . . 11
3.10. Input/Output headers . . . . . . . . . . 12
3.11. Arduino compatibility . . . . . . . . . . 13
Figure 1 shows a block diagram of the FRDM-KE06 board.
© 2014 Freescale Semiconductor, Inc.
FRDM-KE06 hardware description
Figure 1. FRDM-KE06 block diagram
The FRDM-KE06 features two microcontrollers, the target MCU and a serial and debug adapter (OpenSDA) MCU. The target MCU is a Kinetis E series KE06 family device. The OpenSDA MCU is a Kinetis K series K20 family device, the K20DX128VFM5.
2 FRDM-KE06 hardware description
2.1 Power supply
The FRDM-KE06 offers a design with multiple power supply options. It can be powered from the USB connector, the V header or 3.3V from motor control board. The USB and V linear regulator to produce the main power supply. The other two sources are not regulated on-board. Note that KE06 on FRDM board can be powered by 5 V or 3.3 V.
The following figure shows the schematic drawing for the power supply inputs and the on-board voltage regulator.
pin on the I/O header, an off-board 1.71-3.6V supply from the 3.3V pin on the I/O
IN
supplies are regulated on-board using a 3.3V
IN
FRDMKE06UG, Freedom KE06 User’s Guide, Rev. 0, 03/2014
2 Freescale Semiconductor, Inc.
FRDM-KE06 hardware description
Figure 2. FRDM-KE06 power supply
Table 1 provides the operational details and requirements for the power supplies.
Table 1. Power supply requirements
Supply source Valid range OpenSDA operational?
OpenSDA USB (J6) 5V Yes Yes
V
Pin on I/O header 4.3-9V Yes Yes
IN
3.3V Pin on I/O header 1.71-3.6V Yes No
3.3V Pin on motor control header 3.3V Yes No
Regulated on-board?
Note that the OpenSDA circuit is only operational when a USB cable is connected and supplying power to J6. However, the protection circuitry is in place to allow multiple sources to be powered at once.
FRDMKE06UG, Freedom KE06 User’s Guide, Rev. 0, 03/2014
Freescale Semiconductor, Inc. 3
Serial and Debug Adapter (OpenSDA)
Power supply name Description
VDD_PERIPH Peripheral power supply, including RGB LED, Key buttons, infrared,
VDD_KE06 KE06 MCU power supply.
P3V3_SDA OpenSDA circuit power supply.
Table 2. Power supplies
thermistor, reset circuit. J14 Pin1&2 connected, 3.3V power supply; J14 Pin2&3 connected, 5V power supply.
Header J9 provides a convenient means for KE06 energy consumption measurements. Header J14 for KE06 power supply selection: 3.3V or 5V. J14 Pin1&2 connected, 3.3V power supply, J14 Pin2&3 connected, 5V power supply.
Can be 3.3V only. Header J10 provides a convenient means for K20 energy consumption measurements.
P5V_SDA INPUT
P5-9V_VIN INPUT
P3V3_MOTOR INPUT
P5V_USB OUTPUT
[J6 Pin1] Input 5V Power supplied from the OpenSDA USB connector.
[J4 Pin16] Power supplied from the V
[J2 Pin13] Input 3.3V power supplied from motor control header.
[J4 Pin10] Output 5V to the I/O headers. Sourced from J6 USB (P5V_SDA) supply through a back drive protection Schottky diode.
pin of the I/O headers.
IN
Notes:
1. J9 and J10 are not populated by default on the production version. The two pins of these headers are shorted together by 0 ohm resistor R12 and R26 on the PCB. To measure the energy consumption of either the KE06 or the OpenSDA MCU, the 0 ohm resistor between these pins must first be cut. A current probe or a shunt resistor and voltage meter can then be applied to measure the energy consumption on these rails. When the MCU current measurement is done, this 0 ohm resistor can be soldered on again.
2. To better get ADC accuracy on KE06, it is recommended that a 0 ohm resistor R13 be soldered on. Ensure there is no power supply from P3V3_MOTOR and P3V3 sourced from I/O headers.
3 Serial and Debug Adapter (OpenSDA)
OpenSDA is an open-standard serial and debug adapter. It bridges serial and debug communications between a USB host and an embedded target processor as shown in Figure 3.
FRDMKE06UG, Freedom KE06 User’s Guide, Rev. 0, 03/2014
4 Freescale Semiconductor, Inc.
Figure 3. OpenSDA block diagram
Serial and Debug Adapter (OpenSDA)
OpenSDA is managed by a Kinetis K20 MCU built on the ARM® Cortex™-M4 core. The OpenSDA circuit includes a status LED (D4) and a reset pushbutton (SW1). The pushbutton asserts the reset signal to the KE06 target MCU. It can also be used to place the OpenSDA circuit into Bootloader mode by holding down the reset pushbutton while plugging the USB cable to USB connector J6. Once the OpenSDA enters bootloader mode, other OpenSDA applications such as debug app can be programmed.
SPI and GPIO signals provide an interface to the SWD debug port of the KE06. Additionally, signal connections are available to implement a UART serial channel. The OpenSDA circuit receives power when the USB connector J6 is plugged into a USB host.
3.1 Debugging interface
Signals with SPI and GPIO capability are used to connect directly to the SWD of the KE06. These signals are also brought out to a standard 10-pin (0.05”) Cortex Debug connector (J7) as shown in Figure 4. It is possible to isolate the KE06 MCU from the OpenSDA circuit and use J7 to connect to an off-board MCU. To accomplish this, cut the 0 ohm resistor R58. This will disconnect the SWD_CLK pin to the KE06 so that it will not interfere with the communications to an off-board MCU connected to J7.
When KE06 on FRDM board is 5V powered, and the OpenSDA is power off, there need to connect an external debugger to debug KE06 on board.
FRDMKE06UG, Freedom KE06 User’s Guide, Rev. 0, 03/2014
Freescale Semiconductor, Inc. 5
Loading...
+ 9 hidden pages