background image

PSoC™ 6 Wi-Fi Bluetooth® pioneer kit guide, Document Number. 002-22677 Rev. *I

21

Introduction

GPIO

general-purpose input/output

HID

human interface device

I

2

C

Inter-Integrated Circuit

IC

integrated circuit

ICSP

in-circuit serial programming

IDAC

current digital-to-analog converter

IDE

integrated development environment

LED

light-emitting diode

PC

personal computer

PCM

pulse code modulation

PD

power delivery

PDM

pulse density modulation

PTC

positive temperature coefficient

PWM

pulse width modulation 

RGB

red green blue

SAR

successive approximation register

SMIF

serial memory interface

SPI

serial peripheral interface 

SRAM

serial random access memory

SWD

serial wire debug

TFT

thin-film transistor

UART

universal asynchronous receiver transmitter

USB

Universal Serial Bus

WCO

watch crystal oscillator

Table 1-4.  Acronyms used in this document

 (continued)

Acronym

Definition

Summary of Contents for PSoC CY8CKIT-062-WiFi-BT

Page 1: ...rs as part of the Infineon product portfolio Continuity of document content The fact that Infineon offers the following product as part of the Infineon product portfolio does not lead to any changes t...

Page 2: ...CY8CKIT 062 WIFI BT PSoC 6 Wi Fi Bluetooth pioneer kit guide Document Number 002 22677 Rev I Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 www cypress com...

Page 3: ...ity arising out of any security breach such as unauthorized access to or use of a Cypress product In addition the products described in these materials may contain design defects or errors known as er...

Page 4: ...30 2 3 1 Programming and debugging using ModusToolbox software 30 2 3 2 USB UART bridge 34 2 3 3 USB I2C bridge 35 2 3 4 USB SPI bridge 35 3 Hardware 36 3 1 Schematics 36 3 2 Hardware functional desc...

Page 5: ...luetooth pioneer kit guide Document Number 002 22677 Rev I 4 Contents 3 3 4 CAPSENSE shield 49 3 3 5 CSH 49 3 3 6 Multiplexed GPIOs 50 3 4 Bill of materials 50 3 5 Frequently asked questions 50 Revisi...

Page 6: ...n a new FCC ID for this host kit Most conducted RF test results may still be reused Customer also needs to take their product through other FCC ISED testing such as unintentional radiators FCC sub par...

Page 7: ...es only at an ESD workstation If an ESD workstation is unavailable use appropriate ESD protection by wearing an anti static wrist strap attached to a grounded metal object Handling boards This kit is...

Page 8: ...tures a PSoC 6 MCU a 512 Mb NOR flash an on board programmer debugger KitProg3 a 2 4 GHz WLAN and Bluetooth functionality module CYW4343W a five segment CAPSENSE slider two CAPSENSE buttons one CAPSEN...

Page 9: ...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 1 2 Getting started This guide will help you t...

Page 10: ...t expandable memory for data and code KitProg3 onboard programmer debugger USB to UART I2C SPI bridge functionality CAPSENSE touch sensing slider five elements and two buttons all of which are capable...

Page 11: ...2 Pioneer board 1 6 1 1 0 1 211 1 1 51 4 02 6 1 20 211 1 4 1 1 4 1 01 120 0 0 1 211 0 4 1 4 1 2 2 1 0 1 4 1 2 2 Footprints only not populated on the board Components at the bottom side of the board 5...

Page 12: ...PSoC 6 Wi Fi Bluetooth pioneer kit guide Document Number 002 22677 Rev I 11 Introduction Figure 1 3 Pioneer board pinout...

Page 13: ...to primary and secondary functions by default Remove R27 to disconnect from the LED P2 0 SDIO DATA0 J25 7 WL_JTAG_TMS Remove R122 or R110 and mount R115 to disconnect from PSoC 6 MCU and connect the...

Page 14: ...UART RTS KitProg3 UART CTS Remove R93 to disconnect from KitProg3 UART CTS This will also disconnect RTS and SPI lines from KitProg3 P5 3 Arduino J4 4 D3 UART CTS KitProg3 UART RTS Remove R88 to disco...

Page 15: ...n Arduino header J20 2 Remove R61 to disconnect CAPSENSE pad and populate R172 to connect to header P8 2 CAPSENSE Button1 Rx GPIO on non Arduino header J20 3 Remove R60 to disconnect CAPSENSE pad and...

Page 16: ...patible with Arduino J2 5 A2 P10 3 GPIO on header compatible with Arduino J2 7 A3 P10 4 GPIO on header compatible with Arduino J2 9 A4 PDM_CLK P10 5 GPIO on header compatible with Arduino J2 11 A5 PDM...

Page 17: ...ct from KitProg3_SPI lines P12 4 KitProg3 SPI SELECT GPIO on non Arduino header J19 10 Connected to primary function by default Populate R74 to connect to J19 or remove R83 to disconnect KitProg3_SPI_...

Page 18: ...1 8 P13 6 GPIO on non Arduino header J2 19 CAPSENSE shield Remove R44 to disconnect from GND and populate R45 to connect to the CAPSENSE shield hash pattern on the board P13 7 User LED red GPIO on non...

