Part Number Hot Search : 
NTRPB 200N6 MMC4030 IN7440D 8128A LMA442 GPT200 HOA1870
Product Description
Full Text Search
 

To Download KWIKSTIK-K40 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  freescale semiconductor inc. kwikstikk40u m kwikstik - k40 user's manual rev. 1
kwikstikk40u m kwikstik - k40 user's manual page 2 of 19 table of contents 1 kwikstik overview ................................ ................................ ................................ ................................ . 4 1.1 contents ................................ ................................ ................................ ................................ ................................ .................. 4 1.2 features ................................ ................................ ................................ ................................ ................................ .................. 5 1.3 getting started ................................ ................................ ................................ ................................ ................................ ..... 6 1.4 reference documents ................................ ................................ ................................ ................................ ....................... 6 2 hardware description ................................ ................................ ................................ ........................... 6 2.1 k40x256 microcontroller ................................ ................................ ................................ ................................ ............... 7 2.2 clocking ................................ ................................ ................................ ................................ ................................ .................. 8 2.3 system power ................................ ................................ ................................ ................................ ................................ ....... 8 2.4 debug interface ................................ ................................ ................................ ................................ ................................ ... 9 2.4.1 programming an on - board mcu ................................ ................................ ................................ ................................ .................. 9 2.4.2 programming an external kinetis mcu ................................ ................................ ................................ ................................ .... 9 2.5 infrared port ................................ ................................ ................................ ................................ ................................ ...... 10 2.6 general purpose tower plu g - in (twrpi) socket ................................ ................................ ............................... 10 2.7 touch interface ................................ ................................ ................................ ................................ ................................ . 11 2.8 segment lcd ................................ ................................ ................................ ................................ ................................ ...... 12 2.9 audio input ................................ ................................ ................................ ................................ ................................ ......... 12 2.10 audio output ................................ ................................ ................................ ................................ ................................ ... 13 2.11 usb ................................ ................................ ................................ ................................ ................................ ...................... 14 2.12 micro secure digital card slot ................................ ................................ ................................ ................................ . 14 2.13 communication testpoints ................................ ................................ ................................ ................................ ....... 14 2.14 power consumption measuring ................................ ................................ ................................ .............................. 14 3 input/output connectors and pin usage table ................................ ................................ ......... 15 4 tower elevator connections ................................ ................................ ................................ ............ 16 5 demo applications ................................ ................................ ................................ ............................... 18 5.1 sound recorder ................................ ................................ ................................ ................................ ................................ 18 5.2 remote control ................................ ................................ ................................ ................................ ................................ . 19 5.3 usb joystick ................................ ................................ ................................ ................................ ................................ ....... 19
kwikstikk40u m kwikstik - k40 user's manual page 3 of 19 list of figures figure 1. freescale tower system over view ................................ ................................ .............................. 4 figure 2. callouts on front side of the kwikstik ................................ ................................ .......................... 5 figure 3. callouts on back side of the kwikstik ................................ ................................ .......................... 6 figur e 4. kwikstik block diagram ................................ ................................ ................................ ................ 7 figure 5. external clock source circuitry ................................ ................................ ................................ ..... 8 figure 6. kwikstik on/off switch positioning. ................................ ................................ ........................... 9 figure 7. infrared port implementation ................................ ................................ ................................ ... 10 figure 8. lcd b ack - plane signals ................................ ................................ ................................ ............... 12 figure 9. lcd front - plane signals ................................ ................................ ................................ .............. 12 figure 10. microphone circuit ................................ ................................ ................................ ................... 12 figure 11. miniplug output circuit ................................ ................................ ................................ ............ 13 figure 12. buzzer circuit ................................ ................................ ................................ ........................... 13 figure 13. power consumption measuring circuit ................................ ................................ ................... 15 figure 14. main menu navigation flow diagram for demo a pplications ................................ .................. 18 figure 15. sound recorder demo application electrode layout ................................ ............................... 18 figure 16. remote control demo application electrode layout ................................ ............................... 19 figure 17. usb joystick demo application electrode layout ................................ ................................ ..... 19 figure 18. procedure to access jo ystick properties dialog in windows 7 ................................ ................ 19 list of tables table 1. cortex debug connector pinout ................................ ................................ ................................ ... 9 table 2. general purpose twrpi socket pinout ................................ ................................ ....................... 11 table 3. communication testpoints usage table ................................ ................................ .................... 14 table 4. i/o connectors and pin usage table ................................ ................................ ........................... 15 table 5. kwikstik primary connector pinout ................................ ................................ ............................ 16
kwikstikk40u m kwikstik - k40 user's manual page 4 of 19 1 kwikstik overview the kinetis kwikstik is a cost - effective development tool for the kinetis family of mcus. it features the kinetis k40 low - power microcontroller based on the arm? cortex? - m4 architecture with usb 2.0 full - speed otg an d segment lcd display controllers. the k40x256 includes 256kbytes of program flash storage and an additional 256kbytes of flexmemory non - volatile storage that can be used as additional program flash memory, data flash, or variable size/endurance eeprom. the kwikstik includes a segger j - link? on - board debug interface that can be used to program the on - board k40x256 mcu or an external kinetis mcu. the kwikstik can function either as a standalone development tool or as a controller module in the freescale tower system ( freescale.com/tower ). it can also be combined with other freescale tower peripheral modules to create development platforms for a wide variety of applications. figure 1 provides an overview of the freescale tower system. figure 1. freescale tower system overview 1.1 contents the kwikstik contents include:
kwikstikk40u m kwikstik - k40 user's manual page 5 of 19 kwikstik board assembly flexible silicone enclosure 3ft micro usb cable getting started dvd quick start gu ide 1.2 features figure 2 and figure 3 show the kwikstik with some of the key features called out. the following list summarizes the features of the kwikstik : lcd display with 306 segments buzzer 3.5 mm audio output jack omni - directional microphone on - board segger j - link debugger with usb connector infrared communications micro sd card slot capacitive touch se nsing interface general purpose tower plug - in (twrpi) socket 2 micro usb connectors manganese li thium r echargeable battery for use with k40 low - power modes tower compatible module flexible plastic enclosure figure 2. callouts on front side of the kwikstik
kwikstikk40u m kwikstik - k40 user's manual page 6 of 19 figure 3. callouts on back side of the kwikstik 1.3 getting started follow the quick s tart guide found printed in th e kwikstik box or the interactive dvd for the list of recommended steps for getting started. refer to section 5 , demo applications for information on how to run the pr e - programmed demonstrations. 1.4 re ference documents the documents listed below should be referenced for more information on the kinetis family, tower s ystem , and mcu modules . these can be found in the documentation section of freescale.com/kwikstik or freescale.com/kinetis . quick start guide schematics design package kinetis k40 family product brief kinetis k40 family reference manual kinetis quick referenc e user guide (qrug) 2 hardware description the kwikstik development board features the mk40x256vlq100 an arm cortex - m4 based microcontroller with s egment lcd and usb 2.0 full - speed otg controllers in a 144 lqfp package with a maximum core operating frequenc y of 100mhz. an on - board segger j - link debug circuit provides a jtag and swd interface and a power supply i nput through a single usb micro - b connector. figure 4 shows a b l ock diagram of the kwikstik . the follo wing sections describe the hardware in more detail.
kwikstikk40u m kwikstik - k40 user's manual page 7 of 19 figure 4. kwikstik block diagram 2.1 k40x256 micro controller the kwikstik features the mk40x256vlq100 . the k40 microcontroller family is part of the kinetis portfolio of devices built arou nd an arm cortex - m4 core. refer to the k40 family product brief and the k40 family reference manual for comprehensive information on the mk40x256vlq100 device. the key features are listed here : 32 - bit arm cortex - m4 core with dsp instructions 100mhz maximum core operating frequency 144 lqfp, 20mm x 20mm, 0.5mm pitch package 1.71v C 3.6v operating voltage input range 256 kbytes of program flash , 64 kbytes of static ram flexmemory consisting of 256 kbyte s of flexnvm (non - volatile flash memory that can be used as program flash, data flash, backup eeprom of variable endurance and size) and 4 kbytes of flexram (ram memory that can be used as traditional ram, as high - endurance eeprom storage, or flash programming acceleration ram) external bus interface power man agement controller with 10 different power modes multi - purpose clock generator with pll and fll operation modes 16 - bit sar adc , 12 - bit dac high - speed analog comparator with 6 - bit dac programmable voltage reference usb full - speed/low - speed otg/host/device c ontroller with device charge detect c a p a c i t i v e t o u c h p a d s s e g g e r j t a g , p o w e r k 4 0 x 2 5 6 1 4 4 l q f p u s b m i c r o - b t o w e r e l e v a t o r e x p a n s i o n c o n n e c t o r s s p i , i 2 c , d a c , p w m , u a r t s 4 m h z x t a l f r e e s c a l e d e v i c e e x t e r n a l c o n n e c t o r s i n t e r f a c e c i r c u i t s p o w e r i n f r a r e d p o r t i r o u t p u t c o m p a r a t o r j t a g 3 2 . 7 6 8 k h z x t a l 3 . 3 v 5 . 0 v g e n e r a l p u r p o s e t o w e r p l u g - i n ( t w r p i ) m i c r o s d c a r d s l o t 5 . 0 v l c d m i n i p l u g a u d i o o u t p u t b u z z e r m i c r o p h o n e a d c p w m d a c s p i , i 2 c , a d c , g p i o s d h c m c 3 4 7 2 7 c f c v o l t a g e r e g u l a t o r , p o w e r t s i , t s s r e c h a r g e a b l e b a t t e r y u s b , p o w e r u s b m i c r o - b 5 . 0 v d p , d n 3 . 3 v
kwikstikk40u m kwikstik - k40 user's manual page 8 of 19 spi, i 2 c (w/ smbus support), uart (w/ iso7816 and ir da) , can, i 2 s sd host controller (sdhc) gpio with pin interrupt support, dma request capability, digital glitch filtering capacitive touch sensing inputs (tsi) lcd disp lay driver supporting 3v and 5v glass, configurable frontplane and backplane pins, and segment failure detection debug interfaces: jtag, cjtag, swd trace: tpio, fpb, dwt, itm, etm, etb 2.2 clocking the kinetis mcu s start up from an internal digitally controll ed osci llator (dco). s oftware can enable one or two external oscil lators if desired. the external oscillator for the multipurpose clock generator (mcg) module can range from 32.768 k hz up to a 32 mhz crystal or ceramic resonator. the external oscillator f or the real time clock (rtc) module accepts a 32.768 khz crystal. figure 5. external clock source circuitry the clocking circuitry on the kwikstik is shown on sheet 7 of the schematics and in figure 5 . a 4 .0 mhz ceram ic resonator with built - in load capacitors is the default external source for the mcg oscillator inputs (xtal/extal_main) . a 32.768 khz crystal is connected to the rtc oscillator inputs by default. 2.3 system power the main power source for the kwikstik com es from either one of the two m icro usb ports. when plugged in, power for the system is derived from a freescale mc34727cfcr2 3.3v regulator . when installed into a tower system, the kwikstik can be powered from either an on - board source or from another so urce in the asse mbled tower system. switching the on/off switch to the off position will cut power supply to the k40 x256 mcu. the jm128 will remain powered even if the switch is in the off position, enabling the kwikstik for external programming. refer to section 2.4 , debug interfac e for information on how to use the on board segger j - link debug interface. refer to figure 6 f or location and correct usage of the on/off switch.
kwikstikk40u m kwikstik - k40 user's manual page 9 of 19 figure 6. kwikstik on/off switch positioning. an mgli rechargeable battery is available to test low power capabilities of the k40x256. this battery is recharged whenever usb power is available. 2.4 debug interfac e an mcf51jm128vld based segger j - link circuit provides a jtag and serial wire debug (swd) interface to program the on - board k40x256 mcu or an external kinetis mcu. 2.4.1 programming an on - board mcu a jtag debug interface from the jm128 to the k40x256 allows pr ogramming through a usb connection. a standard usb a male to micro - b male cable (provided) can be used for debugging via the usb connector, j18. drivers for the j - link interface are provided on the kwikstik dvd and are also available from segger here: ht tp://www.segger.com/cms/jlink - software.html . note: the on/off switch, sw1, needs to be in the on position in order to pr ovide power to the k40x256. a green led , d4 , will indicate when the switch is turned to on. 2.4.2 programming an external kinetis mcu the co rtex debug connector is a 10 - pin (0.05") connector providing access to the swd, swv, jtag, cjtag, and ezport signals available on the k40 device. the pinout and k40 pin connections to the debug connector, j8, is shown in table 1 . note: the on/off switch, sw1, needs to be in the off position in order to provid e ground to the cortex debug connector. table 1. cortex debug connector pinout pin function twr - k40x256 connection 1 vtref 3.3v mcu supply (p3v3_mcu) 2 tms / swd io 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
kwikstikk40u m kwikstik - k40 user's manual page 10 of 19 pin function twr - k40x256 connection 6 tdo / swo pta2/sci0_tx/ftm0_ch7/jtag_do/trace_swo/ezp_do 7 key D 8 tdi pta1/sci0_rx/ftm0_ch6/jtag_di/ezp_di 9 gnddetect pta4/ftm0_ch1/ms/nmi_b/ezp_cs_b 10 nreset reset_b note: j8 is not populated by default. in order to target an off - board kinetis device the user will need to solder on a connector and use a ribb on cable to connect to the external device. j8 can be populated with a 10 - position (2x5), .05 pitch surface - mount header such as the samtec ftsh - 105 - 01 - f - dv or compatible. possible ribbon cables include the samtec ffsd - 05 - d - 06.00 - 01 - n (6) or ffsd - 05 - d - 12 .00 - 01 - n (12). the on/off switch of the kwikstik will need to be in the off position to turn off the on - board k40x256 and to provide ground to the cortex debug connector. 2.5 infrared port an inf rared transmit and receive interface is implemented as shown in f igure 7 below . the ir_tx pin drive s an infrared diode by switching q4 . the receiver uses an infrared phototransistor connected to an on - chip analog comparator through a n optional low - pass filter . internal t o the k40 device, the output of the analog comparator can be routed to a uart module for easier processing of the incoming data stream. figure 7. infrared port implementation 2.6 gener a l purpose tower plug - in ( twrpi ) socket the kwikstik feature s a socket that can acc ept a variety of different tower plug - in modules featuring sensors, rf transceivers, and more . the g eneral p urpose twrpi socket provides ac cess to i2c, spi, irqs, gpios, t imers, a nalog conversion signals, twrpi id signals, reset, and voltage supplies . the pinout f or the twrpi socket is defined in table 2 .
kwikstikk40u m kwikstik - k40 user's manual page 11 of 19 refer to table 4 i/o connectors and pin usage table for the specific k 40 pin connections to the general purpose twrpi socket. table 2. general purpose twrpi s ocket p in out left - side 2x10 connector right - side 2x10 connecto r pin description 1 5v vcc 2 3.3 v vcc 3 gnd 4 3.3v vdda 5 vss (analog gnd) 6 vss (analog gnd) 7 vss (anal og 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 pin description 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 the ca pacitive touch sensing interface of the kwikstik implements the tsi module of the k40x256 as well as the freescale tss touch sensing software suite (freescale.com/touch). there are six individual electrodes on - board the kwikstik that simulate buttons. tou ch sensing software (tss) can be implemented for all of the electrodes. additionally, two of these signals (e1 and e2) can use the tsi module. the touch sensing input (tsi) module of the kinetis mcus provides capacitive touch sensing detection with high s ensitivity and enhanced robustness. each tsi pin implements the capacitive measurement of an electrode. in order to use tsi on e1 and e2, the pull - up resistors r107 and r108 must be removed (they are not populated by default) . the xtrinsic touch sensing software (tss) transforms freescale mcus into touch sensors, giving designers the flexibility to select from more than 650 freescale mcus to add cost - effective touch 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.
kwikstikk40u m kwikstik - k40 user's manual page 12 of 19 2.8 segment lcd a n lcd display containing 306 segments is mounted on the front side of th e kwikstik. the segments are driven by 39 front - plane and 8 back - plane signals from the k40x256 mcu (lcd _ p1 C lcd _ p47) . the front - plane and back - plane signals are mapped according to figure 8 and figure 9 . figure 8. lcd back - p lane signals figure 9. lcd f ront - p lane signals 2.9 audio input the kwikstik features audio input capabilities through an on - board electric omnidirectional microphone that can be sampled using the k40 adc module. figure 10. microphone circuit
kwikstikk40u m kwikstik - k40 user's manual page 13 of 19 2.10 audio output audio output options include a 3.5 mm miniplug connector that can be used with headphones or external speakers . the audio power amplifier includes 16 step up/down digital volume control pins, which can be controlled through gpio pins on the k40 (volume_up, volume_down) . audio_amp_on needs to be on to enable the amplifier refer to table 4 i/o connectors and pin usage table for the audio o utput 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
kwikstikk40u m kwikstik - k40 user's manual page 14 of 19 2.11 usb the k4 0x256 features a usb full - speed/low - speed otg/host/device controller with built - in transceiver. the kwikstik features a usb device connection to the k40x256 usb module through the micro usb connector j17. 2.12 micro secure digital card slot a micro secure digit al ( micro - sd) card slot is available on the kwikstik connected to the sd host controller (sdhc) signals of the k40 mcu. refer to table 4 i/o connectors and pin usage table for the sdhc signal connection details. 2.13 communication testpoints testpoints to access serial spi, i2c, uart and can modules of the k40x256 are available on the kwikstik . the available signal pinouts are described in table 3 table 3. communication testpoints usage table module connection port pin pin function uart 5 uart receive data pte 9 uart5_rx uart c lear to send pte10 uart5_cts_b uart t ransmit data pte8 uart5_tx uart r equest to send pte7 uart3_rts_b spi s pi serial data in pta 17 spi0_sin spi peripheral chip select pta14 spi0_pcs0 spi serial data out pta16 spi0_sout spi serial clock pta15 spi0_sck i2c i2c s erial clock line pte1 i2c1_scl i2c s erial data line pte0 i2c1_sda can can r eceive pin pte25 c an1_rx can t ransmit pin pte24 can1_tx 2.14 power consumption measuring a series of test points are available that allow measuring of the kwikstiks current consumption. two separate circuits allow current consumption measurement of the entire system or of t he k40x256 mcu. both circuits include an amp meter and a volt meter. for the volt meter, test points allow measurement of voltage consumption of a 1 ohm precision resistor, from which the current consumption can be calculated. usage of the amp meter requir es the removal of the 0 ohm resistor in 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 measu ring circuit .
kwikstikk40u m kwikstik - k40 user's manual page 15 of 19 figure 13. power consumption measuring circuit note: r62 and r64 are populated with 0 ohm resistors by default. in order to use the volt meter, they will need to be replaced by 1 ohm resistors. 3 input/output c onnec tors and pin usage table the followi ng table provides details on which k40x256 pins are using to communicate with the the i/o interfaces onboard the kwikstik . note : s ome port pins are used in multiple interface s on - board and many are potentially connected to off - board resources via the pri mary and secondary connectors. take care to avoid attempted simultaneous usage of mutually exclusive features. table 4. i/o connectors and pin usage table feature connection port pin pin function audio jack output audio amp on pte28 pte28 audio output dac1_out dac1_out volume up ptd10 ptd10 volume down ptd11 ptd11 buzzer audio out pta8 ftm1_ch0 microphone microphone input pta7 adc0_se10 sd card slot sd clock pte2 sdhc0_dclk sd command pte3 sdhc0_cmd sd data0 ptd12 sdhc0_d4 sd data1 ptd13 sdhc0_d5 sd data2 ptd14 sdhc0_d6 sd data3 ptd15 sdhc0_d7 sd card detect pt e27 pte27
kwikstikk40u m kwikstik - k40 user's manual page 16 of 19 sd card on pte 6 pte 6 infrared port ir transmit pte4 ir_tx ir receive pt a13 cmp 2 _in0 touch pads e1 / touch ptb0 tsi0_ch0 e2 / touch pt a4 tsi0_ch 5 e3 / touch pt a24 pt a2 4 e4 / touch pt a25 pt a25 e5 / touch pta26 pta26 e6 / touch pta27 pta27 general purpose twrpi socket twrpi an0 (j8 pin 8) D adc0_dp0/adc1_dp3 twrpi an1 (j8 pin 9) D adc0_dm0/adc1_dm3 twrpi an2 (j8 pin 12) D adc1_dp0/adc0_dp3 twrpi id0 (j8 pin 1 7) D adc0_dp1 twrpi id1 (j8 pin 18) D adc0_dm1 twrpi i2c scl (j9 pin 3) ptc10 i2c1_scl twrpi i2c sda (j9 pin 4) ptc11 i2c1_sda twrpi spi miso (j9 pin 9) ptb23 spi2_sin twrpi spi mosi (j9 pin 10) ptb22 spi2_sout twrpi spi ss (j9 pin 11) ptb20 sp i2_pcs0 twrpi spi clk (j9 pin 12) ptb21 spi2_sck twrpi gpio0 (j9 pin 15) ptc12 ptc12 twrpi gpio1 (j9 pin 16) ptb9 ptb9 twrpi gpio2 (j9 pin 17) ptb10 ptb10 twrpi gpio3 (j9 pin 18) ptc5 ptc5 twrpi gpio4 (j9 pin 19) pta5 pta5 4 tower elevator conne ctions the kwikstik features an expansion card - edge connector that interface s to the primary elevator board in a tower system. table 5 provides the pinout for the primary connector. table 5. kwikstik primary connector pinout pin # side b pin # side a name usage name usage b1 5v 5.0v power a1 5v 5.0v power b2 gnd ground a2 gnd ground b3 3.3v a3 3.3v b4 ele_ps_sense a4 3.3v b5 gnd ground a5 gnd ground b6 gnd ground a6 gnd ground b7 sdhc_clk / spi1_clk a7 scl0 b8 sdhc_d3 / spi1_cs1_b a8 sda0 b9 sdhc_d3 / spi1_cs0_b a9 gpio9 / cts1 pte10/uart_cts b10 sdhc_cmd / spi1_mosi a10 gpio8 / sdhc_d2 b11 sdhc_d0 / spi1_miso a11 gpio7 / sd_wp_det b12 eth_col a12 eth_crs b13 eth_rxer a13 eth_mdc
kwikstikk40u m 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 pt e7/uart_rts a21 ssi_mclk b22 gp io2 / 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 a 32 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 ca ntx0 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 i rq_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
kwikstikk40u m kwikstik - k40 user's manual page 18 of 19 pin # side b pin # side a name usage name usage b72 ebi_oe_b a72 ebi_ad8 b73 ebi_d7 a73 ebi_ad7 b74 ebi_d6 a74 ebi_ad6 b75 ebi_d5 a75 ebi_ad5 b76 ebi_d4 a76 ebi_ad4 b77 ebi_d3 a77 ebi_ad3 b78 ebi_d2 a78 ebi_ad2 b79 ebi_d1 a79 ebi_ad1 b80 ebi_d0 a80 ebi_ad0 b81 gnd ground a81 gnd ground b82 3.3v a82 3.3v 5 demo applications the demo applic ations highlig ht some of the features of the k40x256 mcu and the kwikstik evaluation and develo p ment board. all of the applications run under the freescale mqx tm rtos. when the board is plugged in and powered on, a menu will allow selection of one of the applications. use the top left and right electrodes (e1, e2) to navigate through the available options. to select an application, use either one of the bottom electrodes (e5, e6). figure 14. main menu navigation flow diagram for demo a pplications 5.1 sound recorder raw sound data can be recorded from the microphone , stored in the k40 internal memory , and reproduced using the audio output mini - plug connector. a pair of headphones or external speakers connected to the audio output jack of th e kwikstik is required for this demo application. figure 15. sound recorder demo application electrode layout s o u n d r e c o r d e r r e m o t e c o n t r o l u s b j o y s t i c k p o w e r o n n a v i g a t e s o u n d r e c o r d e r r e m o t e c o n t r o l u s b j o y s t i c k s e l e c t s e l e c t s e l e c t n a v i g a t e n a v i g a t e
kwikstikk40u m kwikstik - k40 user's manual page 19 of 19 5.2 remote control the remote control application uses the infrared transmitter to send sirc protocol commands that can control most sony televisions. commands for power (e2), channel up (e4), and channel down (e6 ) are pre - stored and can be transmitted by pressing the corresponding electrode. figure 16. remote control demo application electrode layout 5.3 usb joystick the kwikstik can be used as a usb joystick device when ru nning this application. when this application is selected the k40x256 will be enumerated as mqx joystick on the pc. use the touch - sensing electrodes to send button commands to the pc. figure 17. usb joystick demo application electrode layout to test th e joystick demo application, use the joystick properties dialog on a pc running windows. refer to figure 18 for step by step procedure to access the test application in windows 7. for other operating systems, refer to th e corre sponding joystick testing application . figure 18. procedure to access joystick properties dialog in windows 7


▲Up To Search▲   

 
Price & Availability of KWIKSTIK-K40

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X