CCG2 Power Adapter Reference Design and API Guide. Doc. No Rev.**

Size: px
Start display at page:

Download "CCG2 Power Adapter Reference Design and API Guide. Doc. No Rev.**"

Transcription

1 CCG2 Power Adapter Reference Design and API Guide Doc. No Rev.** Cypress Semiconductor 198 Champion Court San Jose, CA Phone (USA): Phone (Intnl):

2 Copyrights Cypress Semiconductor Corporation, This document is the property of Cypress Semiconductor Corporation and its subsidiaries, including Spansion LLC ( Cypress ). This document, including any software or firmware included or referenced in this document ( Software ), is owned by Cypress under the intellectual property laws and treaties of the United States and other countries worldwide. Cypress reserves all rights under such laws and treaties and does not, except as specifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then Cypress hereby grants you a personal, nonexclusive, nontransferable license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code form, to modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organization, and (b) to distribute the Software in binary code form externally to end users (either directly or indirectly through resellers and distributors), solely for use on Cypress hardware product units, and (2) under those claims of Cypress s patents that are infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software solely for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the Software is prohibited. TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE OR ACCOMPANYING HARDWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without further notice. Cypress does not assume any liability arising out of the application or use of any product or circuit described in this document. Any information provided in this document, including any sample design information or programming code, is provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality and safety of any application made of this information and any resulting product. Cypress products are not designed, intended, or authorized for use as critical components in systems designed or intended for the operation of weapons, weapons systems, nuclear installations, life-support devices or systems, other medical devices or systems (including resuscitation equipment and surgical implants), pollution control or hazardous substances management, or other uses where the failure of the device or system could cause personal injury, death, or property damage ( Unintended Uses ). A critical component is any component of a device or system whose failure to perform can be reasonably expected to cause the failure of the device or system, 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 or related to all Unintended Uses of Cypress products. You shall indemnify and hold Cypress harmless from and against all claims, costs, damages, and other liabilities, including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products. Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, PSoC, CapSense, EZ-USB, F-RAM, and Traveo are trademarks or registered trademarks of Cypress in the United States and other countries. For a more complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respective owners. CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 2

3 Contents 1 Introduction Toolchain and Build System Build Environment Source Structure PSoC Creator Workspace File Structure Build Output SDK Usage Model Firmware Versioning Supported Compile Time Configurations Supported Post-Compile Configurations EZ-PD Configuration Utility Overview Firmware Architecture Bootloader Firmware Operation Firmware APIs Device Policy Manager Program interface Policy Engine APIs Hardware Abstraction Layer User (Solution) Layer API Revision History Document Revision History CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 3

4 1 Introduction CCG2 devices target power adapter application by integrating all termination resistors and using GPIOs to program the power regulator to supply the appropriate VBUS based on the UFP s requirement. In this application, CCG2 is used as source (power provider) only. The CCG2 Power Adapter SDK Consists of several basic components: Figure 1. Power Adapter SDK Structure Source Code API Source Code Reference Application Pre-Compiled PD stack Documentation API User Guide EZ-PD Configuration Utility Guide Release Notes Firmware Binaries HEX and CYACD files for Standard Application CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 4

