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.

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

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

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

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

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

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

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

PSoC 6 Current Digital to Analog Converter (IDAC7)

PSoC Creator Quick Start Guide

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

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

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

PSoC 4 Current Digital to Analog Converter (IDAC)

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

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

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

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

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

Capable of adjusting detection timings for start bit and data bit

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

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

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

CE CY8CKIT-042-BLE F-RAM Data Logger

EZ-PD Analyzer Utility User Guide

Optional Pause Pulse for constant frame length of 282 clock ticks

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

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

Cypress BLE-Beacon ios App User Guide

ModusToolbox USB Configurator Guide

THIS SPEC IS OBSOLETE

Shift Register. Features. General Description 1.20

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

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

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

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

Supports Analog, Digital I/O and Bidirectional signal types

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

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

FM3 Family Motor Graphical Interface User Manual

Nine-Output 3.3 V Buffer

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

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

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

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

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

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

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

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

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

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

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

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

Use the IDAC8 when a fixed or programmable current source is required in an application.

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

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

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

8 to 1 Analog Multiplexer Datasheet AMux8 V 1.1. Features and Overview

4 to 1 Analog Multiplexer Data Sheet

PSoC Creator Component Datasheet

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

PSoC Creator 4.2 Production Release Notes

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

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

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

CY7C603xx CYWUSB

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

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

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

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

Programmable Threshold Comparator Data Sheet

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

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

Version February 02, 2018

Cypress EZ-PD Configuration Utility User Manual

Preliminary. Gas Sensor Analog Front End Datasheet GasSensorAFE V Features and Overview. This datasheet contains Preliminary information.

Filter_ADC_VDAC_poll Example Project Features. General Description. Development Kit Configuration

Incremental ADC Data Sheet

PSoC 1 In-Circuit Emulator Development Kit Guide

ADC Successive Approximation Register (ADC_SAR)

Programmable Gain Amplifier Datasheet PGA V 3.2. Features and Overview

16-Mbit (512 K words 32 bits) Static RAM with Error-Correcting Code (ECC)

The color of the Clock component waveform symbol will change based on the clock's domain (as shown in the DWR Clock Editor), as follows:

Supported Devices: CY8C28x13, CY8C28x33, CY8C28x43, CY8C28x45, CY8C28x52, CY8C21x45, CY8C22x45, CY8C24x93. CY8C24x

Writing to Internal Flash in PSoC 3 and PSoC 5

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

MB39C831-EVB-02 Thermal Energy Harvesting Evaluation Board Operation Guide

FM0+ Family S6E1A1 Series, Flash Programming Guide

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

FM Universal Peripheral Driver Library Quick Start Guide

Cypress HX2VL Configuration Utility Blaster User Guide

LPF (Optional) CY8C24x93. Without LPF and ISR to 3* With LPF only** to 3* With ISR only to 3*

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

Shadow Registers Datasheet ShadowRegs V 1.1. Features and Overview

CY4701 EZ-USB GX3 Reference Design Guide

Graphic LCD Interface (GraphicLCDIntf) Features. General Description. When to Use a GraphicLCDIntf 1.80

Cypress HX2VL Configuration Utility Blaster User Guide

Supports one or two address decoding with independent memory buffers. Memory buffers provide configurable Read/Write and Read Only regions

8-Bit Voltage Digital to Analog Converter (VDAC8)

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

This section describes the various input and output connections for the Voltage Fault Detector.

Transcription:

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 The analog multiplexer sequencer (AMuxSeq) component is used to connect one analog signal at a time to a different common analog signal, by breaking and making connections in hookuporder sequence. The AMuxSeq is primarily used for time division multiplexing. When to use an AMuxSeq The AMuxSeq component should be used any time multiple analog signals must be multiplexed into a single source or destination. Since the AMuxSeq component is passive, it can be used to multiplex input or output signals. The AMuxSeq has a simpler and faster API than the AMux. The AMuxSeq should be used instead of the AMux when multiple simultaneous connections are not required and the signals will always be accessed in the same order. Input/Output Connections This section describes the various input and output connections for the AMuxSeq. An asterisk (*) in the list of I/O s states that the I/O may be hidden on the symbol under the conditions listed in the description of that I/O. AN Analog 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." Cypress Semiconductor Corporation 198 Champion Court San Jose, CA 95134-1709 408-943-2600 Document Number: 001-53204 Rev. *D Revised June 30, 2016

