Infineon CY8CKIT-041S-MAX User Manual
Infineon CY8CKIT-041S-MAX User Manual

Infineon CY8CKIT-041S-MAX User Manual

Psoc 4100s max pioneer kit guide
Hide thumbs Also See for CY8CKIT-041S-MAX:

Advertisement

Quick Links

CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer
kit guide

About this document

Scope and purpose
This guide will help you get acquainted with the PSoC™ 4100S Max pioneer kit (CY8CKIT-041S-MAX). This
document also provides hardware details of the board and its usage information.
Intended audience
This document is intended for CY8CKIT-041S-MAX users.
User Guide
Please read the Important Notice and Warnings at the end of this document
002-32436 Rev. *B
www.infineon.com
page 1 of 56
<2021-06>

Advertisement

Table of Contents
loading

Summary of Contents for Infineon CY8CKIT-041S-MAX

  • Page 1: About This Document

    About this document Scope and purpose This guide will help you get acquainted with the PSoC™ 4100S Max pioneer kit (CY8CKIT-041S-MAX). This document also provides hardware details of the board and its usage information. Intended audience This document is intended for CY8CKIT-041S-MAX users.
  • Page 2: Table Of Contents

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Table of contents Table of contents About this document ........................1 Table of contents ..........................2 Safety and regulatory compliance information .................. 4 General safety instructions ............................4 ESD protection ................................4 Handling boards ................................4 Introduction ..........................
  • Page 3 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Table of contents CY8CKIT-041S-MAX Kit rework ......................46 Bill of materials ............................53 Frequently asked questions ........................53 Revision history..........................55 User Guide 3 of 56 002-32436 Rev. *B <2021-06>...
  • Page 4: Safety And Regulatory Compliance Information

    Safety and regulatory compliance information Safety and regulatory compliance information The CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit is intended for development purposes only. This kit is not a finished product and when assembled may not be resold or otherwise marketed unless all required authorizations are obtained.
  • Page 5: Introduction

    (MSC) - a capacitive sensing system with best-in-class performance. The CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit lets you evaluate all the PSoC™ 4100S Max MCU features. It comes with two boards, CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer board (hereafter called “PSoC™ 4100S Max pioneer board”) and CY8CKIT-041S-MAX capacitive sensing expansion board (hereafter called “Capacitive...
  • Page 6: Getting Started

    Introduction Figure 1 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit contents Inspect the contents of the kit; if you find any part missing, contact your nearest Infineon sales office for help: www.cypress.com/support. Getting started This guide will help you get acquainted with the PSoC™ 4100S Max pioneer kit: Follow Using the OOB example –...
  • Page 7: Board Details

    Started with PSoC® 4 under “ModusToolbox™ Resources”. Board details The CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit comes with two boards, a PSoC™ 4100S Max pioneer board and a capacitive sensing expansion board. The pioneer board has the following features (see Figure 1.
  • Page 8 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Introduction Figure 2 shows the pinout of the PSoC™ 4100S Max pioneer board. Figure 2 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer board pinout Table 1 PSoC™ 4100S Max pioneer board pinout Primary on-board function...
  • Page 9 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Introduction Primary on-board function Secondary on-board Connection details function P0[7] UART_CTS GPIO on J6.1 header Remove R9 and mount R58 to connect to Arduino header P1[0] I2C_SCL (J3.10) – – P1[1] I2C_SDA (J3.9) –...
  • Page 10 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Introduction Primary on-board function Secondary on-board Connection details function P4[7] FFC connector – J9.21 – Touchpad side – CAPSENSE™ Touchpad (RX5) Slider side – CAPSENSE™ slider (RX0) P5[0] FFC connector – J9.36 –...
  • Page 11: Additional Learning Resources

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Introduction Primary on-board function Secondary on-board Connection details function P9[2] FFC connector – J9.34 – Touchpad side – CAPSENSE™ Touchpad (TX2) Slider side – None P9[3] FFC connector – J9.35 – Touchpad side – CAPSENSE™ Touchpad (TX3) Slider side –...
  • Page 12: Documentation Conventions

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Introduction Documentation conventions Table 2 Document conventions for guides Convention Usage Courier New Displays file locations, user entered text, and source code: C:\...cd\icc\ Italics Displays file names and reference documentation: Read about the sourcefile.hex file in the PSoC™ Creator User Guide.
  • Page 13 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Introduction Abbreviation Definition MISO Master In Slave Out (SPI) MOSI Master Out Slave In (SPI) Multi Sense Converter Negative Temperature Coefficient Out-of Box PSoC™ Programmable System on Chip Pulse Width Modulation QSPI Quad Serial Peripheral Interface...
  • Page 14: Kit Operation

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Kit operation Kit operation This chapter introduces you to various feature of PSoC™ 4100S Max pioneer kit including the theory of operation and the onboard KitProg3 programming and debugging functionality, USB-UART, and USB-I2C bridges.
  • Page 15 Proximity Figure 4 Functional block diagram of CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer board The CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit comes with two boards, PSoC™ 4100S Max pioneer board and capacitive sensing expansion board. Figure 5 shows the markup of the PSoC™ 4100S Max pioneer board.
  • Page 16 CAPSENSE™ buttons (CSB1 and CSB2): Two CAPSENSE™ buttons which can be configured as self- capacitance (CSD) or mutual-capacitance (CSX) buttons, allow you to evaluate Infineon’ fifth-generation CAPSENSE™ technology. These buttons have a 3-mm acrylic overlay for smooth touch sensing.
  • Page 17 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Kit operation PSoC™ 4100S Max MCU (CY8C4149AZI-S598, U1): This kit is designed to highlight the features of the PSoC™ 4100S Max MCU. For details on PSoC™ 4100S Max MCU pin mapping, refer to Table PSoC™...
  • Page 18: Kitprog3: Onboard Programmer/Debugger

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Kit operation KitProg3: Onboard programmer/debugger The PSoC™ 4100S Max pioneer board can be programmed and debugged using the onboard KitProg3. KitProg3 includes programming and debugging along with USB-UART and USB-I2C capabilities. A PSoC™ 5LP device is used to implement the KitProg3 functionality.
  • Page 19 2. In the ModusToolbox™ IDE, import the desired code example (application) into a new workspace. a. Click on New Application from Quick Panel. Figure 8 Example figure b. Select the CY8CKIT-041S-MAX in the Choose Board Support Package (BSP) window and click Next, as shown in Figure Figure 9...
  • Page 20 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Kit operation c. Select the application and click Create, as shown in Figure Figure 10 CY8CKIT-041S-MAX Application selection User Guide 20 of 56 002-32436 Rev. *B <2021-06>...
  • Page 21 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Kit operation 3. To build and program a PSoC™ 4100S Max MCU application, in the Project Explorer, select <App_Name> project. In the Quick Panel, scroll to the Launches section and click the <App_Name> Program (KitProg3_MiniProg4) configuration as shown in Figure 11.
  • Page 22 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Kit operation 4. ModusToolbox™ has an integrated debugger. To debug a PSoC™ 4100S Max MCU application, in the Project Explorer, select <App_Name> project. In the Quick Panel, scroll to the Launches section and click the <App_Name>...
  • Page 23: Using The Oob Example - [Msc Csx Button Project]

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Kit operation 2.3.1 Using the OOB example – [MSC CSX button project] The PSoC™ 4100S Max pioneer board is by default programmed with the code example: PSoC™ 4: MSC CAPSENSE™ CSX Button Tuning. The steps below describe on how to use the example. For a detailed description of the project refer to the example’s readme file in the GitHub repository or from the application’s...
  • Page 24: Usb-Uart Bridge

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Kit operation 2.3.2 USB-UART bridge The KitProg3 on the PSoC™ 4100S Max pioneer board can act as a USB-UART bridge. The primary UART and flow- control lines between the PSoC™ 4100S Max MCU and the KitProg3 are hard-wired on the board, as Figure 14 shows.
  • Page 25: Hardware

    This section explains in detail the individual hardware blocks. The kit comes with two boards: CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer board and CY8CKIT-041S-MAX capacitive sensing expansion board. The pioneer board consists of the PSoC™ 4100S Max MCU device, KitProg3 programmer/debugger and bridge, voltage regulators, user LEDs and buttons, CAPSENSE™...
  • Page 26 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware PSoC 4100S Max MCU I/Os VCCD VDDD VDDA P5_0 P0_0 P0.0 P5.0 P0_1 P5_1 P0.1 P5.1 P0_2 P5_2 P0.2 P5.2 P5_3 P0_3 P0.3 P5.3 P5_4 P0_4 P0.4 P5.4 P5_5 P0_5 P0.5 P5.5...
  • Page 27 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware P4_VDD VDDD PSoC 4100S Max MCU Power VCCD VDDD 10uF 0 OHM VDDA 10uF VDDD and VCCD pins should be shorted together and bypassed if 1.71 to 1.89V external supply is provided on VDDD.
  • Page 28: Psoc™ 5Lp-Based Kitprog3 Program And Debug

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware 3.2.2 PSoC™ 5LP-based KitProg3 program and debug An onboard PSoC™ 5LP (CY8C5868LTI-LP039) device is used as a KitProg3 to program and debug PSoC™ 4100S Max MCU. The PSoC™ 5LP device connects to the USB port of a PC through a USB connector and to the SWD and other communication interfaces of the PSoC™...
  • Page 29: Serial Interface Between Kitprog3 And Psoc™ 4100S Max Mcu

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware MCU SWD Interface VTARG 0 OHM SWDIO P3_2 0 OHM SWDCLK P3_3 0 OHM RESET XRES_L Figure 17 Schematics of PSoC™ 5LP-based KitProg3 3.2.2.1 Serial interface between KitProg3 and PSoC™ 4100S Max MCU In addition to the use as an onboard programmer/debugger, the PSoC™...
  • Page 30: Psoc™ 4100S Max Mcu Swd 10-Pin Programming Header

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware 3.2.3 PSoC™ 4100S Max MCU SWD 10-pin programming header This 10-pin header allows you to program and debug the PSoC™ 4100S Max MCU using an external programmer such as MiniProg4. MCU 10-pin SWD Header...
  • Page 31: Power Supply System

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware 3.2.4 Power supply system The power supply system on this board is versatile, allowing the input supply from the following sources: 5 V from the KitProg3 USB Micro-B connector (J8) • 7 V to 12 V from VIN header or Arduino header (J5) •...
  • Page 32: Voltage Regulators

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware 3.2.4.1 Voltage regulators The different output voltages required are 5 V or 3.3 V for PSoC™ 4100S Max MCU, user LEDs, thermistor, and expansion header and 5 V for KitProg3 (PSoC™ 5LP), power LED, and regulator. The onboard voltage regulator is designed to generate 3.3 V, required for onboard peripherals, when powered through the KitProg3 USB...
  • Page 33: Current Measurement Header

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware 3.2.4.3 Current measurement header The current for PSoC™ 4100S Max MCU has a dedicated two-pin header to facilitate easy current measurement using an ammeter across the pins. Ensure that either the jumper or ammeter is present before the kit is powered.
  • Page 34 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware CapSense Buttons CSB1 CS_BTN0_TX CS_BTN_RX CS_BTN1_TX CSB2 CS_BTN0_TX P11_2 CS_BTN1_TX P0_3 CS_BTN_RX P0_1 CapSense Buttons Shield Hatch_Pattern1 CS_SHIELD0 R101 0 OHM 0 OHM Hatch_Pattern2 0 OHM CS_SHIELD1 R100 0 OHM CS_SHIELD0 560 OHM...
  • Page 35: Leds

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware 3.2.6 LEDs D3 LED (yellow) indicates the status of KitProg3 (see the KitProg3 User Guide for details). D2 LED (yellow) indicates the status of the power supplied to the board. This power LED will not light up when powered from an external programmer.
  • Page 36: Push Buttons

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware 3.2.7 Push buttons The board has a reset button, one user-controllable button, and a KitProg3 mode selection button. The reset button (SW1) is connected to the XRES pin of the PSoC™ 4100S Max MCU and is used to reset the device. A user button (SW2) is connected to pin P11[5] of the PSoC™...
  • Page 37: Thermistor

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware 3.2.9 Thermistor A 10K negative temperature coefficient (NTC) thermistor is present onboard for ambient temperature measurement. By default, the thermistor is connected in single-ended mode to P2[6], and can be changed to ratio-metric differential mode by modifying the connections using zero-ohm resistors.
  • Page 38: Expansion Headers

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware 3.2.10 Expansion headers I/Os of the PSoC™ 4100S Max MCU are connected to expansion headers on the pioneer board. I/Os are connected to three primary categories of connectors. 3.2.10.1 Arduino Uno compatible connectors The board has four Arduino Uno compatible connectors: J1, J2, J3, and J4.
  • Page 39 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Arduino Uno compatible I/O connectors 3.2.10.1.2 The pioneer board is compatible with and operates flawlessly with third-party Arduino shields. The connectors J2, J3, and J4 bring out Arduino Uno-compatible I/Os of the PSoC™ 4100S Max MCU.
  • Page 40: 3.2.10.2 Additional Gpio Expansion Connector

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Pin # Arduino pin Pioneer board function PSoC™ 4100S Max MCU pin J4.7 PWM / DIGITAL I/O P6[2] J4.8 DIGITAL I/O P6[3] 3.2.10.2 Additional GPIO expansion connector Additional unused I/Os and a few shared I/Os of the PSoC™ 4100S Max MCU are brought out to this connector.
  • Page 41: Ffc Connector For Expansion Board

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Pin # PSoC™ 4100S Primary Secondary Secondary on-board function Max MCU pin on-board function on-board function J6.9 P4[3] GPIO on J6 header Alternate CMOD Remove R85 and mount 2.2 nF capacitor on C31 J6.10...
  • Page 42 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware FFC Connector Touchpad Signals Touchpad Interface TF31-40S-0.5SH(800) MTG2 MTG1 CS_SHIELD0 CS_PROX CS_SHIELD0 CST1 TP_COL_8 TP_COL_9 TP_COL_10 TP_COL_11 TP_ROW_9 TP_COL_12 TP_ROW_8 TP_COL_13 TP_ROW_7 TP_COL_14 TP_ROW_6 TP_COL_15 TP_ROW_5 TP_ROW_4 TP_ROW_3 CS_SHIELD1 TP_ROW_2 TP_ROW_1 TP_ROW_9...
  • Page 43 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Table 7 Touchpad and proximity interface FFC pin # Function PSoC™ 4100S Max MCU pin J2.1, J2.10, J2.11, J2.12, J2.18, J2.19, J2.25, J2.27, J2.28, J2.37 J2.2 TP.COL.7 P5[5] J2.3 TP.COL.6 P5[4] J2.4 TP.COL.5...
  • Page 44: 3.2.11.2 Slider Interface

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware 3.2.11.2 Slider interface The Expansion board consists of an 8-segment slider that supports both CSD and CSX sensing. CapSense Shield for Slider FFC Connector CapSense Slider Interface HATCH_PATTERN3 TF31-40S-0.5SH(800) Hatch_Pattern3 CS_SLD_SHIELD0 0 OHM...
  • Page 45: 3.2.11.3 Hatch Pattern Configuration

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware 3.2.11.3 Hatch pattern configuration The board supports driven shield that can drive the hatch pattern surrounding the touchpad proximity region and slider region. By default, hatch patterns are connected to ground. A shield signal driven hatch pattern provides performance improvements for CSD (self-capacitance) sensing by reducing the paracitic capacitance and provides liquid tolerance.
  • Page 46: Cy8Ckit-041S-Max Kit Rework

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware CY8CKIT-041S-MAX Kit rework This section explains modifications that can be made to the board to evaluate different use cases that are multiplexed and not available out of box. Rework to add on board ECO for the PSoC™ 4100S Max MCU.
  • Page 47 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Rework to change the hatch pattern configuration for the CAPSENSE™ buttons on the pioneer board. By default, hatch patterns are connected to ground. − Remove R98 and R99 and load R100 and R101, to connect the hatch patterns to a driven shield signal.
  • Page 48 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Rework to change the hatch pattern configuration for the Touchpad on the expansion board. By default, hatch patterns are connected to ground. − Remove R9 and load R8 to connect the hatch pattern to a shield signal generated by CAPSENSE™ MSC −...
  • Page 49 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Rework to change the hatch pattern configuration for the slider on the expansion board. By default, hatch patterns are connected to ground. − Remove R4 and load R5 to connect the hatch pattern to a shield signal generated by CAPSENSE™ MSC −...
  • Page 50 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Rework to change the thermistor from single-ended mode to ratio-metric differential mode. By default, the thermistor is connected in single-ended mode to P2[6] and this can be changed to ratio- − metric differential mode by modifying zero-ohm resistor connections. The optional pins provided for ratio-metric mode are also connected to Arduino header (J2).
  • Page 51 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Rework to bring out I/Os connected to the LEDs of expansion headers. PSoC™ 4100S Max MCU I/Os P6[4], P12[0], and P7[3] are, by default, connected to onboard LEDs. These − can be brought out to the 10-pin GPIO expansion connector (no load by default), by changing the series resistor configuration.
  • Page 52 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Rework to change CMOD connection to alternate pins. By default, CMOD capacitors of CAPSENSE™ MSC block channel 0 (MSC0) are connected to P4.0 and P4.1. − Similarly, CMOD capacitors of CAPSENSE™ MSC block channel 1 (MSC1) are connected to P7.0, and P7.1.
  • Page 53: Bill Of Materials

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Bill of materials See the BoM files available in the webpage. Frequently asked questions What additional overlays can be used with CAPSENSE™? Any kind of non-conductive overlays (up to 5 mm total thickness) like wood, acrylic, and glass can be −...
  • Page 54 CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Hardware Operate the actuator towards the center. Operating one side only may result in actuator damage or − incomplete mating. Do not pull or pick at the actuator. Doing so may damage it. (Do not carry out any operation other than −...
  • Page 55: Revision History

    CY8CKIT-041S-MAX PSoC™ 4100S Max pioneer kit guide Revision history Revision history Major changes since the last revision Date Version Description 2021-03-22 Initial release. 2021-05-18 Internal release. 2021-06-29 Initial public release. User Guide 55 of 56 002-32436 Rev. *B <2021-06>...
  • Page 56 With respect to any examples, hints or any typical WARNINGS values stated herein and/or any information 81726 Munich, Germany regarding the application of the product, Infineon Due to technical requirements products may Technologies hereby disclaims any and all contain dangerous substances. For information on...

Table of Contents