5 2 Toolchain and Build System 2.1 Build Environment CCG2 power adapter project is developed using Cypress PSoC Creator 3.2. Contact Cypress for getting access to CCG2 devices and the specified Creator installer. The compiler tool chain is ARM GCC (build 484 provided along with PSoC Creator build). PSoC Creator IDE provides an integrated environment to edit, compile, download and debug. 2.2 Source Structure The firmware source consists of two categories: Application source and stack source. Each contain sub-directories based on functionality. [projects [CYPD LQXI] folder with power adapter workspace including bootloader [power_adapter.cydsn] PSoC Creator project folder [power_adapter.cywrk] workspace file to open by PSoC Creator [power_adapter_boot.cydsn] bootloader PSoC Creator project folder Other PSoC creator related files [src] - folder with USB PD stack and system level routines [flashss] flash write and flashing command implementation (source code) [pd_common] USB-PD and Type-C stack headers [system] system level components and drivers in source form 2.3 PSoC Creator Workspace File Structure Once workspace opened in Creator, it is represented by two project. One for power Adapter and one for CC Bootloader. Both projects have similar file structure. CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 5

6 Figure 2. Power Adapter Workspace Structure Toolchain and Build System Solution configuration header file Handlers for USB Type-C PD system. These files likely to be modified for final product File with configuration table This file is part of bootloader CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 6

7 2.4 Build Output Toolchain and Build System The Application consists of two separate projects. The first is the bootloader and the second is the firmware application. Both projects generate an ARM ELF firmware binary as well as Cypress Hex file. The Cypress Hex file can be used to download the firmware image using MiniProg3 and PSoC Programmer Utility. 2.5 SDK Usage Model Users of the CCG2 power adapter solution will follow the below steps to make use of the SDK components: Figure 3. SDK Usage Flow START USE CCGx SOLUTION MATRIX TO IDENTIFY APPROPRIATE REFERENCE WORKSPACE USE EZ-PD CONFIG UTILITY TO CONFIGURE PARAMETERS GENERATE CONFIGURATION IN C SOURCE FORM IMPORT C SOURCE INTO SOLUTION WORKSPACE OPEN SELECTED WORKSPACE IN CREATOR OPEN <SOLUTION>_CONFIG.H HEADER FILE SELECT OPTIONS FOR SOLUTION LEVEL FUNCTIONS UPDATE VDO, PDO RESPONSE DATA BUILD PROJECTS (BOOTLOADER AND APPLICATION) SELECT Vbus / Vconn FET CONTROLS SELECT OVP / OCP DETECT METHOD SELECT DATA MUX CONTROL METHOD SELECT VDM HANDLING OPTION SELECT PD ROLE SWITCH HANDLERS PROGRAM CCG2 DEVICE (SWD OR CONFIG UTILITY) STOP 1. Load the solution workspace (notebook.cywrk or mobile.cywrk) using PSoC Creator. 2. Edit the solution configuration header file if needed. CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 7

8 Toolchain and Build System 3. Use the EZ-PD Configuration Utility to build the configuration table, and copy the generated C source file into the Creator project if necessary. The configuration table can also be updated by editing the usbpd_config.c file in PSoC Creator Source Editor The configuration table is part of bootloader project. Build bootloader project using the PSoC Creator Compiled bootloader HEX and ELF that includes new configuration table is be located in CYPD LQXI\power_adapter.cydsn\power_adapter_boot.cydsn\CortexM0\ARM_GCC_493\ Debug\ power_adapter _boot.hex CYPD LQXI\ power_adapter.cydsn\power_adapter_boot.cydsn\cortexm0\arm_gcc_493\ Debug\ power_adapter _boot.elf or CYPD LQXI\ power_adapter.cydsn\ power_adapter_boot.cydsn\cortexm0\arm_gcc_493\ Release\ power_adapter _boot.hex CYPD LQXI\ power_adapter.cydsn\ power_adapter_boot.cydsn\cortexm0\arm_gcc_493\ Release\ power_adapter _boot.elf depending on selected Debug/Release configuration option. Files mentioned above should be renamed and copied into: CYPD LQXI\power_adapter.cydsn\power_adapter _boot.hex CYPD LQXI\power_adapter.cydsn\power_adapter _boot.elf 4. Build the application projects using the PSoC Creator. The firmware binaries will be generated in ELF, HEX and CYACD formats suitable for SWD programming or loading through JTAG, Miniprog and the EZ-PD configuration utility. 5. Load the firmware binary onto the target hardware for evaluation and testing. This usage flow is illustrated in Figure 3. Many of these steps such as changing the compile time configurations and using the EZ-PD Configuration Utility to change the configuration table are only required if the customer wants to make any changes to the way the application works. Note: Default PDOs in the config table are set with following source voltages: 5V, 12V, 13V and 20V. PDO source values must be changed to be compliant with USB-PD 2.0 v1.2 power rules section. Source voltages should be a subset of 5V, 9V, 15V and 20V PDOs with compliant current values as specified in above spec. The USB-PD specification has specific VBUS output voltage requirements dependent on the amount of power provided by a USB TypeC Source port. See the "Power Rules" section of the latest USB-PD specification for these requirements. USB TypeC product developers must ensure their VBUS Source hardware complies with USB-PD requirements. This SDK allows the user to customize the firmware to match the hardware design with respect to advertised Source Capabilities and VBUS output control circuitry. Ensure that all firmware settings and functionality is properly customized to the specific VBUS Source hardware design of the target application. 2.6 Firmware Versioning Each project has a firmware version (base version) and an application version number. The firmware version number shall consist of major number, minor number and patch number. The build machine updates the build number. This information is stored in a header file under the specified directories. The base firmware version shall be common for all base application solutions provided by the base firmware team. This information shall be stored in fw/src/system/ccg2_version.h. The application version shall be modified for individual customers based on requirements. This shall have a major version, minor version, external circuit specification, and application name. Each application (firmware + boot-loader) shall have a common application version information header file fw/projects/<workspace_dir>/common/app_version.h where <workspace_dir> is the MPN for the application. The version number information for each firmware shall be stored in an eight-byte data field and shall be retrieved over CC or I2C interface based on the usage model. The following table denotes the version structure and format. CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 8

9 Toolchain and Build System Bit Field Name Description [15:0] Base FW Build number This field corresponds to base firmware version and shall be automatically incremented during nightly build. This field should not be manually edited. This field is expected to be reset on every SNPP release cycle and not modified throughout the release. [23:16] Base FW Patch version number This field corresponds to base firmware patch version number. This field shall be updated manually by the core PD team for base firmware releases. This field shall be incremented for every intermediate release done to customer or an actual patch release performed for a previous full release. [27:24] Base FW Minor version number This field corresponds to base firmware minor version number. This field shall be updated manually by the core PD team for base firmware releases. This field is generally updated once for every SNPP release cycle at ES100 RC build. The exception is when an intermediate customer release which breaks compatibility. [31:28] Base FW Major version number This field corresponds to base firmware major version number. This field shall be updated manually by the core PD team for base firmware releases. The major number is generally updated on a major project level change or when we have cycled through all minor numbers. The number shall be determined at the beginning of every SNPP release cycle. [47:32] Application Name / number This field is left for any application / customer specific changes to be done by applications team. By default, this field shall be released by the base firmware version team will have the following values: Notebook EMCA Power Adapter Tablet Monitor Video Dongle nb ca pa tb md do [55:48] External circuit number This field is left for any application / customer specific changes to be done by applications team. By default, this field shall be released by the base firmware team as 0. The circuit number values from 0x00 to 0x1F are reserved for base firmware team. This is because base firmware team may have to support same application on multiple platforms in the future. [59:56] Application minor version number This field is left for any application / customer specific changes to be done by applications team. By default, this field shall be released by the base firmware team as 0 [63:60] Application major version number This field is left for any application / customer specific changes to be done by applications team. By default, this field shall be released by the base firmware team as 0 CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 9

10 Toolchain and Build System 2.7 Supported Compile Time Configurations All pre-processor definitions shall be maintained in a usbpd_config.h file as part of the firmware project. Every source file is expected to include the usbpd_config.h header file. There shall be only one usbpd_config.h header file per project. The following are the available pre-processor definitions available for the power adapter application. Feature Options Support VIA Adapter Connection Over Voltage Protection Captive cable OR Type C receptacle Polled OVP OR Custom Pre-processor Flag (usbpd_config.h) /* Adapter Configuration CAPTIVE_CABLE TYPE_C_RECEPTACLE */ #define ADAPTER_CONFIGURATION (TYPE_C_RECEPTACLE) Pre-processor Flag (usbpd_config.h) /* Over/Under Voltage Protection Configuration OVP_UVP_SUPPORTED OVP_UVP_NOT_SUPPORTED */ #define OVP_UVP_CONFIGURATION (OVP_UVP_SUPPORTED) 2.8 Supported Post-Compile Configurations The firmware allows changing certain features after image has been compiled. This is done via the configuration table located at a fixed flash location. EZ_PD utility can overwrite values in configuration table. Feature Options Support VIA PDO, PDO Mask Selection Update values Configuration Table Min/Max current in PDO Update values Configuration Table EZ-PD Configuration Utility is a Windows based GUI application which allows users to perform firmware and configuration updates on CCGx devices. This memorandum documents the design of the EZ-PD Configuration Utility. Please use EZ-PD guide for more information. 2.9 EZ-PD Configuration Utility Overview The EZ-PD Configuration Utility is a Microsoft Windows Application that guides CCGx user through the process of configuring and programming the chip. The utility works in tandem with Cypress supplied hardware which hosts the CCGx controllers along with a USB interface. EZ-PD Configuration Utility Guide is provided as separate document. Please refer for more information about Configuration Utility. CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 10

11 Toolchain and Build System Figure 4. CCG2 Configuration Block Diagram Figure 4 shows the block diagram of the hardware setup used for programming the CCGx devices using the Configuration Utility. The target device to be programmed can be any one of the Type-C DFP Controller, Type-C UFP Controller and Type-C EMCA Controller EZ-PD Software Dependencies The EZ-PD Configuration Utility is a.net framework based Windows application and has the following software dependencies. # Software Version 1 Operating System Microsoft Windows 7 or later 2.NET Framework.NET Framework 2.0 or later 3 Visual Studio Runtime Libraries VC runtime re-distributable 4 USB Driver and APIs CyUsb3.sys driver and CyApi library CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 11

12 3 Firmware Architecture CCG2 has 32KB flash memory that is designated to store a bootloader, configuration table, and firmware image Figure 5. Power Adapter Workspace Structure FW Metadata Reserved area 32kB CCG2 Power Adapter Firmware Configuration Table CC Bootloader 0 The bootloader is used for firmware upgrade of the CCG application. It is allocated a fixed area. This memory area can only be written to from the SWD interface. CCG2 Power adapter supports CC bootloader only. The configuration table holds the default PD configuration for the CCG application, and is located immediately after the bootloader. The configuration table can be updated through the bootloader, and has a fixed size of 512 bytes. CCG firmware area is used for the main CCG firmware application. In the case of CCG2 power adapter the main firmware spans the free area of flash left after storing the bootloader and configuration table. The main image area can be updated through SWD for manufacturing, and through the bootloader for field upgrades. The metadata area holds metadata about the firmware binaries. The firmware metadata follows the definition provided by the PSoC creator bootloader component; and includes firmware checksum, size and start address. CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 12

13 3.1 Bootloader Firmware Architecture The FLASH based bootloader mainly functions as a boot-strap and is the starting point for firmware execution. It validates the firmware based on checksum stored in FLASH. The boot-strap also includes the flashing module. Figure 6. Bootloader Flow Diagram SROM FLASH START NO YES FW BOOT MODE RQT? VALID METADATA? VALID MAIN IMAGE? YES NO NO YES NO VALID FAIL-SAFE IMAGE? JUMP TO MAIN IMAGE INITIALIZE BOOT INTERFACE YES JUMP TO FAIL-SAFE IMAGE WAIT FOR FLASHING REQUESTS YES RESET REQUEST? NO The bootloader first checks whether the application firmware has issued a BOOT_MODE request. This is done based on data signature at a fixed location in SRAM. When the application firmware wants to jump to boot-loader for flashing, it shall write a fixed signature pattern CYBL to location 0x200000C4 and then jump to the boot-loader. The boot-loader shall verify the content of this location and shall always load 0x at this location after the check to prevent any false entry. If the signature is present, then it shall stay in the boot mode and await flashing instructions. If no signature is seen, it shall proceed to validate the metadata area in the FLASH. If the metadata signature fields are corrupt, it shall wait in the boot mode. If not it shall first check for a valid main firmware image in the metadata table. If a valid image is detected, it shall jump to the main firmware image. The main firmware image is expected to be the latest image. The fail-safe image is not expected to be upgraded in field and is expected to be a fallback image. If no main firmware image is detected, it stays in the boot-mode wait for flashing instructions. CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 13

14 3.2 Firmware Operation Firmware Architecture The following flow diagram indicates the firmware initialization and operation sequence. Figure 7. Firmware Flow Diagram FW ENTRY BOOT ENTRY INITIALIZATION MAIN TASK LOOP LOW POWER MODE NO VALID CONFIGURATION TABLE TYPE-C / PD STATE MACHINE TASKS CONFIGURE WAKEUP SOURCES YES CONFIGURE PERIPHERAL BLOCKS DEBUG / TEST TASK ENTER LOW POWER MODE LOAD FLASH CONFIG INFO BOOT ENTRY RQT? YES WAIT FOR INTERRUPT (SLEEP MODE) NO INITIALIZE THE PD MODULE PD IDLE TIMEOUT? YES EXIT LOW POWER MODE NO INTIALIZE INTERRUPTS DISABLE WAKEUP SOURCES The following defines the simplified main loop for the power adapter application. It is intended to document major tasks called from main.c init(); // perform all required initializations timer_start(); // start timers while (1) { type_c_state_machine(); // handle type-c protocol pe_state_machine(); // handle PD protocol handle_deepsleep(); // handle deep sleep } CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 14

15 4 Firmware APIs 4.1 Device Policy Manager Program interface Type-C Manager APIs Function Description Parameters Return type_c_init get_typec_polarity get_typec_state type_c_state_machine Initialize the Type-C state machine Find whether the CC1 or CC2 should be used for the USB-PD transfers. Get the current state of the Type-C state machine. Returns Run the Type-C state machine task. uint32 event mask assert_rp Assert Rp on the specified channel uint8 channel Returns 0 for CC1 and 1 for CC2. (ttype_c_state) current type c state assert_rd Assert Rd on the specified channel uint8 channel remove_rp_rd De-assert Rp and Rd on the specified channel uint8 channel 4.2 Policy Engine APIs Function Description Parameters Return pe_init_policy pe_state_machine pe_cbl_discovery Initialize the policy engine and PD protocol modules Perform one iteration of the policy engine state machine. Check for EMCA controller and discover its capabilities 4.3 Hardware Abstraction Layer Flashing Module API Description Parameters Return Value get_device_mode get_version The function returns the firmware mode of operation. The function returns whether the device is functioning in boot-loader mode or in application mode. The function returns the firmware version. The function returns the eight byte version information. uint32_t * buffer_p: Pointer to the buffer to return the version information uint8_t: 0 Boot-loader mode, 1 Fail-safe / IMAGE1 firmware mode, 2 main / IMAGE2 firmware mode. CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 15

16 Firmware APIs API Description Parameters Return Value jump_to_boot device_reset flash_row_read flash_row_write The function disables all peripheral blocks and interrupts, indicate a boot mode request using SRAM signature and jumps back to the bootloader. The boot-loader entry shall be identified based on the FLASH reset vector address. The function disables all peripheral blocks and interrupts and issues a soft reset using CM0 registers. The function reads from the specified FLASH row ID and returns the full row data into the RAM buffer specified. The caller is expected to allocate the required buffering before invoking the call. The function writes the row data provided to the specified row ID. The FLASH writes are always expected to be full row writes. uint8 * buffer: The RAM buffer address to copy FLASH data uint16 row_id: The FLASH row to read from. uint8 *buffer: The RAM buffer address containing FLASH data uint16 row_id: The FLASH row to write to Timer Module The timer module provides a WDT / SYS_TICK based soft timer implementation. This allows different modules to create millisecond level timers without additional hardware support. API Description Parameters Return Value timer_init Timer module initialization function. The function calibrates and configures the WDT timer. timer_start The function starts the selected timer with the requested interval. uint8_t timer_id: Unique ID allocated for the timer instance by the stack / application bool: true timer started successfully false timer failed to start uint16_t timeout: Timeout value in milliseconds timer_cb_t: Timer callback function pointer. Callback function is invoked by the timer module on timer expiry. NULL pointer to be passed in for no callback. timer_stop The function stops a previously started timer based on the timer ID specified. uint8_t timer_id: Unique ID allocated for the timer instance by the stack / application CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 16

17 API Description Parameters Return Value Firmware APIs timer_is_running The function returns the running status of the timer based on the timer ID specified. uint8_t timer_id: Unique ID allocated for the timer instance by the stack / application bool: true Timer is running false Timer is not running 4.4 User (Solution) Layer API These APIs exist in user space and contain code provided for reference functionality. With change of HW and requirements, these routines are likely subject for modifications pd_psource.c (VBus Manager) get_psource_ops get_psrc_info set_psrc_voltage set_psrc_current set_psrc_pwr psrc_enable psrc_disable API Description Parameters Returns pointer to a structure with Power source related handlers. typedef struct power_supply_ops{ tpower_supply* *get_ps_info(void); uint8 *set_voltage (uint16 uint8 *set_current(uint16 volt_50mv); cur_10ma); uint8 *set_pwr(uint16 volt_250mw); uint8 *enable(void); uint8 *disable(void); uint8 *turn_on_vconn(uint8 uint8 *turn_off_vconn(uint8 uint8 *is_sup_vcon(void); uint8 *is_sup_vbus(void); #ifdef OVP_UVP_SUPPORTED_INC uint8 *ovp_uvp_handler(uint8 channel); channel); protect_type); #endif /* OVP_UVP_SUPPORTED_INC */ }tpower_supply_ops; Handler to get the list of power source capabilities supported by the CCG application. This is called by the Policy Engine during start-up and also as part of responding to the Get_Source_Cap USB-PD request. API provided by Power Manager to set voltage. This API shall be called by the USB-PD/Type-C module after contract. API provided by Power Manager to set current. This API shall be called by the USB-PD/Type-C module after contract. API provided by Power Manager to set power. This API shall be called by the USB-PD/Type-C module after contract. API provided by Power Manager to switch on the power circuit. This API shall be called by the USB-PD/Type-C module after contract. API provided by Power Manager to switch off the power circuit. This API shall be called by the USB-PD/Type-C module after contract. uint16 voltage in 50mV units uint16 current in 10mA units uint16 power in 250mWt units turn_on_vconn API provided by Power Manager to USB-PD/Type-C module to turn on VConn uint8 channel turn_off_vconn API provided by Power Manager to USB-PD/Type-C module to turn off VConn uint8 channel is_sup_vcon is_sup_vbus pdss_phy_ovp_uvp_en API provided by Power Manager to check if power supply is VConn API provided by Power Manager to check if power supply is VBus Enables OVP/UVP detection CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 17

18 Firmware APIs API Description Parameters pdss_phy_ovp_uvp_dis Disables OVP/UVP detection ovp_uvp_handler Handles the case of detected OVP/UVP uint8 protect_type is_vbus_present system_init API provided by Power Manager to check if VBus is present Initializes power manager pd_vdm.c (VDM Handler APIs) discover_id discover_svid discover_modes enter_mode exit_mode Attention unstr_vdm API Description Parameters This API is called when a Discover Identity command is received and a response has to be sent. This API is called when a Discover SVID command is received and a response has to be sent. This API is called when a Discover Mode command is received and a response has to be sent. This API is called when a enter mode command is received and a response has to be sent. This API is called when an exit mode command is received and a response has to be sent. This API is called when an attention command is received and a response has to be sent. This handler is called when an unstructured VDM is received by CCGx and needs to be handled. This method can be used to implement extensions where custom commands are implemented at the solution level. Pointer to VDO Pointer to VDO Pointer to VDO Pointer to VDO Pointer to VDO Pointer to VDO Pointer to VDO hard_reset This handler is called when a hard reset request is received by CCGx. Pointer to VDO pd_swap.c (PD Role Manager) API Description Parameters get_pd_ops eval_dr_swap eval_pr_swap eval_vcon_swap get_dpm_resp Returns pointer of tpd_ops type to a structure with Power delivery handlers. typedef struct pd_ops{ void *eval_dr_swap(void); void *eval_pr_swap(void); void *eval_vcon_swap(void); tdpm_resp* *get_dpm_resp (void); }tpd_ops; This handler is called when a DR_SWAP control message is received by the CCG. The implementation is expected to accept, reject or delay the DR_SWAP operation as appropriate. This handler is called when a PR_SWAP control message is received by the CCG. The implementation is expected to accept, reject or delay the PR_SWAP operation as appropriate. This handler is called when a VCONN_SWAP control message is received by the CCG. The implementation is expected to accept, reject or delay the VCONN_SWAP operation as appropriate. This handler is called to get the response of the solution level PD role manager to a role change request that was previously evaluated. As the CCG2 controller have only one comparator available for these checks, a device level implementation will need to keep alternating between OVP and OCP checks that can cause significant time between polling. The common alternative would be to implement the OVP and OCP checks using external components and then notify CCG2. CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 18

19 Revision History Document Revision History Document Title: CCG2 Power Adapter Reference Design and API Guide Document Number: Revision Issue Date Origin of Change Description of Change ** 04/05/2016 SVYP Initial release CCG2 Power Adapter Reference Design and API Guide, Doc. No Rev.** 19

This section describes the various input and output connections for the SysInt Component.

This section describes the various input and output connections for the SysInt Component. 1.0 Features Generating interrupts from hardware signals Assigning interrupts to a CPU core Configuring interrupt priority Interrupt vectoring and control General Description The Component is a graphical

More information

Use the Status Register when the firmware needs to query the state of internal digital signals.

Use the Status Register when the firmware needs to query the state of internal digital signals. 1.50 Features Up to 8-bit General Description The allows the firmware to read digital signals. When to Use a Use the when the firmware needs to query the state of internal digital signals. Input/Output

More information

EZ-PD Analyzer Utility User Guide

EZ-PD Analyzer Utility User Guide EZ-PD Analyzer Utility User Guide Doc. No. 002-12896 Rev. ** Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 www.cypress.com Copyrights

More information

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show. 1.50 Features Up to 8-bit General Description The allows the firmware to output digital signals. When to Use a Use a when the firmware needs to interact with a digital system. You can also use the as a

More information

One 32-bit counter that can be free running or generate periodic interrupts

One 32-bit counter that can be free running or generate periodic interrupts PSoC Creator Component Datasheet Multi-Counter Watchdog (MCWDT_PDL) 1.0 Features Configures up to three counters in a multi-counter watchdog (MCWDT) block Two 16-bit counters that can be free running,

More information

PSoC Creator Quick Start Guide

PSoC Creator Quick Start Guide PSoC Creator Quick Start Guide Install Download PSoC Creator from www.cypress.com/psoccreator, or install from a kit CD. For assistance, go to http://www.cypress.com/go/support For features, system requirements,

More information

Use the Status Register when the firmware needs to query the state of internal digital signals.

Use the Status Register when the firmware needs to query the state of internal digital signals. PSoC Creator Component Datasheet Status Register 1.80 Features Up to 8-bit Status Register Interrupt support General Description The Status Register allows the firmware to read digital signals. When to

More information

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0 1.0 Features Four operating modes 16-bit PWM Timer 16-bit PPG Timer 16/32-bit Reload Timer 16/32-bit PWC Timer Trigger generation for ADC conversion General The Peripheral Driver Library (PDL) Base Timer

More information

Digital Logic Gates. Features. General Description. Input/Output Connections. When to Use a Logic Gate. Input 1. Input 2. Inputs 3-8 * 1.

Digital Logic Gates. Features. General Description. Input/Output Connections. When to Use a Logic Gate. Input 1. Input 2. Inputs 3-8 * 1. 1.0 Features Industry-standard logic gates Configurable number of inputs up to 8 Optional array of gates General Description Logic gates provide basic boolean operations. The output of a logic gate is

More information

Digital Multiplexer and Demultiplexer. Features. General Description. Input/Output Connections. When to Use a Multiplexer. Multiplexer 1.

Digital Multiplexer and Demultiplexer. Features. General Description. Input/Output Connections. When to Use a Multiplexer. Multiplexer 1. PSoC Creator Component Datasheet Digital Multiplexer and Demultiplexer 1.10 Features Digital Multiplexer Digital Demultiplexer Up to 16 channels General Description The Multiplexer component is used to

More information

Multifunction Serial Interface (PDL_MFS) Features. General Description. When to Use a PDL_MFS Component. Quick Start 1.0

Multifunction Serial Interface (PDL_MFS) Features. General Description. When to Use a PDL_MFS Component. Quick Start 1.0 1.0 Features Configures the Multi-Function Serial (MFS) Interface to one of the following modes: UART (Asynchronous normal serial interface) Clock synchronous serial interface (SPI and I 2 S can be supported)

More information

Use a DieTemp component when you want to measure the die temperature of a device.

Use a DieTemp component when you want to measure the die temperature of a device. PSoC Creator Component Datasheet Die Temperature (DieTemp) 2.0 Features Accuracy of ±5 C Range 40 C to +140 C (0xFFD8 to 0x008C) Blocking and non-blocking API General Description The Die Temperature (DieTemp)

More information

PSoC 6 Current Digital to Analog Converter (IDAC7)

PSoC 6 Current Digital to Analog Converter (IDAC7) 1.0 Features Six current ranges (4.96 ua to 635 ua) Sink or Source current 7-bit resolution Two IDACs can be put in parallel to form an 8-bit IDAC Add external resistor for VDAC functionality General Description

More information

This input determines the next value of the output. The output does not change until the next rising edge of the clock.

This input determines the next value of the output. The output does not change until the next rising edge of the clock. 1.30 Features Asynchronous reset or preset Synchronous reset, preset, or both Configurable width for array of s General Description The stores a digital value. When to Use a Use the to implement sequential

More information

Capable of adjusting detection timings for start bit and data bit

Capable of adjusting detection timings for start bit and data bit PSoC Creator Component Datasheet Remote Control (PDL_RC) 1.0 Features Up to 2 Channels HDMI-CEC/ High Definition Multimedia Interface Consumer Electronics Control transmitter/receiver SIRCS/Sony Infrared

More information

Setting Oscillation Stabilization Wait Time of the main clock (CLKMO) and sub clock (CLKSO)

Setting Oscillation Stabilization Wait Time of the main clock (CLKMO) and sub clock (CLKSO) 1.0 Features Selecting Clock mode Internal Bus Clock Frequency Division Control PLL Clock Control Setting Oscillation Stabilization Wait Time of the main clock (CLKMO) and sub clock (CLKSO) Interrupts

More information

The AMuxSeq is capable of having between 2 and 32 analog inputs. The paired inputs are present when the MuxType parameter is set to "Differential.

The AMuxSeq is capable of having between 2 and 32 analog inputs. The paired inputs are present when the MuxType parameter is set to Differential. 1.20 Features Single or differential inputs Adjustable between 2 and 32 inputs Software controlled Inputs may be pins or internal sources No simultaneous connections Bidirectional (passive) General Description

More information

Automatic reload of the period to the count register on terminal count

Automatic reload of the period to the count register on terminal count 1.0 Features 7-bit read/write period register 7-bit count register that is read/write Automatic reload of the period to the count register on terminal count Routed load and enable signals General Description

More information

Optional Pause Pulse for constant frame length of 282 clock ticks

Optional Pause Pulse for constant frame length of 282 clock ticks PSoC Creator Component Datasheet Single Edge Nibble Transmission (SENT_TX) 1.0 Features Compliant with SAE J2716 APR2016 (Issued 2007-04, Revised 2016-04) without any serial message formats Selectable

More information

Comparator (Comp) Features. General Description. When to use a Comparator Low input offset. User controlled offset calibration

Comparator (Comp) Features. General Description. When to use a Comparator Low input offset. User controlled offset calibration 1.50 Features Low input offset User controlled offset calibration Multiple speed modes Low power mode Output routable to digital logic blocks or pins Selectable output polarity Configurable operation mode

More information

CE CY8CKIT-042-BLE F-RAM Data Logger

CE CY8CKIT-042-BLE F-RAM Data Logger CE210988 - CY8CKIT-042-BLE F-RAM Data Logger Objective This example project is based on a PSoC Creator starter design for the PSoC 4 device. It demonstrates how F-RAM can be used with the PSoC to capture

More information

ModusToolbox USB Configurator Guide

ModusToolbox USB Configurator Guide ModusToolbox USB Configurator Guide Version 1.1 Overview The USB Configurator is a configuration tool included in the ModusToolbox software. Use the USB Configurator to configure USB Device descriptors.

More information

Analog Multiplexer (AMux) Features. General Description. Input/Output Connections. When to Use an AMux Single or differential connections

Analog Multiplexer (AMux) Features. General Description. Input/Output Connections. When to Use an AMux Single or differential connections PSoC Creator Component Datasheet Analog Multiplexer (AMux) 1.80 Features Single or differential connections Adjustable between 1 and 256 connections Software controlled Connections may be pins or internal

More information

THIS SPEC IS OBSOLETE

THIS SPEC IS OBSOLETE THIS SPEC IS OBSOLETE Spec No: 002-09373 Spec Title: AN209373 - F2MC-FM3 Family OpenOCD GUI Frontend Replaced by: 002-0586 AN209373 This application note describes how to use on-board Open On-Chip Debug

More information

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

For More Information Please contact your local sales office for additional information about Cypress products and solutions. The following document contains information on Cypress products. The document has the series name, product name, and ordering part numbering with the prefix MB. However, Cypress will offer these products

More information

PSoC 4 Current Digital to Analog Converter (IDAC)

PSoC 4 Current Digital to Analog Converter (IDAC) PSoC Creator Component Datasheet PSoC 4 Current Digital to Analog Converter (IDAC) 1.10 Features 7 or 8-bit resolution 7-bit range: 0 to 152.4 or 304.8 µa 8-bit range: 0 to 306 or 612 µa Current sink or

More information

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

For More Information Please contact your local sales office for additional information about Cypress products and solutions. The following document contains information on Cypress products. The document has the series name, product name, and ordering part numbering with the prefix MB. However, Cypress will offer these products

More information

W H I T E P A P E R. Introduction. Devices. Energy Comparison of Cypress F-RAM and EEPROM

W H I T E P A P E R. Introduction. Devices. Energy Comparison of Cypress F-RAM and EEPROM W H I T E P A P E R Harsha Medu, Applications Engineer Cypress Semiconductor Corp. Energy Comparison of Cypress and Abstract (Ferroelectric Random Access Memory) is a nonvolatile memory that uses a ferroelectric

More information

Cypress BLE-Beacon ios App User Guide

Cypress BLE-Beacon ios App User Guide Cypress BLE-Beacon ios App User Guide Doc. No. 002-12101 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 http://www.cypress.com Copyrights Copyrights Cypress Semiconductor Corporation,

More information

Cypress EZ-PD Configuration Utility User Manual

Cypress EZ-PD Configuration Utility User Manual Cypress EZ-PD Configuration Utility User Manual Revision 1.1 Beta Doc. No. 002-22139 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intl): 408.943.2600

More information

Supports a range of speeds of external memories (from 5 to 200 ns) Supports external memory power-down, sleep, and wakeup modes

Supports a range of speeds of external memories (from 5 to 200 ns) Supports external memory power-down, sleep, and wakeup modes PSoC Creator Component Datasheet External Memory Interface (EMIF) 1.30 Features 8-, 16-, 24-bit address bus width 8-, 16-bit data bus width Supports external synchronous memory Supports external asynchronous

More information

Scanning Comparator (ScanComp) Features. General Description. Input/Output Connections. When to Use a Scanning Comparator. clock - Digital Input* 1.

Scanning Comparator (ScanComp) Features. General Description. Input/Output Connections. When to Use a Scanning Comparator. clock - Digital Input* 1. Scanning Comparator (ScanComp) 1.0 Features Scan up to 64 single ended or differential channels automatically Note The number of input and output channels will be limited by the hardware available in the

More information

CE95314 PSoC 3, PSoC 4, and PSoC 5LP EZI2C

CE95314 PSoC 3, PSoC 4, and PSoC 5LP EZI2C CE95314 PSoC 3, PSoC 4, and PSoC 5LP EZI2C Objective These code examples demonstrate the usage of the EZI2C slave and I 2 C master Components in PSoC 3, PSoC 4, and PSoC 5LP. Overview These code examples

More information

Configurable transfer modes: single transfer, 1D transfer (using X loop) and 2D transfer (using both X and Y loops).

Configurable transfer modes: single transfer, 1D transfer (using X loop) and 2D transfer (using both X and Y loops). PSoC Creator Component Datasheet Direct Memory Access (DMA_PDL) 2.0 Features Devices support up to two DMA hardware blocks Each DMA block supports up to 16 DMA channels Supports channel descriptors in

More information

W H I T E P A P E R. Timing Uncertainty in High Performance Clock Distribution. Introduction

W H I T E P A P E R. Timing Uncertainty in High Performance Clock Distribution. Introduction W H I T E P A P E R Brijesh A Shah, Cypress Semiconductor Corp. Timing Uncertainty in High Performance Clock Distribution Abstract Several factors contribute to the timing uncertainty when using fanout

More information

FM3 Family Motor Graphical Interface User Manual

FM3 Family Motor Graphical Interface User Manual FM3 Family Motor Graphical Interface User Manual Doc. No. 002-09177 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): +1 408.943.2600 www.cypress.com

More information

F²MC-8FX Family MB95200H/210H Series Capacitance Touch Sensor

F²MC-8FX Family MB95200H/210H Series Capacitance Touch Sensor AN205062 Associated Part Family: MB95200H/210H Series This Application Note describes Cypress TSC solution, and explains how to use TSC library and TSC GUI. Contents 1 Introduction... 1 2 Cypress Capacitance

More information

CCGx SDK 2.1 User Guide. Doc. No Rev. **

CCGx SDK 2.1 User Guide. Doc. No Rev. ** CCGx SDK 2.1 User Guide Doc. No. 002-12541 Rev. ** Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): +1 408.943.2600 www.cypress.com Copyrights Cypress

More information

Cypress EZ-PD CCGx Power SDK User Guide

Cypress EZ-PD CCGx Power SDK User Guide Cypress EZ-PD CCGx Power SDK User Guide Revision 3.2 Doc. No. 002-22136 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intl): 408.943.2600 www.cypress.com

