Cypress CE217646 Manual - Page 2
Browse online or download pdf Manual for Receiver Cypress CE217646. Cypress CE217646 20 pages. Ble wireless power transfer with psoc 6 mcu with ble connectivity
Terminal Tool
This example uses a terminal window. You must have terminal software, such as Tera Term, or PuTTY.
Operation
The Wireless Power Receiver device (PRU) can be connected to any BLE (4.0 or later) - compatible device configured as GAP
Central role and GATT Client which supports the Wireless Power Profile. The green LED blinks while the device is advertising.
The red LED is turned ON after disconnection to indicate that no Client is connected to the device. When the Client connects
successfully, the red and green LEDs are turned OFF. When a Client enables charging, the blue LED turns ON.
The project simulates voltage changes at the charge/battery port (Vrect) and writes the result to the PRU Dynamic Parameter
characteristic. It increases when the charger is enabled by the PTU and decreases when charging is complete. Press the SW2
button to increase the simulation step. The simulation interval value is set to 1 second.
The Wireless Power Transmitter project (PTU) automatically connects to the PRU devices. The PTU uses the WPT Service
handle from the advertising packet for quick PRU discovery instead of the classic device discovery procedure.
When a connection is established, the PTU automatically initiates a basic information exchange procedure, i.e., sends a read
request to the PRU Static Parameter characteristic, a write request to PTU Static Parameter characteristic, enables notification
of the Alert characteristic, and enables charging. A read request to PRU Dynamic Parameter characteristic is sent every second.
The red LED blinks while the device is scanning. The red LED is turned ON after disconnection to indicate that no Peripheral is
connected to the device. When the device connects successfully with any Peripheral, the red LED is turned OFF.
Advertising packets received during the scanning procedure from Peripheral devices are parsed and filtered. Only packets with
WPT service-specific data are handled and showed in the debug terminal.
The example project uses the UART Component for displaying debug information and for sending commands through a terminal
emulator app. The commands are the procedures, which the user can perform.
Command
's'
'1'
'2'
'3'
'4'
'5'
'6'
'7'
'8'
'9'
The above list is prompted to the terminal emulator when 'h' is entered in the app.
Use the '6' and '7' commands to send the Enable and Disable Charging commands to the PRU Control characteristic. The
PRU device will indicate charging with the blue LED.
Operation Steps
Plug the CY8CKIT-062-BLE kit board into your computer's USB port.
1.
Open a terminal window and perform following configuration: Baud rate – 115200, Parity – None, Stop bits – 1, Flow control
2.
– XON/XOFF. These settings must match the configuration of the PSoC Creator UART Component in the project.
3.
Build the Wireless Power Receiver project and program it into the PSoC 6 MCU device. Choose Debug > Program. For
more information on device programming, see PSoC Creator Help. Flash for both CPUs is programmed in a single program
operation.
www.cypress.com
BLE Wireless Power Transfer with PSoC 6 MCU with BLE Connectivity
Table 1. List of Commands
Description
Start discovery procedure.
Enable notifications for the Alert characteristic.
Enable indications for the Alert characteristic.
Disable notifications and indications for the Alert characteristic.
Send Read request for the PRU Static Parameter characteristic.
Send Read request for the PRU Dynamic Parameter characteristic.
Send "Enable Charging" command to the PRU control characteristic.
Send "Disable Charging" command to the PRU Control characteristic.
Enable sequential read of the PRU Dynamic Parameter characteristic.
Disable sequential read of the PRU Dynamic Parameter characteristic.
Document No. 002-17646 Rev.**
2