Professional Documents
Culture Documents
Additional Information For PIC32 CVD and CTMU Demos
Additional Information For PIC32 CVD and CTMU Demos
Real-Time Debugging
To assist in debugging button/slider behavior, Microchip has provided Profilab GUI project for use on your PC Profilab is like LabView, but much cheaper
http://www.abacom-online.de/uk/html/profilab-expert.html
Standalone Windows mTouch GUI.exe allows use of GUI without purchasing Profilab Profilab projects can be customized to meet your debugging needs
Plot average voltage and button voltage Model product front panel on a GUI tab
Additional Information 1/20/2012 2
USB Cable for board power RJ-11 to ICSP Adaptor PICKit Serial Analyzer interface between PC and UART
Interface Cable
Additional Information
1/20/2012
Jumper Settings
PKSA Plug TX Gnd 1 2 3 4 5 6 EVB Plug to J2 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 Most Boards 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 PIC32 CTMU 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 PIC18F CVD 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17
4
Footprint of J2 on EVB
Rx
1 x 6 x 0.1
1/20/2012
GUI .EXE
Additional Information
1/20/2012
Additional Information
1/20/2012
Additional Information
1/20/2012
Additional Information
1/20/2012
Additional Information
1/20/2012
Additional Information
1/20/2012
10
1/20/2012
1/20/2012
11
Plot Controls
Record Stop Print Plot Save Plot Copy Plot to Clipboard Delta Time between samples
1/20/2012
1/20/2012
12
Min/Max
Displayed on Button Voltage Plots
Additional Information
1/20/2012
13
Voltages
Additional Information
1/20/2012
14
Min/Max
Displayed on Button Voltage Plots
Additional Information 1/20/2012 15
Additional Information
1/20/2012
17
Asserted
Button Signal
VNEGATIVE goes up
VPOSITIVE
goes down
Additional Information
1/20/2012
18
0.79 usecs
Interrupts Masked
V--
V+
Additional Information
0.55 usecs
1/20/2012
19
Additional Information
1/20/2012
20
Asserted
Button Signal
VPOSITIVE measurement
VNEGATIVE goes up
Additional Information
1/20/2012
21
0.58 usecs
Interrupts Masked
V+
V--
Additional Information
1/20/2012
22
UART TX pin on J2
Additional Information
1/20/2012
23
Asserted
VPOSITIVE
goes down
Interrupts Masked
(1.53 usecs)
Perf. Metric: Interrupt Masking Duration All these examples were taken using the Direct Key daughter card, but with different CVD/CTMU Evaluation Boards Each application tuned to provide equivalent cap touch performance
Interrupt Masking Durations [usecs] Technique Vpos Vneg Vtotal Diff w/o Pull-Ups 0.58 1 1.58 Diff w Pull-ups 0.55 0.79 1.34 CTMU 1.53 n/a 1.53
Additional Information 1/20/2012 25
26
Three switches I2S I/F to CODEC PMP I/F to 220x172 pixel TFT display SPI I/F to microSD music card Playback of 44.1 Ksps .WAV files
Additional Information
1/20/2012
27
Switch Prompts
28
Music Timing
Switch Prompts
Slider Display
Additional Information 1/20/2012 29
Additional Information
1/20/2012
30
Additional Information
1/20/2012
31
// Update buttons/slider if( ApplicationState != STARTUP && mTouchCapStatus_Check( &CurrentButtonStatus, &CurrentButtonAsserts, &Temp ) ) { mTouchUpdated = TRUE; if ( IgnoreSlider != TRUE ) { SliderValue = Temp; UpdateSlider( SliderValue ); } if ( IgnoreButtons != TRUE ) { UpdateButton( 1,(CurrentButtonStatus UpdateButton( 2,(CurrentButtonStatus UpdateButton( 3,(CurrentButtonStatus UpdateButton( 4,(CurrentButtonStatus } }//end if( mTouchCheckStatus... switch( ApplicationState ) {
Additional Information
1/20/2012
32
Additional Information
1/20/2012
33