More information

AN F²MC-16FX Family, I2C. Contents. 1 Introduction. This application note describes how to communicate via I2C with a Serial EEPROM.

AN F²MC-16FX Family, I2C. Contents. 1 Introduction. This application note describes how to communicate via I2C with a Serial EEPROM. AN204776 This application note describes how to communicate via I2C with a Serial EEPROM. Contents 1 Introduction... 1 2 24C04... 2 2.1 EEPROM... 2 2.2 Connection to MB963xx... 3 2.3 Addressing... 3 2.4

More information

The Emulated EEPROM Component should be used to store nonvolatile data on a target device.

The Emulated EEPROM Component should be used to store nonvolatile data on a target device. PSoC Creator Component Datasheet Emulated EEPROM (Em_EEPROM) 2.0 Features EEPROM-Like Non-Volatile Storage Easy-to-use Read and Write API Functions Optional Wear Leveling Optional Redundant EEPROM Copy

More information

BGM Adaptor MB E Operation Manual. 8FX Family 8-bit Microcontroller. Doc. # Rev. *A

BGM Adaptor MB E Operation Manual. 8FX Family 8-bit Microcontroller. Doc. # Rev. *A 8FX Family 8-bit Microcontroller BGM Adaptor MB2146-07-E Operation Manual Doc. # 002-05543 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl):

