没有合适的资源?快使用搜索试试~ 我知道了~
首页Aurix_MC-ISAR_UM_MCUDriver.pdf
资源详情
资源评论
资源推荐

Microcontrollers
AURIX
Microcontroller Infineon Software Architecture
User's Manual
MCU driver
Released v4.9
2016-08

Edition 2016-08
Published by
Infineon Technologies AG
81726 Munich, Germany
© 2016 Infineon Technologies AG
All Rights Reserved.
LEGAL DISCLAIMER
THE INFORMATION GIVEN IN THIS DOCUMENT IS GIVEN AS A HINT FOR THE IMPLEMENTATION OF
THE INFINEON TECHNOLOGIES COMPONENT ONLY AND SHALL NOT BE REGARDED AS ANY
DESCRIPTION OR WARRANTY OF A CERTAIN FUNCTIONALITY, CONDITION OR QUALITY OF THE
INFINEON TECHNOLOGIES COMPONENT. THE RECIPIENT OF THIS DOCUMENT MUST VERIFY ANY
FUNCTION DESCRIBED HEREIN IN THE REAL APPLICATION. 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) WITH RESPECT TO ANY AND ALL INFORMATION GIVEN IN THIS DOCUMENT.
Information
For further information on technology, delivery terms and conditions and prices, please contact the nearest
Infineon Technologies Office (www.infineon.com).
Warnings
Due to technical requirements, components may contain dangerous substances. For information on the
types in question, please contact the nearest Infineon Technologies Office.
Infineon Technologies components may be used in life-support devices or systems only with the express
written approval of Infineon Technologies, if a failure of such components can reasonably be expected to
cause the failure of that life-support device or system or to affect the safety or effectiveness of that device or
system. Life support devices or systems are intended to be implanted in the human body or to support and/or
maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the
user or other persons may be endangered.

MC-ISAR
AURIX
CONFIDENTIAL
User's Manual 3 Released v4.9, 2016-08
MCU driver
Date
Version
Change Description
2016-08-04
4.9
Updated based on review ID: 10569
2016-08-01
4.8
Updated 6.2.21 and 8.10 section for Mcu_17_CCuconRegUpdate
2016-05-25
4.7
Updated Sections as part of Protected mode support implementation:
Section 2.3 : Interface diagram updated
Section 3 : File structure updated
Section 4.2.17 to 4.2.20 : McuGeneral Configuration parameters added
Section 6.2 : IO mode row of APIs updated
Section 8.6 : Example usage updated
2016-02-01
4.6
Updated Sections:
4.3.13.53 McuErayPllK3Divider parameter range is updated.
2015-11-12
4.5
Updated Sections:
4.5.1 McuResetReason Configuration for MCU_RESET_MULTIPLE
McuPublishedInformation container is removed for AS321
2015-10-15
4.4
Updated Sections:
6.2 (All sub-sections) for I/O privileges, enabling MCU driver to run in User-1
mode also.
4.3.13.12 McuClockSettingMode updated for Range of values.
2015-09-08
4.3
Updated Sections:
6.2.1 Mcu_Init and 7 Error Classification for CLC initialization failure.
4.2.4 Mcu PLL Initialization Delay, 4.2.5 Mcu Eray PLL initialization Delay,
4.3.13.8 McuK2DivRampToPllConfDelay and 4.3.13.9
McuK2DivRampToBackUpConfDelay for SW based delay loops
6.2.1 Mcu_Init, 6.2.3 Mcu_InitClock, 6.2.4 Mcu_DistributePllClock and 6.2.16
Mcu_RampToBackUpClockFreq for caveats
2015-06-15
4.2
Added implementation comments for Mcu_InitClock and Mcu_DistributePllClock.
2015-05-13
4.1
Added user note for McuK2DivSteps.
2015-04-22
4.0
Support added for McuDeInitApi and McuDeInitApi features.
2015-03-10
3.9
Added assumption for TC21x, TC22x Max frequency.
2015-01-15
3.8
Updated for UTP
AI00251544:additional API for reset of cold reset status bits in RSTSTAT
AI00252697: Configurable ERAY PLL initialization delay after cold power-up
AI00252694: Configurable PLL delay for initialization after cold power-up
AI00251155: configurable delay for K2 divider step increase/decrease
AI00252756: McuResetSetting made multi configuration capable
2014-11-13
3.7
Updated for UTP AI00251090
2014-09-10
3.6
Updated for UTP AI00248867
2014-08-12
3.5
Added ADC_DRIVER for Ccu6 module usage and modified in
Ccu configuration
2014-07-14
3.4
Removed reference for Software Safety information document
2014-06-16
3.3
Review comments incorporated
2014-06-06
3.2
Support for FM PLL
Disabling of ERAY PLL to support 8MHz oscillator frequency
2014-03-26
3.1
Reference to Safety Software information document corrected
2014-02-28
3.0
Added support for EP Platforms
2014-02-04
2.9
Review comments incorporated
2014-01-13
2.8
MCU Standby support
2013-11-11
2.7
Review comments incorporated
2013-11-08
2.6
Corrected EthDivider description;aldo added traceability tags