PSoC Creator Component Data Sheet B Analog The b signal is the common connection. Whichever AN signal is selected with the AMuxSeq_Next() function will be connected to this terminal. The paired outputs are present when the MuxType parameter is set to "Differential". Parameters and Setup Drag an AMuxSeq component onto your design and double-click it to open the Configure dialog. Figure 1 Configure AMuxSeq Dialog The AMuxSeq provides the following parameters. Channels This parameter selects the number of inputs or paired inputs depending on the MuxType. Any value between 2 and 32 may be selected. MuxType This parameter selects between a single input per connection Single and a dual input Differential input mux. A type Single is used when the input signals are all referenced to the same signal such as Vssa. In cases where two or more signals may have different signal Page 2 of 7 Document Number: 001-53204 Rev. *D

reference, the Differential option should be selected. The differential mode is most often used with an ADC that provides a differential input. Placement There are no placement specific options. Resources The AMuxSeq makes use of the individual switches that connect blocks to analog busses and analog busses that connect to pins. Application Programming Interface Application Programming Interface (API) routines allow you to configure the component using software. The following table lists and describes the interface to each function. The subsequent sections cover each function in more detail. By default, PSoC Creator assigns the instance name "AMuxSeq_1" to the first instance of a component in a given design. You can rename the instance to any unique value that follows the syntactic rules for identifiers. The instance name becomes the prefix of every global function name, variable, and constant symbol. For readability, the instance name used in the following table is "AMuxSeq". Function Description void AMuxSeq_Start(void) void AMuxSeq_Stop(void) void AMuxSeq_Next(void) void AMuxSeq_DisconnectAll(void) int8 AMuxSeq_GetChannel(void) Disconnects the previous channel and connects the next one in the sequence. The first time AMuxSeq_Next is called the first channel of the sequence (starting at channel zero) is connected. Disconnect all inputs. The currently connected channel is returned. If no channel is connected returns -1. Document Number: 001-53204 Rev. *D Page 3 of 7

PSoC Creator Component Data Sheet void AMuxSeq_Start(void) void AMuxSeq_Stop(void) void AMuxSeq_Next(void) Disconnects the previous channel and connects the next one in the sequence. The first time AMuxSeq_Next is called the first channel of the sequence (starting at channel zero) is connected. void AMuxSeq_DisconnectAll(void) This function disconnects all channels. Page 4 of 7 Document Number: 001-53204 Rev. *D

int8 AMuxSeq_GetChannel(void) The currently connected channel is returned. If no channel is connected returns -1. The current channel or -1. Sample Firmware Source Code The following is a C language example demonstrating the basic functionality of the AMuxSeq component. This example assumes the component has been placed in a design with the default name "AMuxSeq_1." Note If you rename your component you must also edit the example code as appropriate to match the component name you specify. #include <device.h> void main() { AMuxSeq_1_Start(); /* Disconnects all channels */ AMuxSeq_1_Next(); /* Connect channel 0 */ } Document Number: 001-53204 Rev. *D Page 5 of 7

PSoC Creator Component Data Sheet Functional Description The AMuxSeq is controlled by firmware, not by hardware. Only one signal at a time may be connected to the common signal. The following shows the flow for an AMuxSeq configured as "Single" and "Differential." DC and AC Electrical Characteristics The AMuxSeq will operate at all valid supply voltages. 5.0V/3.3V DC and AC Electrical Characteristics Parameter Typical Min Max Units Conditions and Notes Input Input Voltage Range --- Vss to Vdd V Capacitance to ground --- --- pf Series resistance --- --- Page 6 of 7 Document Number: 001-53204 Rev. *D

Component Changes This section lists the major changes in the component from the previous version. Current Version Description of Changes Reason for Changes / Impact 1.20.d 1.20.c 1.20.b 1.20.a Minor datasheet edit. Minor datasheet edit. Minor datasheet edit. Added information to the component that advertizes its compatibility with silicon revisions. The tool reports an error/warning if the component is used on incompatible silicon. If this happens, update to a revision that supports your target device. 1.20 Updated the Symbol picture. Updated to comply with corporate standard and indicate sequencing. Added the GetChannel API function. Added missing 'void' for functions with no arguments. Changed type of AMux channel variable from unsigned to signed integer because -1 is used to indicate that no channel is selected. To get currently connected channel. These changes addressed warnings about deprecated declaration that appeared during compilation with MDK and RVDS compilers. Cypress Semiconductor Corporation, 2009-2016. 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, non-exclusive, 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. Document Number: 001-53204 Rev. *D Page 7 of 7