More information

Supports Analog, Digital I/O and Bidirectional signal types

Supports Analog, Digital I/O and Bidirectional signal types PSoC Creator Component Datasheet General Purpose Input / Output (GPIO) 1.0 Features Rapid setup of GPIO parameters Automatic place and route of signals to and from GPIOs Supports Software and Hardware

More information

Version February 02, 2018

Version February 02, 2018 PSoC Programmer Release Notes February 02, 2018 PSoC Programmer is Cypress s programming toolchain used for programming various Cypress devices. Supports applications including: PSoC Creator, PSoC Designer,

More information

Shift Register. Features. General Description 1.20

Shift Register. Features. General Description 1.20 1.20 Features Adjustable shift register size: 1 to 32 bits Simultaneous shift in and shift out Right shift or left shift Reset input forces shift register to all 0s Shift register value readable by CPU

More information

AN FR Family, MB91F467S Emulation. 1 Introduction. 2 Hardware Setup. 2.1 Required parts

AN FR Family, MB91F467S Emulation. 1 Introduction. 2 Hardware Setup. 2.1 Required parts AN205202 This application note describes the emulation system for MB91460S (MB91F467S) series and the current emulation system is based on EVA device MB91V460A, which does not include an APIX interface.

More information

FM4 S6E2Cx Series Over The Air Update 32-Bit Microcontroller With Embedded Dual Flash