MC-ISAR
AURIX
CONFIDENTIAL
User's Manual 4 Released v4.9, 2016-08
MCU driver
Date
Version
Change Description
2013-09-18
2.5
Fixed review comments
2013-09-12
2.4
Added EruConfiguration container description.
Corrected default values for configuration parameters.
2013-08-21
2.3
Update for TC26x, TC29x derivatives as well as safety configuration parameters.
Added Chapter Safety information.
2013-04-04
2.2
Fixed review comments
2013-01-04
2.1
Updated Common Published Information
2013-06-02
2.0
Updated for B - step Changes
2012-18-12
1.8
Updated File Structure
2012-26-10
1.7
Added AscLinConfiguration container.
2012-20-10
1.6
AI00066335. CCU6 support
2012-13-08
1.5
Updated AS32 related code.
2012-15-07
1.4
Update Clock Reference Point container. Added DEM Container.
2012-14-06
1.3
Modified clock frequency ratio table.
2012-18-05
1.2
Added Note for Fbbb frequency
2012-12-05
1.1
Added Eray related API and Dividers. Changed default values of Clock
frequency and dividers.
2011-20-10
1.0
Allowed clock ratios are updated with respect to TC2Dx device.
2011-04-10
0.3
Added new clock parameters for SPB, FSI, CPU0 and SRI frequencies.
2011-04-08
0.2
Added new clock parameters for SPB, FSI, CPU0, MAX, GTM, SRI and STM
frequencies.
2011-20-03
0.1
Initial version
We Listen to Your Comments
Is there any information in this document that you feel is wrong, unclear or missing?
Your feedback will help us to continuously improve the quality of this document.
Please send your proposal (including a reference to this document) to:
mcdocu.comments@infineon.com

MC-ISAR
AURIX
Table of Contents Page
User's Manual 5 Released v4.9, 2016-08
MCU driver
1 Introduction ................................................................................................................................. 16
1.1 Scope .................................................................................................................................................. 16
1.2 Abbreviations ...................................................................................................................................... 16
1.3 References ......................................................................................................................................... 17
2 Driver Overview ........................................................................................................................... 19
2.1 Software Hardware Mapping ............................................................................................................. 19
2.2 Hardware Features ............................................................................................................................ 20
2.2.1 Memory Unit ....................................................................................................................................... 20
2.2.2 System Clock...................................................................................................................................... 20
2.2.2.1 Normal Mode ...................................................................................................................................... 21
2.2.2.2 Pre-scalar Mode ................................................................................................................................. 21
2.2.2.3 Clock Calculation ............................................................................................................................... 21
2.2.3 Allowed clock ratios ........................................................................................................................... 24
2.2.4 Power management ........................................................................................................................... 26
2.2.5 Reset Control ..................................................................................................................................... 26
2.3 Software Driver Description ............................................................................................................... 27
3 File structure................................................................................................................................ 29
4 Configuration Documentation ................................................................................................... 30
4.1 Configuration Concept ....................................................................................................................... 30
4.1.1 Configuration Class ............................................................................................................................ 30
4.1.2 Configuration Variant ......................................................................................................................... 31
4.1.3 How to read the Configuration Class field ........................................................................................ 31
4.2 Container: MCU General configuration ............................................................................................ 32
4.2.1 Development error detection ............................................................................................................. 32
4.2.2 Module Version Information .............................................................................................................. 32
4.2.3 Perform Reset Enable/Disable .......................................................................................................... 33
4.2.4 Mcu PLL Initialization Delay .............................................................................................................. 33
4.2.5 Mcu Eray PLL initialization Delay ..................................................................................................... 34
4.2.6 Mcu Oscillator Frequency .................................................................................................................. 34
4.2.7 Mcu PB Fixed Address ...................................................................................................................... 35
4.2.8 Select Core for System Modes ......................................................................................................... 35
4.2.9 Select Core for Idle Mode .................................................................................................................. 36
4.2.10 Initialise clock enable/disable ............................................................................................................ 36
4.2.11 PLL handling enable/disable ............................................................................................................. 37
4.2.12 GetRamState API Enable/Disable .................................................................................................... 37
4.2.13 FM PLL Enable/Disable ..................................................................................................................... 38
4.2.14 Mcu_ClearColdResetState API Enable/Disable .............................................................................. 38
4.2.15 Mcu_DeInit API Enable/Disable ........................................................................................................ 38
4.2.16 SFR Resetting at Initialization Enable/Disable ................................................................................ 39
4.2.17 Protected mode Enable/Disable for Initialization APIs .................................................................... 39
4.2.18 Protected mode Enable/Disable for De-initialization APIs .............................................................. 40
4.2.19 Protected mode Enable/Disable during Runtime APIs .................................................................... 40
4.2.20 Protected mode Enable/Disable ....................................................................................................... 41
4.3 Container: Mcu Module Configuration .............................................................................................. 41
4.3.1 MCU Clock Source Failure Notification Configuration .................................................................... 41
4.3.2 Mcu Number of Modes Configuration ............................................................................................... 42
4.3.3 McuRamSectors Configuration ......................................................................................................... 42
4.3.4 MCU SW Reset Configuration .......................................................................................................... 43
4.3.5 Container: MCU Trigger Reset Configuration .................................................................................. 43
4.3.6 MCU Stm Configuration ..................................................................................................................... 44
4.3.7 Container: MCU DMA Configuration ................................................................................................ 44
4.3.7.1 DMA Channel ..................................................................................................................................... 44
4.3.8 Container: GtmConfiguration ............................................................................................................ 45
4.3.9 Container: CcuConfiguration ............................................................................................................. 45
4.3.9.1 Ccu6ModuleUsage ............................................................................................................................ 46
4.3.9.2 T12ClkSelection ................................................................................................................................. 46
剩余138页未读,继续阅读










安全验证
文档复制为VIP权益,开通VIP直接复制

评论0