Page 19: ...lifier capability An audio jack with a provision of connecting both AHJ and OMTP headphones The headset standard can be set by an on board switch An ambient light sensor IC made of an NPN phototransis...

Page 20: ...SDA I2C PDM CLK P10 4 J2 10 TFT DISP DB11 P9 4 a a Mount R162 on the Pioneer board to connect J2 10 of the TFT board to P9 4 J2 11 A5 ADC5 PDM DATA P10 5 J2 12 TFT DISP DB12 P9 5 J3 1 D8 DIGITAL I O...

Page 21: ...ntions for guides Convention Usage Courier New Displays user entered text and source code Italics Displays file locations file names and reference documentation Read about the sourcefile hex file in t...

Page 22: ...diode PC personal computer PCM pulse code modulation PD power delivery PDM pulse density modulation PTC positive temperature coefficient PWM pulse width modulation RGB red green blue SAR successive a...

Page 23: ...Mode CPUs Active Sleep Color Key Power Modes and Domains PSoC 62 MCU CY8C62x6 CY8C62x7 CPU Subsystem Audio Subsystem SCB Programmable Analog SAR ADC 12 bit SARMUX DAC 12 bit 2x Opamp Temperature Sens...

Page 24: ...t d s s s Z s s Z s s s s W W s s 5 2 6 78 9 0 87 0 s sdZ Z s h s z s E s 2 4 2 4 4 0 E s Z s sdZ E s h d 2 W h Zd d Zd s Z s 0 W K s sdZ Z sd Z D z d t d s E d W dD s s s s s h d K Z Z D s WDK s W W...

Page 25: ...oneer kit comes with the PSoC 6 Wi Fi Bluetooth pioneer board which has the CY8CKIT 028 TFT display shield connected as Figure 2 3 shows Figure 2 3 PSoC 6 Wi Fi Bluetooth pioneer board and TFT display...

Page 26: ...ll up for detecting the button press This button also provides a wake up source from low power modes of the device 7 I O header compatible with Digilent Pmod J14 This header can be used to connect 1 6...

Page 27: ...the LEDs 21 RGB LED LED5 This on board RGB LED can be controlled by the PSoC 6 MCU The LEDs are active LOW so the pins must be driven to ground to turn ON the LEDs 22 Wi Fi and Bluetooth module LBEE5K...

Page 28: ...For some devices in the PSoC 6 MCU family simultaneous GPIO switching with unrestricted drive strengths and frequency can induce noise in on chip subsystems affecting CAPSENSE and ADC results For more...

Page 29: ...header compatible with Arduino J2 J3 and J4 These headers interface with the PSoC 6 MCU GPIOs on the baseboard 6 Power header compatible with Arduino J1 This header receives power from header J1 on th...

Page 30: ...following conditions are met when the CY8CKIT 028 TFT display shield is mounted on the PSoC 6 Wi Fi Bluetooth pioneer board 1 Ensure that SW5 is either set to 3 3 V or set to the 1 8 V 3 3 V VARIABLE...

Page 31: ...of the kit shows KitProg2 but KitProg3 is loaded on the kit 2 3 1 Programming and debugging using ModusToolbox software 1 Connect the board to the PC using the provided USB cable through the KitProg3...

Page 32: ...ed code example application into a new workspace a Click New Application from the Quick Panel Figure 2 8 Create new application b Select the BSP in the Choose Board Support Package window and click Ne...

Page 33: ...lick Create Figure 2 10 Creating a new application Select Application 4 To build and program a PSoC 6 MCU application in the Project Explorer select App_Name project In the Quick Panel scroll to the L...

Page 34: ...ed with the Wi Fi_Web_Server code example The following steps describe on how to use the example For a detailed description of the project see the example s README md file in the GitHub repository The...

Page 35: ...is connected at the same time during OOB evaluation the pre programmed SSID would be the same for all kits Thus it may be difficult to identify the kit with which the device has established the conne...

Page 36: ...user guide Figure 2 16 I2C connection between KitProg3 and PSoC 6 MCU 2 3 4 USB SPI bridge The KitProg3 can function as a USB SPI bridge The SPI lines between the PSoC 6 MCU and the KitProg3 are hard...

Page 37: ...nd faster time to market For more information see the PSoC 6 MCU webpage and the datasheet Simultaneous GPIO switching with unrestricted drive strengths and frequency can affect CAPSENSE and ADC perfo...

Page 38: ...refore the PSoC 5LP MCU can be used to control shields compatible with Arduino with an I2C UART SPI interface Figure 3 1 Schematics of programming and serial interface connections QWHUIDFH 8 57 QWHUID...

Page 39: ...an input of 5 V to 12 V and a main regulator U10 that generates either a variable 1 8 V to 3 3 V or a fixed 1 8 V or a fixed 3 3 V from the output of U30 Figure 3 2 shows the schematics of the voltage...

Page 40: ...r inputs Board condition USB VIN ETM header VTARG_IN JTAG SWD header VTARG_REF Main regulator powered by PSoC powered by Non Type C power adapter legacy USB 5 V 5 N A N A Type C Main regulator 5 N A N...

