PSoC 6 WiFi-BT Pioneer Kit
The PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WiFi-BT) is an ultra-low power, high-performance, secure hardware platform that enables design and debug of the PSoC 62 MCU and the Murata LBEE5KL1DX Module (CYW4343W WiFi + Bluetooth combo chip).
Table of Contents
The PSoC 6 WiFi-BT Pioneer Kit has been designed for users to develop next-generation Internet of Things (IoT) applications. It comes with the PSoC 62 MCU, which provides IoT developers with an ultra-low power, flexible and secure MCU architecture. User's can choose from the various combinations of power, performance and peripherals provided by the PSoC 62 MCU architecture, to enable features such as extended battery life, small form factors, and security for connected devices. This kit also comes with a Murata LBEE5KL1DX Module (based on the CYW4343W), which provides robust and reliable Wi-Fi AND Bluetooth connectivity in one chip.
The PSoC 6 WiFi-BT Pioneer Kit provides Arduino™ UNO V3 and Digilent Pmod™ compatible headers, enabling plug and play of various shield boards to broaden the user's development scope. It comes with an on-board debugger/programmer (KitProg) to easily debug and program the target device. In addition, software libraries and code examples are provided to help user's along with their development process.
CY8C6247BZI-D54 in 124-BGA package
- Dual-core: Arm® Cortex®-M4 w/ FPU @ 150-MHz & Arm® Cortex®-M0+ @ 100-MHz
- Up to 1MB Flash and 288KB SRAM
- User-selectable core logic operation at either 1.1-V or 0.9-V
- Inter-processor communication (IPC) support in HW
- Low-power 1.7-V to 3.6-V operation
- Cortex-M4 can run as low as 22-μA/MHz in a low-power active mode
- Cortex-M0+ can run as low as 15-μA/MHz in a low-power active mode
- Cryptography accelerators
- Industry-leading CapSense® capacitive-sensing block
- FS-USB (Host/Device)
- 2x DMA controllers (16 channels each)
- 9x Serial Communication Blocks (SCBs), configurable as I2C/SPI/UART
- 12x Universal Digital Blocks (UDBs), for custom glue logic or interfaces
- 32x Timer/Counter/Pulse Width Modulator (TCPWM)
- 2x PDM-PCM channels
- 1x I2S
- 2x Operational amplifiers
- 2x Low-power comparators
- 1x 12-bit SAR ADC (1-Msps)
- 1x 12-bit DAC
- Execute-in-place (XIP) QSPI Interface (supports 1, 2, 4 and dual-quad interfaces)
- Up to 104 user accessible GPIO
PSoC 6 WiFi-BT Pioneer Kit:
- PSoC 62 MCU with up to 1MB Flash, 288KB SRAM, and 104 GPIOs
- Murata LBEE5KL1DX Wi-Fi/BT combo module
- On-board 512Mb QSPI NOR Flash Memory
- EZ-PD™ CCG3 USB Type-C Controller with Power Delivery
- CapSense touch slider, buttons and proximity sensor
- On-board debugger/programmer (KitProg)
- Arduino UNO v3 headers
- Digilent Pmod interface
- CY8CKIT-028-TFT shield board with:
- 2.4-inch TFT display
- Ambient light sensor
- 6-axis motion sensor
- PDM-PCM microphone
Board Block Diagram¶
For the full schematic of the PSoC 6 WiFi-BT Pioneer Kit, click PSoC 6 WiFi-BT Pioneer Kit Schematic.
- There is a known issue with projects built for this platform with IAR compiler and Mbed OS 5.11.4. Please use Mbed OS 5.11.5-alpha or later.
- For standard operation, ensure that SW5 is in the center position, SW6 is in the 1 position, and SW7 is in the 1 position.
- An update to the debug interface is necessary to use the Mbed tools. See Board Setup section below.
- Use the USB lead to connect your Mbed to a PC. The status light will come on, indicating it has power.
- Check if kit is in CMSIS-DAP mode (LED2 and LED4 as shown in the image below).
- Download the fw-loader from Cypress Semiconductor Github.
- Execute the following command in command line,
fw-loader.exe --update-kp3. If the connected kit is not detected after executing this command, please enter into bootloader mode by holding down the "Mode Select" button (SW3) before plugging in the board. Then run the fw-loader.exe again.
- After command is executed successfully please press the Custom App button and release (located below LED4).
- Kit should now be connected in DAPLink mode as shown in the image below.
Getting Started with Mbed OS¶
1. Connect your microcontroller to a PC¶
Use the USB lead to connect your Mbed to a PC. The status light will come on, indicating it has power. After a few seconds of activity, the PC will recognise the Mbed Microcontroller as a standard USB drive.
|Windows 10 example||Mac OS X example|
2. Click the MBED.HTM link to get logged in¶
Go to the new USB Drive, and click MBED.HTM to open it in a web browser.
If you do not have an Mbed account, choose "Signup", and create your Mbed Account. Otherwise, log in with your normal username and password.
This will give you access to the website, tools, libraries and documentation.
Your Mbed Microcontroller can appear on your computer as a serial port. On Mac and Linux, this will happen by default. For Windows, you need to install a driver:
See Windows-serial-configuration for full details about setting up Windows for serial communication with your Mbed Microcontroller
From a host PC to communicate with Mbed you will need a
terminal application. This allows the Mbed Microcontroller to print to your PC screen, and for you to send characters back to your Mbed.
- Terminals - Using Terminal applications to communicate between the Host PC and the Mbed Microntroller
Some terminal programs (e.g. TeraTerm) list the available serial ports by name. However, if you do need to know the identity of the serial port so that you can attach a terminal or an application to it:
Install and configure Mbed CLI¶
Follow the url to install and configure Mbed CLI according to your OS:
Make sure the Mbed python packages are updated to versions compatible with Cypress PSoC 6 kits using following command:
pip install --upgrade pip 'mbed-ls>=1.7.1' 'pyocd>=0.16'
Compile and Download a Program¶
1. Compile "blinky"¶
Open Mbed CLI prompt, and create the directory for Mbed examples
mkdir mbed-examples cd mbed-examples
Import mbed-os-example-blinky code example https://github.com/ARMmbed/mbed-os-example-blinky
mbed import mbed-os-example-blinky cd mbed-os-example-blinky
Compile the mbed application for one of the supported target boards with one of the supported toolchains
mbed compile -m TARGET -t TOOLCHAIN
where TARGET is one of:
and TOOLCHAIN is one of:
2. Save a program hex (.hex) to the Platform¶
Hex file is Built:
- CY8CKIT-062-WIFI-BT : BUILD/CY8CKIT_062_WIFI_BT/GCC_ARM/mbed-os-example-blinky.hex
Save the program hex file to your Mbed Microcontroller Disk, just like you would with a normal USB disk. The Status LED will flash as the PC writes the file to the Microcontroller disk. The file is now consumed.
3. Press the Reset Button¶
When the Reset Button in pressed, the microcontroller will be reset and the last programmed application will begin to run.
The Microcontroller is now running the program; flashing the LED forever! If you reset the Microcontroller, or disconnect and reconnect the power, the program will simply restart.
For more information on available tools and software, see Arm Mbed OS Quick Start Guide
Technical Reference Manuals¶
- PSoC 6 MCU: PSoC 62 Architecture Technical Reference Manual
- PSoC 6 MCU: PSoC 62 Register Technical Reference Manual User's Manual