KWIKSTIK-K40 FREESCALE | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 19
Technical content
Freescale Semiconductor Inc. KWIKSTIKK40UM KwikStik-K40 User's Manual Rev. 1
KWIKSTIKK40UM KwikStik-K40 User's Manual Page 2 of 19 Table of Contents
1 KwikStik Overview
program flash memory, data flash, or variable size/endurance EEPROM. board K40X256 MCU or an external Kinetis MCU. provides an overview of the Freescale Tower System. Figure 1. Freescale Tower System Overview
1.1 Contents
1.2 Features
2 Micro USB connectors
Figure 2. Callouts on front side of the KwikStik
Figure 3. Callouts on back side of the KwikStik
1.3 Getting Started
how to run the pre-programmed demonstrations.
1.4 Reference Documents
freescale.com/KwikStik or freescale.com/kinetis.
2 Hardware Description
maximum core operating frequency of 100MHz. sections describe the hardware in more detail.
144 LQFP
4 MHz XTAL
32.768 KHz XTAL
Figure 4. KwikStik Block Diagram
2.1 K40X256 Microcontroller
256 Kbytes of program flash, 64 Kbytes of static RAM
2.2 Clocking
oscillator for the Real Time Clock (RTC) module accepts a 32.768 kHz crystal. Figure 5. External clock source circuitry inputs (XTAL/EXTAL_MAIN). A 32.768 KHz crystal is connected to the RTC oscillator inputs by default.
2.3 System Power
plugged in, power for the system is derived from a Freescale MC34727CFCR2 3.3V regulator. from another source in the assembled Tower System. SEGGER J-link debug interface. Refer to Figure 6 for location and correct usage of the ON/OFF switch.
Figure 6. KwikStik ON/OFF switch positioning. recharged whenever USB power is available.
2.4 Debug Interface
interface to program the on-board K40X256 MCU or an external Kinetis MCU.
2.4.1 Programming an on-board MCU
available from SEGGER here: http://www.segger.com/cms/jlink-software.html. K40X256. A green led, D4, will indicate when the switch is turned to ON.
2.4.2 Programming an external Kinetis MCU
debug connector, J8, is shown in Table 1. Table 1. Cortex Debug Connector Pinout
2 TMS / SWDIO PTA3/SCI0_RTS_b/FTM0_CH0/JTAG_MS/SWD_DIO
3 GND GND
4 TCK / SWCLK PTA0/SCI0_CTS_b/FTM0_CH5/JTAG_CLK/SWD_CLK/EZP_CLK
5 GND GND
6 TDO / SWO PTA2/SCI0_TX/FTM0_CH7/JTAG_DO/TRACE_SWO/EZP_DO
7 Key ―
8 TDI PTA1/SCI0_RX/FTM0_CH6/JTAG_DI/EZP_DI
9 GNDDetect PTA4/FTM0_CH1/MS/NMI_b/EZP_CS_b
board K40X256 and to provide ground to the cortex debug connector.
2.5 Infrared Port
Figure 7. Infrared Port Implementation
2.6 General Purpose Tower Plug-in (TWRPI) Socket
pinout for the TWRPI Socket is defined in Table 2.
General Purpose TWRPI socket. Table 2. General Purpose TWRPI socket pinout
3 GND
5 VSS (Analog GND)
6 VSS (Analog GND)
7 VSS (Analog GND)
8 ADC: Analog 0
9 ADC: Analog 1
10 VSS (Analog GND)
11 VSS (Analog GND)
12 ADC: Analog 2
13 VSS (Analog GND)
14 VSS (Analog GND)
15 GND
16 GND
17 ADC: TWRPI ID 0
18 ADC: TWRPI ID 1
19 GND
20 Reset
1 GND
2 GND
3 I2C: SCL
4 I2C: SDA
5 GND
6 GND
7 GND
8 GND
9 SPI: MISO
10 SPI: MOSI
11 SPI: SS
12 SPI: CLK
13 GND
14 GND
15 GPIO: GPIO0/IRQ
16 GPIO: GPIO1/IRQ
17 GPIO: GPIO2
18 GPIO: GPIO3
19 GPIO: GPIO4/Timer
20 GPIO: GPIO5/Timer
2.7 Touch Interface
well as the Freescale TSS touch sensing software suite (freescale.com/touch). (they are not populated by default). sensing functionality to their human-machine interface (HMI) designs. Refer to Table 4 “I/O Connectors and Pin Usage Table” for the TSI and TSS signal connection details.
2.8 Segment LCD
front-plane and back-plane signals are mapped according to Figure 8 and Figure 9. Figure 8. LCD Back-plane signals Figure 9. LCD Front-plane signals
2.9 Audio Input
microphone that can be sampled using the K40 ADC module. Figure 10. Microphone circuit
2.10 Audio Output
which can be controlled through GPIO pins on the K40 (VOLUME_UP, VOLUME_DOWN) . Refer to Table 4 “I/O Connectors and Pin Usage Table” for the audio output signal connection details. Figure 11. Miniplug output circuit The piezo-electric buzzer (LS1) can be driven with PWM modulated signals from the K40 TPM module. R100 limits the current consumption of the buzzer (100 mA MAX) to 30mA. Figure 12. Buzzer Circuit
2.11 USB
2.12 Micro Secure Digital Card Slot
the SDHC signal connection details.
2.13 Communication Testpoints
Table 3. Communication Testpoints Usage Table
2.14 Power Consumption Measuring
order to directly measure current consumption on the corresponding test points. Refer to Figure 13 for location of testpoints and resistors of the power consumption measuring circuit.
Figure 13. Power Consumption Measuring Circuit will need to be replaced by 1 Ohm resistors.
3 Input/Output Connectors and Pin Usage Table
interfaces onboard the KwikStik. simultaneous usage of mutually exclusive features. Table 4. I/O Connectors and Pin Usage Table
4 Tower Elevator Connections
in a Tower system. Table 5 provides the pinout for the Primary Connector. Table 5. KwikStik Primary Connector Pinout
KWIKSTIKK40UM KwikStik-K40 User's Manual Page 17 of 19 Pin Side B Pin Side A Name Usage Name Usage B14 ETH_TXCLK A14 ETH_MDIO B15 ETH_TXEN A15 ETH_RXCLK B16 ETH_TXER A16 ETH_RXDV B17 ETH_TXD3 A17 ETH_RXD3 B18 ETH_TXD2 A18 ETH_RXD2 B19 ETH_TXD1 A19 ETH_RXD1 B20 ETH_TXD0 A20 ETH_RXD0 B21 GPIO1 / RTS1 PTE7/UART_RTS A21 SSI_MCLK B22 GPIO2 / SDHC_D1 A22 SSI_BCLK B23 GPIO3 A23 SSI_FS B24 CLKIN0 A24 SSI_RXD B25 CLKOUT1 A25 SSI_TXD B26 GND Ground A26 GND Ground B27 AN7 A27 AN3 B28 AN6 A28 AN2 B29 AN5 A29 AN1 B30 AN4 A30 AN0 B31 GND Ground A31 GND Ground B32 DAC1 A32 DAC0 DAC0_OUT B33 TMR3 A33 TMR1 B34 TMR2 A34 TMR0 B35 GPIO4 A35 GPIO6 B36 3.3V A36 3.3V B37 PWM7 PTA8/FTM1_CH0 A37 PWM3 B38 PWM6 PTA9/FTM1_CH1 A38 PWM2 B39 PWM5 A39 PWM1 B40 PWM4 A40 PWM0 B41 CANRX0 PTE25/CAN1_RX A41 RXD0 B42 CANTX0 PTE24/CAN1_TX A42 TXD0 B43 1WIRE A43 RXD1 PTE9/UART_RX B44 SPI0_MISO PTA17/SPI0_SIN A44 TXD1 PTE8/UART_TX B45 SPI0_MOSI PTA16/SPI0_SOUT A45 VSS B46 SPI0_CS0_b PTA14/SPI0_PCS0 A46 VDDA B47 SPI0_CS1_b A47 VREFA1 B48 SPI0_CLK PTA15/SPI0_SCK A48 VREFA2 B49 GND Ground A49 GND Ground B50 SCL1 PTE1/I2C1_SCL A50 GPIO14 B51 SDA1 PTE0/I2C1_SDA A51 GPIO15 B52 GPIO5 / SD_CARD_DET PTA16 A52 GPIO16 B53 USB0_DP_PDOWN A53 GPIO17 B54 USB0_DM_PDOWN A54 USB0_DM B55 IRQ_H A55 USB0_DP B56 IRQ_G A56 USB0_ID B57 IRQ_F A57 USB0_VBUS B58 IRQ_E A58 TMR7 B59 IRQ_D A59 TMR6 B60 IRQ_C A60 TMR5 B61 IRQ_B A61 TMR4 B62 IRQ_A A62 RSTIN_b B63 EBI_ALE / EBI_CS1_b A63 RSTOUT_b PTA9/FTM1_CH1 B64 EBI_CS0_b A64 CLKOUT0 B65 GND Ground A65 GND Ground B66 EBI_AD15 A66 EBI_AD14 B67 EBI_AD16 A67 EBI_AD13 B68 EBI_AD17 A68 EBI_AD12 B69 EBI_AD18 A69 EBI_AD11 B70 EBI_AD19 A70 EBI_AD10 B71 EBI_R/W_b A71 EBI_AD9
5 Demo Applications
and development board. All of the applications run under the Freescale MQXTM RTOS. When the board is plugged in and powered on, a menu will allow selection of one of the applications. application, use either one of the bottom electrodes (E5, E6). Figure 14. Main menu navigation flow diagram for demo applications
5.1 Sound Recorder
connected to the audio output jack of the KwikStik is required for this demo application. Figure 15. Sound recorder demo application electrode layout
5.2 Remote Control
pre-stored and can be transmitted by pressing the corresponding electrode. Figure 16. Remote Control demo application electrode layout
5.3 USB Joystick
electrodes to send button commands to the PC. Figure 17. USB Joystick demo application electrode layout To test the Joystick demo application, use the Joystick properties dialog on a PC running Windows. operating systems, refer to the corresponding joystick testing application. Figure 18. Procedure to access Joystick properties dialog in Windows 7