FM4 S6E2Cx Series Over The Air Update 32-Bit Microcontroller With Embedded Dual Flash AN203980 FM4 S6E2Cx Series Over The Air Update 32-Bit Microcontroller With Embedded Dual Flash Target products: S6E2Cx series This document explains the use of reference software "Over the Air Update with

More information

EZ-PD Dock Reference Design Guide

EZ-PD Dock Reference Design Guide EZ-PD Dock Reference Design Guide Doc. No. 002-20322 Rev. *C Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 www.cypress.com Copyrights Cypress Semiconductor Corporation, 2017-2018. This

More information

EZ I2C Slave. Features. General Description. When to use a EZ I 2 C Slave Industry standard Philips I 2 C bus compatible interface

EZ I2C Slave. Features. General Description. When to use a EZ I 2 C Slave Industry standard Philips I 2 C bus compatible interface PSoC Creator Component ata Sheet 1.20 Features Industry standard Philips I 2 C bus compatible interface Emulates common I 2 C EEPOM interface Only two pins (SA and SCL) required to interface to I2C bus

More information

CY4532 EZ-PD CCG3PA Evaluation Kit Guide

CY4532 EZ-PD CCG3PA Evaluation Kit Guide CY4532 EZ-PD CCG3PA Evaluation Kit Guide Doc. No. 002-18680 Rev. *B Cypress Semiconductor 198 Champion Court San Jose, CA 95134 Phone (USA): 800.858.1810 Phone (Intnl): +1.408.943.2600 www.cypress.com