Page 41: ...9 1 30 3 5 5 26791 30 3 796 6 7 X 9 30 3 30 3 30 3 73 5 1 9 XFN RRVW 5HJXODWRU 9 B 1 9B287 9 B 1 X 1 9 X 5 X 9 1 X 9 S 1 9 X 9 5 5 X 9 5 X 9 X 9 5 X 9 8 736 9287 3 1 1 1 36 6 1 9 1 9 1 96 9287 3 9 8...

Page 42: ...nformation on how to rework the kit to access these pins see PSoC 6 Wi Fi Bluetooth pioneer board reworks on page 47 3 2 5 3 PSoC 5LP MCU GPIO header J6 J6 is a 8 2 header provided on the board to bri...

Page 43: ...the Getting Started with CAPSENSE Design Guide Figure 3 3 Schematics of CAPSENSE circuit 3 2 7 LEDs LED1 LED2 and LED3 red amber and green respectively indicate the KitProg3 status see the KitProg3 us...

Page 44: ...default Figure 3 4 Schematics of push buttons 3 2 9 NOR flash The pioneer board has a NOR flash memory S25FL512SAGMFI011 of 512 Mb capacity The NOR flash is connected to the serial memory interface SM...

Page 45: ...interface The F RAM is 4 Mbit 512K 8 and is capable of Quad SPI speed up to 108 MHz but the PSoC 6 MCU is limited to 80 MHz Note that if P6_VDD is set to 1 8 V the speed is limited to 75 MHz This lim...

Page 46: ...B 6B 2 7B3 0B6 1 7B3 0B 1 7B3 0B287 7B3 0B 7B8 57B5 7B8 57B7 7B8 57B 76 7B8 57B576 2SWLRQDO 7 QWHUIDFH B9 2 5 RKP 1 5 RKP 1 5 RKP 1 5 RKP 1 0 60 1 5 1 5 RKP 1 B 7 B75671 B 7 B7 B 7 B7 2 B 7 B706 B 7 B...

Page 47: ...B 267 9 86B 9 86 B 0 86 B 3 86 B 17B 86 B 267B 1 86 B 9B9 86B 7 86 B 267B 1 6 7LWOH 6L H RFXPHQW 1XPEHU 5 W 6K W I 35 66 6 0 21 8 725 3DJH 7LWOH UDZQ 35 66 6 0 21 8 7 03 21 2857 6 1 26 SSURYHG 7 L L 7...

Page 48: ...ematics of Bypass protection circuit on program and debug header J11 If the external programmer provides a slightly higher voltage say 3 42 V and you still need to use the programmer you can bypass th...

Page 49: ...e to power up the PSoC 6 supply domain 3 3 2 PSoC 6 MCU user button SW2 By default this button connects the PSoC 6 MCU pin to ground when pressed you need to configure the PSoC 6 MCU pin as a digital...

Page 50: ...of ground will also reduce the parasitic capacitance of the sensors 3 3 5 CSH The shield tank capacitor CSH is not populated by default This capacitor is optional and can be used for an improved shie...

Page 51: ...eripherals 4 Why does the red LED of RGB LED LED5 light up when switch SW7 is set to the super capacitor position 5 What are the three selection switches on baseboard used for 6 What is the on board j...

Page 52: ...put scenarios 3 How can I access smart I O and other GPIOs connected to the on board peripherals The smart I O Port 8 and Port 9 3 and GPIO connected to the on board peripherals are multiplexed with P...

Page 53: ...test using the steps mentioned in the KitProg3 user guide d Ensure that the BSP selected in ModusToolbox software is CY8CKIT 062 WIFI BT 11 Is it possible to power the kit from another Infineon kit th...

Page 54: ...d This resistor will bypass the protection circuit and will allow programming of the device at 1 8 V Make sure you are not populating this resistor at any other voltage of operation 16 How can SW2 be...

Page 55: ...e chapter on page 36 Updated Hardware functional description on page 36 Updated Push buttons on page 43 Updated description Updated NOR flash on page 43 Added image Updated Frequently asked questions...

Page 56: ...template G 7062673 02 03 2021 Updated Safety and regulatory compliance information chapter on page 5 Updated Regulatory compliance information on page 5 Updated description Updated to new template H 7...

Page 57: ...operation chapter on page 22 Replaced Kit Hardware with Kit operation in heading Added description Updated Theory of operation on page 22 Replaced CY8CKIT 062 WiFi BT Details with Theory of operation...

Page 58: ...ated Table 3 1 Updated Figure 3 2 Updated Expansion connectors on page 41 Updated Headers compatible with Arduino J1 J2 J3 J4 and J5 on page 41 Updated description Updated PSoC 6 MCU I O headers J18 J...

Page 59: ...pdated Bypass protection circuit on program and debug header J11 on page 47 Updated description Updated Figure 3 9 Updated PSoC 6 MCU user button SW2 on page 48 Updated Figure 3 10 Updated SWD connect...

Reviews: