SLAA842B December 2018 – August 2019 DS90C401 , DS90C402 , MSP430FR2512 , MSP430FR2522 , MSP430FR2532 , MSP430FR2533 , MSP430FR2632 , MSP430FR2633 , MSP430FR2672 , MSP430FR2673 , MSP430FR2675 , MSP430FR2676
The fourth step of designing a successful capacitive touch sensing system is to develop the hardware for the application. This section provides the hardware development guidance for CapTIvate MCUs.
Step 4a: Schematic Design Checklist
No. | Components | Recommendations |
---|---|---|
1 | VREG pin decoupling capacitor | 1 µF, low ESR ≤200 mΩ, placed next to VREG pin |
2 | DVCC pin decoupling capacitor | 4.7-µF to 10-µF tank, 0.1-µF bypass, placed next to MCU |
3 | Series resistors on CAP I/Os | 470 Ω |
4 | EMI noise filter capacitor | 68 pF, required for mutual capacitance mode RX pins if require conducted noise immunity |
5 | Reset pin resistor and capacitor | 47-kΩ pullup with 1-nF pulldown |
6 | I2C communication lines pullup resistor | 2.2 kΩ |
7 | Bootloader (BSL) | Refer to the bootloader section of the device-specific data sheet for BSL pin requirement and functions. |
8 | CAP I/O pins assignment (if possible) |
Use CapTIvate Design Center to auto-assign the CAP I/O pins. Leverage all the CapTIvate blocks. Use dedicated CAP I/O pins first. Refer to CapTIvate Pin Selection Guide. |
Step 4a.1: VREG Pin Decoupling Capacitor
VREG is the decoupling capacitor of the CapTIvate regulator. The recommended value for the required decoupling capacitor is 1 µF, with a maximum ESR of ≤200 mΩ. Connect VREG as close as possible to the MCU.
Step 4a.2: DVCC Pin Decoupling Capacitor
Refer to the device-specific data sheet for details.
Step 4a.3: Series Resistors on CAP I/Os
These are multipurpose series resistors that work with a TPD1E10B06 transient-voltage suppressor (TVS) diode if the system requires Electrostatic Discharge (ESD) protection. These resistors also help to lower the system emissions and improve RF noise immunity.
Step 4a.4: EMI Noise Filter Capacitor
For conducted noise immunity considerations, add a 68-pF capacitor to only mutual capacitance mode RX pins. The additional capacitance helps to minimize the effects of EMI. If DVCC mode is enabled, this capacitor can also help to ensure that the ratio of RX parasitic capacitance (Cp) to RX-TX mutual capacitance (Cm) is within the range that is specified in the data sheet.
Step 4a.5: Reset Pin Resistor and Capacitor
Refer to the device-specific data sheet for details.
Step 4a.6: I2C Communication Lines Pullup Resistor
Refer to the device-specific data sheet for details.
Step 4a.7: Bootloader (BSL)
Refer to the device-specific data sheet and the MSP430 FRAM Device Bootloader (BSL) User's Guide for details.
Step 4a.8: CAP I/O Pin Assignments
Every CAP I/O pin can be configured as a self capacitance or mutual capacitance sensor. To leverage the parallel scanning feature that reduces the overall power consumption and increases the response rate, you must optimize the CAP I/O pins assignment. CapTIvate Design Center has an auto-assign feature to optimize the CAP I/O pins assignment before schematic design. You can also use CapTIvate Design Center to evaluate an existing pin assignment and attempt to reduce the number of scan cycles. Figure 7 shows the auto-assign feature optimize 12 buttons with only 3 time cycles.
Try to use all of the available CapTIvate blocks to enable parallel scanning. The number of CapTIvate measurement blocks on a device determines the number of sensing electrodes that can be measured simultaneously. For example, if a device has 4 blocks and 6 buttons in a design, Figure 8 shows two different pin assignment and the required scan cycles.
If the device supports dedicated CAP I/O pins, assign the sensors to those CAP I/Os first. This can save the GPIOs for other uses in the application.
Refer to the CapTIvate Pin Selection section of the CapTIvate™ Technology Guide for details.
Step 4b: PCB Layout Design Checklist
No. | Components | Recommendations | |
---|---|---|---|
1 | Buttons (self capacitance) | Size | 10 mm and 12 mm (side length of square button, diameter of round button), equivalent to the interaction area |
Shape | Various, typically round or square | ||
Spacing to surrounding | 0.5 × overlay minimum thickness | ||
2 | Buttons (mutual capacitance) | Size | 10 mm and 12 mm (side length of square button, diameter of round button), equivalent to the interaction area |
Shape | Various, recommend square or shape with corners | ||
RX thickness | 0.5 mm (typical) | ||
TX thickness | 1 mm (typical) | ||
RX-to-TX spacing | 0.5 mm (typical) | ||
3 | Sliders and wheels | Shape | Sliders: Linear shape. Wheels: Circular shape.
Refer to Automating Capacitive Touch Slider and Wheel PCB Design Using OpenSCAD Scripts. |
Size | Depends on the required touch area | ||
Number of electrodes | 3 or 4 electrodes | ||
4 | Proximity | Varies from design to design | |
5 | Sensor trace | Width | 8 mil or as thin as the PCB manufacture allows |
Length | Minimize the length from sensor to controller | ||
6 | LEDs | LEDs signals 4 mm away from sensor signals | |
7 | Ground pour | Use hatched pour instead of solid pour.
Hatching: 25% (typical) 45°, 8-mil track width, 64-mil grid size |
|
8 | Moisture and liquid | Refer to Moisture Design Consideration and the Liquid Tolerant Capacitive Touch Keypad reference design | |
9 | Metal touch | Refer to Capacitive Touch Through Metal Using MSP430™ MCUs With CapTIvate™ Technology | |
10 | Noise immunity | Refer to Noise Immunity Hardware for details. |
Step 4b.1: Buttons, Self Capacitance
Refer to Self Capacitance Buttons Design and Electrode Size and Overlay Thickness for details.
Step 4b.2: Buttons, Mutual Capacitance
Refer to Mutual Capacitance Buttons Design and Electrode Size and Overlay Thickness for details.
Step 4b.3: Sliders and Wheels
Refer to Slider and Wheels Design and Implement custom slider/wheel position algorithm for details.
Step 4b.4: Proximity
The sensing range of a proximity sensor is dependent upon several factors:
Refer to Proximity Sensing Design for details.
Step 4b.5: Sensor Traces
Step 4b.6: LEDs
Signals that drive LEDs (unless the LEDs require high-strength drivers) are similar to other digital signals. As with digital signals, avoid placing LEDs signals near the sensor trace. TI recommends a distance of at least 4 mm for SLED (see Figure 16).
Refer to LEDs/LED Backlighting for details.
Step 4b.7: Ground Pour
Refer to Ground Planes for details.
Step 4b.8: Moisture and Liquid
Step 4c: Mechanical Design
Table 12 is a mechanical design checklist.
No. | Components | Recommendations | |
---|---|---|---|
1 | Overlay | Material | Typical: glass, polycarbonate, acrylic, ABS. Avoid conductive materials and conductive paints. |
Thickness | 10 mm or thinner, depends on material and sensor size | ||
Stackup |
Self capacitance: Avoid an air gap Mutual capacitance: Cannot have an air gap Can use materials to bridge the gap like spring clips. |
||
Bounding | Typical: optically clear adhesive, screws | ||
2 | Enclosure | Varies from design to design | |
3 | Connector | Minimize the trace length from the sensor to the MCU. Make sure that the connector is mechanically stable during operation. | |
4 | Sensor material | Typical: PCB, FPC, copper tape, conductive wire, ITO | |
5 | Noise immunity | Refer to Noise Immunity Hardware. | |
6 | Metal touch | Refer to the metal touch application design guide, Capacitive Touch Through Metal. |
Step 4c.1: Overlay
Material and Thickness
Stackup and Bounding
No air gap is allowed in a mutual capacitive design.
Refer to Overlay Design and Gaps Consideration for details.
Step 4c.2: Enclosure
The choice of enclosure depends on the product industrial design and also the requirement for the capacitive touch subsystem. For example, in moisture tolerant capacitive touch design you should use a non-conductive enclosure if possible. However, metallic enclosure that can be tied to a ground is better for ESD discharge.
Step 4c.3: Connector
Refer to Connector Consideration for details.
Step 4c.4: Sensor Materials
Refer to Electrode and Trace Materials for details.