More information

Nine-Output 3.3 V Buffer

Nine-Output 3.3 V Buffer Nine-Output 3.3 V Buffer Nine-Output 3.3 V Buffer Features One-input to nine-output buffer/driver Supports two DIMMs or four SO-DIMMs with one additional output for feedback to an external or chipset phase-locked

More information

Chip Errata for the MB96300/MB96600 Series MOVS/MOVSW Overlap of source and destination region, F 2 MC-16FX Microcontroller

Chip Errata for the MB96300/MB96600 Series MOVS/MOVSW Overlap of source and destination region, F 2 MC-16FX Microcontroller September 20, 2012 Chip Errata for the MOVS/MOVSW Overlap of source and destination region, F 2 MC-16FX Microcontroller This document describes the errata for the MOVS/MOVSW Overlap of source and destination

More information

CY8CKIT-002. PSoC MiniProg3 Program and Debug Kit Guide. Doc. # Rev. *H

CY8CKIT-002. PSoC MiniProg3 Program and Debug Kit Guide. Doc. # Rev. *H CY8CKIT-002 PSoC MiniProg3 Program and Debug Kit Guide Doc. # 001-59350 Rev. *H Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 www.cypress.com Copyrights Copyrights Cypress Semiconductor

More information

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

For More Information Please contact your local sales office for additional information about Cypress products and solutions. The following document contains information on Cypress products. The document has the series name, product name, and ordering part numbering with the prefix MB. However, Cypress will offer these products

More information

Use the Status Register when the firmware needs to query the state of internal digital signals.

Use the Status Register when the firmware needs to query the state of internal digital signals. 1.70 Features Up to 8-bit General Description The allows the firmware to read digital signals. When to Use a Use the when the firmware needs to query the state of internal digital signals. Input/Output

More information

Hardware Design Guidelines for Using EZ-PD CCG3PA Devices in Power Adapter Applications

Hardware Design Guidelines for Using EZ-PD CCG3PA Devices in Power Adapter Applications AN218238 Hardware Design Guidelines for Using EZ-PD CCG3PA Devices in Power Adapter Applications Author: Madhan Kumar K Associated Part Family: CYPD3174, CYPD3175 Related Application Notes: AN218179, AN210403,

More information

Use the Status Register when the firmware needs to query the state of internal digital signals.

