AURIX Training General Purpose Input Output
File info: application/pdf · 8 pages · 334.60KB
AURIX Training General Purpose Input Output
AURIX, Training, GPIO, General, Purpose, Input, Output, General Purpose Input Output
AURIX™ General Purpose Input Output
AURIX™ Family – TC22xL - Infineon Technologies
Microcontroller - Infineon Technologies
Full PDF Document
If the inline viewer fails, it will open the original document in compatibility mode automatically. You can also open the file directly.
Extracted Text
GPIO
General Purpose Input Output
AURIXTM TC3xx Microcontroller Training V1.0 2020-06
Please read the Important Notice and Warnings at the end of this document
GPIO General Purpose Input Output
Control Port Slice Interface
Control
Signal Interface
Pad PU PD
Highlights
> Digital input and output pins controlled by
software or by peripherals
> Capable to drive 5 V or 3.3 V output level
Pin
> TTL or CMOS input hysteresis
> Pin toggle with one CPU instruction
Key Features
High configuration capabilities Access protection Port emergency stop
Customer Benefits
> Flexible adaption of pin characteristics to
application needs e.g. EMC
> Protection against unintended
modification of port configuration
> Pre-defined pin states for critical
situations without software intervention
2020-06-05
Copyright � Infineon Technologies AG 2020. All rights reserved.
2
GPIO High configuration capabilities
> Each port pin can be configured and controlled by software for input or output operation (general-purpose mode)
> A port pin can be assigned to one of 7 peripheral outputs > Peripherals decide which input port pin to use as input > The level of a pin can always be read by software independent of whether
the port pin operates as input or output > Configured as input:
� an internal pull-down or pull-up devices can be connected � the user can select between 3 different input hysteresis > Configured as output: � Push-pull mode or open-drain mode can be selected � up to 4 different speed grades are available to apply the optimal
balance between speed needs and EMC behavior of the application
2020-06-05
Copyright � Infineon Technologies AG 2020. All rights reserved.
3
GPIO Access protection
CPU0
DMA
Port 00
Port 01
Pin
Pin Pin
Pin
Example: > CPU0 can write to Port00 only > DMA can write to Port33 only
Port 33
Pin
Pin
> Unintended settings of port pins could cause serious and irreversible damages of the application hardware especially in high power applications
> To avoid unintended modifications of port pin configurations during operation, AURIXTM provides a write protection for ports
� The registers group of each port (e.g. P00, P01, P33, ...) can be protected against write accesses
� Write accesses can be disables separately for each bus master like e.g. CPUx, DMA, and HSSL
2020-06-05
Copyright � Infineon Technologies AG 2020. All rights reserved.
4
GPIO Port emergency stop
> The emergency stop signal from the System Control Unit (SCU) forces port pins from output mode to general-purpose input mode
> Emergency stop logic can be enabled for each port pin individually
System Control Unit (SCU)
Emergency Stop Signal
Port 00
Port 01
Pin
Pin Pin
Pin
2020-06-05
Copyright � Infineon Technologies AG 2020. All rights reserved.
5
GPIO System integration
Timer
Communication Peripherals
CPUx DMA
ERU External Request Unit
IR Interrupt Router
Ports
Pin
Pin Pin
Pin Pin
Pin
> Almost all peripherals are interacting with port pins used as connection to the outside world
> External interrupt signals (service requests) can be routed via the External Request Unit (ERU) to the Interrupt Router (IR)
2020-06-05
Copyright � Infineon Technologies AG 2020. All rights reserved.
6
Application example External interrupt
Interrupt Signal at e.g P00.4
Pin
PORT00
REQ7
IOUT
External Request Unit
(ERU)
SRN
Interrupt Router
(IR)
ICU0
Example is valid for AURIXTM TC39x
CPU0
Pin
Overview
> The selected interrupt input pin P00.4
must be configured to input (optional: open drain mode, pull-device activated)
> In the ERU the input REQ7 must be
selected and routed to an output
Advantages
> Several interrupt signals can be
combined in the ERU and routed to one interrupt node
> Up to 16 possible external interrupt
inputs
2020-06-05
Copyright � Infineon Technologies AG 2020. All rights reserved.
7
Trademarks All referenced product or service names and trademarks are the property of their respective owners.
Edition 2020-06 Published by Infineon Technologies AG 81726 Munich, Germany
� 2020 Infineon Technologies AG. All Rights Reserved.
Do you have a question about this document? Email: erratum@infineon.com
Document reference AURIX_Training_2_ General_Purpose_Input_Output
IMPORTANT NOTICE The information given in this document shall in no event be regarded as a guarantee of conditions or characteristics ("Beschaffenheitsgarantie") .
With respect to any examples, hints or any typical values stated herein and/or any information regarding the application of the product, Infineon Technologies hereby disclaims any and all warranties and liabilities of any kind, including without limitation warranties of non-infringement of intellectual property rights of any third party.
In addition, any information given in this document is subject to customer's compliance with its obligations stated in this document and any applicable legal requirements, norms and standards concerning customer's products and any use of the product of Infineon Technologies in customer's applications.
The data contained in this document is exclusively intended for technically trained staff. It is the responsibility of customer's technical departments to evaluate the suitability of the product for the intended application and the completeness of the product information given in this document with respect to such application.
For further information on the product, technology, delivery terms and conditions and prices please contact your nearest Infineon Technologies office (www.infineon.com).
WARNINGS Due to technical requirements products may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies office.
Except as otherwise explicitly approved by Infineon Technologies in a written document signed by authorized representatives of Infineon Technologies, Infineon Technologies' products may not be used in any applications where a failure of the product or any consequences of the use thereof can reasonably be expected to result in personal injury.
