Page 2
High-Risk Device whose failure to perform can be reasonably expected to cause, directly or indirectly, the failure of the High-Risk Device, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from any use of a Cypress product as a Critical Component in a High-Risk Device.
General Safety Instructions ESD Protection ESD can damage boards and associated components. Cypress recommends that you perform procedures only at an ESD workstation. If an ESD workstation is not available, use appropriate ESD protection by wearing an antistatic wrist strap attached to a grounded metal object.
This kit supports operating voltages of 1.9 V, 3 V (battery), 3.3 V or 5 V. You will use PSoC Creator™ to develop and debug your PSoC 4000S device projects. PSoC Creator is Cypress’s standard integrated design environment (IDE). If you are new to PSoC Creator, see the documentation on the PSoC Creator home page.
Introduction Figure 1-1. Kit Contents Inspect the contents of the kit; if you find any part missing, contact your nearest Cypress sales office for help: www.cypress.com/support. Board Details As shown in Figure 1-2, the PSoC 4 S-Series Pioneer Kit features a CapSense trackpad, two CapSense buttons, and a proximity sensor loop (not visible on the case) that lets you evaluate Cypress’s fourth-generation CapSense technology.
Figure 1-7. PSoC Creator Features PSoC Creator also enables you to tap into an entire tool ecosystem with integrated compiler chains and production programmers for PSoC devices. For more information, visit www.cypress.com/psoccreator. PSoC® 4 S-Series Pioneer Kit Guide, Doc. # 002-10238 Rev. *D...
Page 12
Introduction 1.3.1 PSoC Creator Code Examples PSoC Creator includes a large number of code examples. These examples are accessible from the PSoC Creator Start Page, as shown in Figure 1-8. Code examples can speed up your design process by starting you off with a complete design. The code examples also show how to use PSoC Creator Components for various applications.
Page 13
Introduction Figure 1-9. Code Example with Sample Code 1.3.2 Kit Code Examples You can access the installed kit code examples from the PSoC Creator Start Page. To access these examples, expand the Kits under the section Examples and Kits; then, expand the specific kit to see the code examples.
F-RAM, method to use the on board EZ-BLE PRoC Module, kit schematics, and the bill of mate- rials (BOM). Additional Learning Resources Cypress provides a wealth of data at www.cypress.com to help you to select the right PSoC device for your design, and to help you to quickly and effectively integrate the device into your design. For a...
Introduction Technical Support For assistance, visit Cypress Support or contact customer support at +1(800) 541-4736 Ext. 2 (in the USA) or +1 (408) 943-2600 Ext. 2 (International). You can also use the following support resources if you need quick assistance: Self-help (Technical Documents) ■...
Page 16
Introduction Table 1-3. Acronyms Used in this Document (continued) Acronym Definition Flexible Printed Circuit GPIO General-Purpose Input/Output Human Interface Device Inter-Integrated Circuit Integrated Circuit ICSP In-Circuit Serial Programming IDAC Current Digital-to-Analog Converter Integrated Development Environment Light-emitting Diode Personal Computer Positive Temperature Coefficient PRoC Programmable Radio-on-Chip PSoC...
Before You Begin To install Cypress software, you will require administrator privileges. However, they are not required to run software that is already installed. Before you install the kit software, close any other Cypress software that is currently running. Install Software Follow these steps to install the PSoC 4 S-Series Pioneer Kit software: 1.
Page 18
PSoC Programmer 3.25 or later: This is installed as part of PSoC Creator installation or is available separately at www.cypress.com/programmer. 6. Choose the Typical, Custom, or Complete installation type (select Typical if you do not know which one to select) in the Product Installation Overview window, as shown in Figure 2-2.
Uninstall Software The software can be uninstalled using one of the following methods: Go to Start > All Programs > Cypress > Cypress Update Manager and select the Uninstall ■ button that corresponds to the kit software.
Kit Operation This chapter introduces you to the various features of the PSoC 4 S-Series Pioneer Kit, including the theory of operation and the onboard programming and debugging functionality, KitProg2 USB-UART and USB-I2C bridges. Theory of Operation The PSoC 4 S-Series Pioneer Kit is built around the PSoC 4000S device. Figure 3-1 shows the block diagram of the PSoC 4000S device.
Page 21
Kit Operation Given below is a list of major features of PSoC 4000S device. 32-Bit MCU Subsystem ■ ® ® 48-MHz ARM Cortex -M0+ CPU ❐ Up to 32KB flash, 4KB SRAM ❐ Real-time clock capability with a WCO ❐ Programmable Analog Blocks ■...
Page 22
Kit Operation The PSoC 4 S-Series Pioneer Kit comes with a case that houses the PSoC 4 S-Series Pioneer board (main board) and a Flex PCB. Refer to How to open the Kit Case chapter on page 26 details on opening the case. Figure 3-3 shows the markup of PSoC 4 S-Series Pioneer board and the CapSense Flex PCB.
Page 24
3 V from the rechargeable battery. The kit has an onboard 2-chan- nel regulator from Cypress that provides 3.3 V on one channel and 1.9 V on the other. 3 V is derived from the onboard battery and 5 V from the USB.
Page 25
F-RAM and the PSoC 4000S. 13.Cypress F-RAM (U11): This kit features a Cypress F-RAM device (FM24V10-G) of 1 Mb capac- ity. The F-RAM is connected to the I2C interface of the PSoC 4000S. The F-RAM device can be used similar to an external EEPROM memory for data logging operations.
Page 26
Kit Operation 3.1.1 How to open the Kit Case The kit comes with a case that houses an FR4 board called the PSoC 4 S-Series Pioneer board (main board) and a Flex PCB. The following steps show how to open the case. 1.
Page 27
Kit Operation 3. Hold the kit as shown in Figure 3-8 and pull the bottom side of the casing wall outwards. Hold the USB connector and lift the board gently. Figure 3-8. Pull out the main board from the case Note that the main board need to be removed slowly because it is connected to the Flex PCB.
Page 28
Kit Operation 3.1.3 Reassembling Kit Case 1. Connect the flex PCB to the main board. 2. Flip the main board and gently push the flex PCB under the main board. 3. Align the main board switches with respective slots on the top case. 4.
USB-UART bridge. The PSoC 4 S-Series Pioneer Kit also supports Mass Storage Program- ming using KitProg2. A Cypress PSoC 5LP device is used to implement KitProg2 functionality. The KitProg2 is integrated in most PSoC development kits. For more details on the KitProg2 functionality, refer to the KitProg2 User Guide available in the following path in kit installation directory: <Install_Directory>\CY8CKIT-041-40XX PSoC 4 S-Series Pioneer Kit\<ver-...
Page 30
Kit Operation Green LED Off and Red LED Off. If you do not see the desired LED status, refer to the KitProg2 User Guide for details on the KitProg2 status and troubleshooting instructions. Figure 3-12. Connect USB Cable to USB connector on the kit 2.
Page 31
Kit Operation 3.2.4 Mass Storage Programmer The KitProg2 in the PSoC 4 S-Series Pioneer Kit supports programming through a USB Mass Stor- age interface. This interface allows you to program the PSoC 4000S by copying .hex files into an emulated USB Mass Storage device. For more details on KitProg2 Mass Storage Programmer, refer to the KitProg2 User Guide.
Using the Kit Code Examples Follow these steps to open and use the code examples. 1. Launch PSoC Creator from Start > All Programs > Cypress > PSoC Creator <version> > PSoC Creator <version>. 2. On the Start Page, click CY8CKIT-041-40XX under Examples and Kits > Kits. A list of code...
Page 33
Code Examples 5. Connect PSoC 4 S-Series Pioneer Kit to the PC using the USB cable, as shown in Figure 3-12, to program the kit with the code example. 6. Choose Debug > Program in PSoC Creator. 7. If the device is already acquired, programming will complete automatically – the result will appear in the PSoC Creator status bar at the bottom left side of the screen.
ADC result, a specific LED and breathing rate is chosen. In addition to controlling the LEDs, the ADC result is sent over I2C to a host PC running Cypress's Bridge Control Panel (BCP) software. This code example implements two CapSense buttons using the CY8CKIT-041-40XX.
Appendix Schematics Refer to the schematics files available in the kit installation directory under following paths: <Install_Directory>\CY8CKIT-041-40XX PSoC 4 S-Series Pioneer Kit\<ver- ■ sion>\Hardware\CY8CKIT-041-40XX Schematic.pdf <Install_Directory>\CY8CKIT-041-40XX PSoC 4 S-Series Pioneer Kit\<ver- ■ sion>\Hardware\CY8CKIT-041-40XX Flex Schematic.pdf Hardware Functional Description This section provides detailed explanation on individual hardware blocks of the PSoC 4 S-Series Pioneer Kit.
Page 37
4000S and EZ-BLE PRoC Module, when powered from USB port or external power supply. The volt- age selection is made through the switch SW6. The voltage regulator (MB39C011A) from Cypress has two channels and generates a constant 3.3 V on one channel, and 1.9 V on the other. The onboard rechargeable battery provides 3 V to the kit.
Page 38
Figure A-2. Schematics of Voltage Regulator Circuit and Power Selection Switch LED4 VO_V3.3 Input Voltage Range 6-12V R121 R124 0805 560 ohm 15.6K AMBER LED R122 Power LED P5LP2_7 6.8K 1 nF 820 ohm 5% Zener 3.3V 0.1 uF 910 ohm 1% 18K 1% 0.1 uF 18K 1%...
Page 39
Figure A-3. Battery Charging Circuit VO_V3.3 VBAT NO LOAD 75 ohm DB2J31400L 10 uF 3V Coin-cell Battery Note: Please consider the polarity marks provided on the board while re-soldering the battery. A.2.6 Protection Circuits The power supply rail has reverse-voltage, overvoltage, short circuit, and excess current protection features, as shown in Figure A-4.
Page 40
Figure A-5. Schematics of Current Measurement Switch VTARG NO LOAD SW 7 ZERO P4_VDD P4_VDD 0.86 Ohm 9.76 Ohm NO LOAD ZERO 5 POLE DIP SW SWITCH(S7) SETTINGS Load Default Note: To avoid leakage OFF OFF OFF OFF (short) during battery operation remove R20 1 ohm OFF OFF...
Page 41
Figure A-7. Potentiometer Schematics P4_VDD R118 ZERO R133 P2_4 1 nF ZERO R125 J2_P2_4 ZERO Potentiometer NO LOAD Remove R118, while performing low power measurement. Note that there is a current leakage of 80 µA on VTARG node into the PSoC 5LP when using battery (VBAT) as the power supply.
Page 42
marily a digital port that contains I/O pins for PWM, I2C, SPI, and analog reference. The J4 header is also a digital port that contains I/O pins for UART and PWM. The J12 header is an Arduino ICSP compatible header for the SPI interface and is not populated. Most of the pins available on J2, J3 and J4 headers have multiplexed functionalities such as CapSense sensors, user switch or RGB LEDs.
Page 43
Module. The EZ-BLE PRoC Module is a fully integrated, 10×10×1.8 mm, fully certified, programmable module designed for ease-of-use and reduced time-to-market. It contains Cypress’s PRoC BLE device, two crystals, chip antenna, shield, and passive components. For more information on using the EZ-BLE PRoC module, see...
Note: The 8-pin SOIC footprint provided for the F-RAM FM24V10 on the PSoC 4 S-Series Pioneer Kit is compatible with all I2C-based F-RAM devices from Cypress (FM24Vxx, FM24CLxx, and CY15BxxxJ parts). The F-RAM parts with more than 64 KB size support only four addresses (four devices of the same type on the same I2C bus);...
Page 45
Figure A-10. F-RAM I2C Data Format for HS Mode A.3.3 Write/Read Operation The F-RAM device datasheet includes details on how to perform a write/read operation with the F- RAM. Figure A-11 Figure A-12 provide a snapshot of the write/read packet structure as a quick reference.
EZ-BLE PRoC Module and PSoC Cre- ator, the development tool used for all EZ-BLE modules. This application note also guides you to more resources to accelerate in-depth learning about the Cypress EZ-BLE solutions. Visit www.cypress.com/ez-bleprocmodule/ for additional information on the EZ-BLE PRoC Module.
Page 47
C connections to KitProg2 and PSoC 4000S. See Table A-1 for details. ■ SWD connections to KitProg2 through the switch SW5. The SWD connections are shared ■ between the PSoC 4000S and EZ-BLE PRoC Module. The connections between EZ-BLE PRoC Module and PSoC 4000S are shown in Figure A-13 Figure A-13.
Migrating Projects Across Different Pioneer Series Kits All Cypress Pioneer series kits are Arduino Uno compatible and have some common onboard peripherals such as RGB LED, CapSense and User Switch. However, the pin mapping in each of the boards is different due to differences in pin functions of the PSoC device used. This section lists the pin mapping of the Pioneer series kits to allow for easy migration of projects across different kits.
Revision History Document Revision History Document Title: CY8CKIT-041-40XX PSoC® 4 S-Series Pioneer Kit Guide Document Number: 002-10238 Origin of Revision ECN Number Issue Date Description of Change Change 5110319 01/27/2016 SSHH New kit guide. 5266004 05/12/2016 SRDS Updated kit images in all sections. Updated Introduction chapter on page Updated...
Need help?
Do you have a question about the PSoC 4 S Series and is the answer not in the manual?
Questions and answers