Use the Status Register when the firmware needs to query the state of internal digital signals. 1.60 Features Up to 8-bit General Description The allows the firmware to read digital signals. When to Use a Use the when the firmware needs to query the state of internal digital signals. Input/Output

More information

PSoC Creator 4.2 Production Release Notes

PSoC Creator 4.2 Production Release Notes PSoC Creator 4.2 Production Release Notes Overview The primary purpose of the PSoC Creator 4.2 release is to provide production support for the PSoC 6 MCU. This release includes a new Peripheral Driver

More information

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show. 1.70 Features Up to 8-bit General Description The allows the firmware to output digital signals. When to Use a Use a when the firmware needs to interact with a digital system. You can also use the as a

More information

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show. 1.60 Features Up to 8-bit General Description The allows the firmware to output digital signals. When to Use a Use a when the firmware needs to interact with a digital system. You can also use the as a

More information

MB39C811-EVB-03. PMIC for Solar/Vibration Energy Harvesting, Evaluation Board Operation Guide. Doc. No Rev. *B

MB39C811-EVB-03. PMIC for Solar/Vibration Energy Harvesting, Evaluation Board Operation Guide. Doc. No Rev. *B MB39C811-EVB-03 PMIC for Solar/Vibration Energy Harvesting, Evaluation Board Operation Guide Doc. No. 002-08722 Rev. *B Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 http://www.cypress.com

More information

Sequencing Successive Approximation ADC (ADC_SAR_Seq) Features. General Description. When to Use the ADC_SAR_Seq Supports PSoC 5LP devices

Sequencing Successive Approximation ADC (ADC_SAR_Seq) Features. General Description. When to Use the ADC_SAR_Seq Supports PSoC 5LP devices Sequencing Successive Approximation ADC (ADC_SAR_Seq) 1.10 Features Supports PSoC 5LP devices Selectable resolution (8, 10 or 12 bit) and sample rate (up to 1 Msps) Scans up to 64 single ended or 32 differential

More information

PSoC 4 Voltage Comparator (Comp) Features. General Description. When to Use Comparator Low input offset. User controlled offset calibration

PSoC 4 Voltage Comparator (Comp) Features. General Description. When to Use Comparator Low input offset. User controlled offset calibration 1.20 Features Low input offset User controlled offset calibration Multiple speed modes Operates in Deep Sleep power mode Output routable to digital logic blocks or pins Selectable output polarity Multiple

More information

Bootloader project - project with Bootloader and Communication components

Bootloader project - project with Bootloader and Communication components PSoC Creator Component Datasheet Bootloader and Bootloadable 1.10 Features Separate Bootloader and Bootloadable components Configurable set of supported commands Flexible component configuration General

More information

PSoC 1 In-Circuit Emulator Development Kit Guide

PSoC 1 In-Circuit Emulator Development Kit Guide CY3215-DK PSoC 1 In-Circuit Emulator Development Kit Guide Doc. # 001-66514 Rev. *E Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600

More information

Peripheral Driver Library (PDL) Component (PDL Application Programming Interface (API) only)

Peripheral Driver Library (PDL) Component (PDL Application Programming Interface (API) only) PSoC Creator Component Datasheet I2C (SCB_I2C_PDL) 1.0 Features Industry-Standard NXP I 2 C bus interface Supports slave, master [1] and master-slave operation Supports data rates of 100/400/1000 kbps

More information

Master modes provide all functionality necessary to work in a multi-master environment.

Master modes provide all functionality necessary to work in a multi-master environment. 2.0 Features Industry-Standard NXP I 2 C bus interface Supports slave, master [1] and master-slave operation Supports data rates of 100/400/1000 kbps Hardware Address Match, multiple addresses Wake from

More information

PSoC 1 I 2 C Bootloader

PSoC 1 I 2 C Bootloader Objective Project Name: PSoC1_I2C_Bootloader Programming Language: C Associated Part: All PSoC 1 Families Software Version: PD 5.2 SP1 Related Hardware: CY3210 PSoC Eval1 Board Author: Jie Yuan This project

More information

External Library. Features. General Description 1.0. The library provides documentation for external components

External Library. Features. General Description 1.0. The library provides documentation for external components 1.0 Features The library provides documentation for external components General Description The Off-Chip library in the Component Catalog provides a way for you to mix external and internal components

More information

CY4531 EZ-PD CCG3 Evaluation Kit Guide. Doc. No Rev. *C. Cypress Semiconductor 198 Champion Court San Jose, CA

CY4531 EZ-PD CCG3 Evaluation Kit Guide. Doc. No Rev. *C. Cypress Semiconductor 198 Champion Court San Jose, CA CY4531 EZ-PD CCG3 Evaluation Kit Guide Doc. No. 002-10218 Rev. *C Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 www.cypress.com Copyrights Copyrights Cypress Semiconductor Corporation,

More information

FM Universal Peripheral Driver Library Quick Start Guide

FM Universal Peripheral Driver Library Quick Start Guide FM Universal Peripheral Driver Library Quick Start Guide Doc. No. 002-04815 Rev *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): +1 408.943.2600

More information

PSoC 4 Low Power Comparator (LPComp) Features. General Description. When to Use a LPComp 2.0. Low input offset. User controlled offset calibration

PSoC 4 Low Power Comparator (LPComp) Features. General Description. When to Use a LPComp 2.0. Low input offset. User controlled offset calibration 2.0 Features Low input offset User controlled offset calibration Multiple speed modes Low-power mode Wake from low power modes Multiple interrupt and output modes General Description The Low Power Comparator

More information

FM0+ Family S6E1A1 Series, Flash Programming Guide

FM0+ Family S6E1A1 Series, Flash Programming Guide FM0+ Family S6E1A1 Series, Flash Programming Guide Doc. No. 002-05028 Rev. *B Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 http://www.cypress.com Copyrights Cypress Semiconductor Corporation,

More information

Writing to Internal Flash in PSoC 3 and PSoC 5

Writing to Internal Flash in PSoC 3 and PSoC 5 Writing to Internal Flash in PSoC 3 and PSoC 5 Code Example Objective CE62384 demonstrates how to write to the internal flash to change its contents during run time. CE62384 Associated Part Families: CY8C3xxx

More information

Bootloader project Project with a Bootloader Component and communication Component.

Bootloader project Project with a Bootloader Component and communication Component. PSoC Creator Component Datasheet Bootloader and Bootloadable 1.60 Features Separate Bootloader and Bootloadable Components Configurable set of supported commands Flexible Component configuration General

More information

Filter_ADC_VDAC_poll Example Project Features. General Description. Development Kit Configuration

Filter_ADC_VDAC_poll Example Project Features. General Description. Development Kit Configuration 1.10 Features FIR low-pass filter at 6 khz with Blackman window, 85 taps Demonstrates the polling mode of the Filter component AC-coupled input provided bias with internal Opamp for maximum swing DMA used

More information

TI: Uses a short pulse on spi_select to indicate start of transaction. National Semiconductor (Microwire): Transmission and Reception occur separately

TI: Uses a short pulse on spi_select to indicate start of transaction. National Semiconductor (Microwire): Transmission and Reception occur separately PSoC Creator Component Datasheet SPI (SCB_SPI_PDL) 2.0 Features Original SPI protocol as defined by Motorola All four clock polarity and phase options TI: Uses a short pulse on spi_select to indicate start

More information

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA CE97091- PSoC 4: Time-Stamped ADC Data Transfer Using DMA Objective This code example uses a DMA channel with two descriptors to implement a time-stamped ADC data transfer. It uses the Watch Dog Timer

