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