More information

Cypress HX2VL Configuration Utility Blaster User Guide

Cypress HX2VL Configuration Utility Blaster User Guide Cypress HX2VL Configuration Utility Blaster User Guide Spec. # 001- Rev. ** Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com

More information

CY4541 EZ-PD CCG4 Evaluation Kit Guide

CY4541 EZ-PD CCG4 Evaluation Kit Guide CY4541 EZ-PD CCG4 Evaluation Kit Guide Doc. No. 002-10353 Rev. *E Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 www.cypress.com Copyrights Cypress Semiconductor Corporation, 2016-2017.

More information

AN EZ-USB FX3 I 2 C Boot Option. Application Note Abstract. Introduction. FX3 Boot Options

AN EZ-USB FX3 I 2 C Boot Option. Application Note Abstract. Introduction. FX3 Boot Options EZ-USB FX3 I 2 C Boot Option Application Note Abstract AN68914 Author: Shruti Maheshwari Associated Project: No Associated Part Family: EZ-USB FX3 Software Version: None Associated Application Notes: None

More information

Comparator (Comp) Features. General Description. When to use a Comparator 1.60

Comparator (Comp) Features. General Description. When to use a Comparator 1.60 1.60 Features Low input offset User controlled offset calibration Multiple speed modes Low power mode Output routable to digital logic blocks or pins Selectable output polarity Configurable operation mode

More information

Bootloader project Project with a Bootloader component and communication component.

Bootloader project Project with a Bootloader component and communication component. 1.40 Features Separate components Configurable set of supported commands Flexible component configuration General Description The bootloader system manages the process of updating the device flash memory

More information

Operational Amplifier (Opamp) Features. General Description. Input/Output Connections. Noninverting Analog Follower or Opamp configuration

Operational Amplifier (Opamp) Features. General Description. Input/Output Connections. Noninverting Analog Follower or Opamp configuration 1.90 Features Follower or Opamp configuration Unity gain bandwidth > 3.0 MHz Input offset voltage 2.0 mv max Rail-to-rail inputs and output Output direct low resistance connection to pin 25-mA output current

More information

CY3660-enCoRe V and encore V LV DVK Kit Guide

CY3660-enCoRe V and encore V LV DVK Kit Guide CY3660-enCoRe V and encore V LV DVK Kit Guide Doc. # 001-41500 Rev. ** Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com

More information

PSoC 4 Operational Amplifier (Opamp) Features. General Description. When to Use the Opamp Follower or Opamp configuration

PSoC 4 Operational Amplifier (Opamp) Features. General Description. When to Use the Opamp Follower or Opamp configuration PSoC Creator Component Datasheet PSoC 4 Operational Amplifier (Opamp) 1.20 Features Follower or Opamp configuration Rail-to-rail inputs and output Output direct low resistance connection to pin 1mA or

More information

AT09381: SAM D - Debugging Watchdog Timer Reset. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE

AT09381: SAM D - Debugging Watchdog Timer Reset. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE SMART ARM-based Microcontrollers AT09381: SAM D - Debugging Watchdog Timer Reset APPLICATION NOTE Introduction This application note shows how the early warning interrupt can be used to debug a WDT reset

More information

UM NXP USB PD shield board user manual COMPANY PUBLIC. Document information

UM NXP USB PD shield board user manual COMPANY PUBLIC. Document information Rev. 0.3 19 June 2017 User manual COMPANY PUBLIC Document information Information Content Keywords Abstract OM13588, USB Type-C, PD (power delivery), Alt-mode-DP, Host, Dock This user manual presents demonstration

More information

EZ I 2 C Slave. Features. General Description. When to use a EZ I 2 C Slave 1.50

EZ I 2 C Slave. Features. General Description. When to use a EZ I 2 C Slave 1.50 PSoC Creator Component Data Sheet EZ I 2 C Slave 1.50 Features Industry standard Philips I 2 C bus compatible interface Emulates common I 2 C EEPROM interface Only two pins (SDA and SCL) required to interface

More information

Application Development Guide

Application Development Guide Cypress USBSuite Application Development Guide Version 1.2.3.20 Doc. No.002-23610 Rev. ** Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 www.cypress.com Cypress USBSuite Application Development

More information

AT03262: SAM D/R/L/C System Pin Multiplexer (SYSTEM PINMUX) Driver. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE

AT03262: SAM D/R/L/C System Pin Multiplexer (SYSTEM PINMUX) Driver. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE SMART ARM-based Microcontrollers AT03262: SAM D/R/L/C System Pin Multiplexer (SYSTEM PINMUX) Driver APPLICATION NOTE Introduction This driver for Atmel SMART ARM -based microcontrollers provides an interface

More information

FM4 S6E2H-Series Starter Kit Guide

FM4 S6E2H-Series Starter Kit Guide FM4 S6EH-Series Starter Kit Guide Doc. No. 00-387 Rev. ** Cypress Semiconductor 98 Champion Court San Jose, CA 9534-709 Phone (USA): 800.858.80 Phone (Intnl): + 408.943.600 www.cypress.com Copyright Cypress

More information

THIS SPEC IS OBSOLETE

THIS SPEC IS OBSOLETE THIS SPEC IS OBSOLETE Spec No: 002-04992 Spec Title: Installation of the LAN Adapter Replaced by: NONE Installation of the LAN Adapter Doc. No. 002-04992 Rev. *A Cypress Semiconductor 198 Champion Court

More information

FR Family SOFTUNE Workbench User's Manual for V6

FR Family SOFTUNE Workbench User's Manual for V6 MB90880???? Cover Sheet FR Family SOFTUNE Workbench User's Manual for V6 Spec. # 002-04574 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl):

More information

PSoC Programmer 3.12 Release Notes

PSoC Programmer 3.12 Release Notes PSoC Programmer 3.12 Release Notes Release Date: July 28, 2010 Thank you for your interest in PSoC Programmer 3.12. These release notes list all new features, installation requirements, supported devices

More information

For one or more fully configured, functional example projects that use this user module go to

For one or more fully configured, functional example projects that use this user module go to Datasheet RefMux V 1.3 001-13584 Rev. *H Reference Multiplexer Copyright 2003-2012 Cypress Semiconductor Corporation. All Rights Reserved. PSoC Blocks API Memory (Bytes) Resources Digital Analog CT Analog

More information

CYClockMaker Programming Kit Guide CY3675. Doc. # Rev. *C

CYClockMaker Programming Kit Guide CY3675. Doc. # Rev. *C CY3675 CYClockMaker Programming Kit Guide Doc. # 001-52414 Rev. *C Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com

More information

Cypress HX2VL Configuration Utility Blaster User Guide

Cypress HX2VL Configuration Utility Blaster User Guide Cypress HX2VL Configuration Utility Blaster User Guide Doc. # 001-70672 Rev. *B Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com

More information

Voltage Reference (Vref) Features. General Description. Input/Output Connections. When to Use a Vref Voltage references and supplies

Voltage Reference (Vref) Features. General Description. Input/Output Connections. When to Use a Vref Voltage references and supplies PSoC Creator Component Datasheet Voltage Reference (Vref) 1.60 Features Voltage references and supplies Multiple options Bandgap principle to achieve temperature, and voltage stability General Description

More information

HX2VL Development Kit Guide. Doc. # Rev. **

HX2VL Development Kit Guide. Doc. # Rev. ** HX2VL Development Kit Guide Doc. # 001-73960 Rev. ** Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com Copyrights

More information