AP32029
Peak & Hold Current Shape generated by TriCore
Introduction
Application Note 3 2.1, 2002-09
Table of Contents Page
1 Introduction....................................................................................................4
2 System Requirements for Direct Injection Applications .................................5
2.1 System Overview...........................................................................................5
2.2 Possible System Solutions ............................................................................7
2.2.1 Generation of Peak&Hold Current Shape with Application Specific IC
(ASIC).................................................................................................... 8
2.2.2 Generation of Peak&Hold Current Shape with GPTA Peripheral
Module.................................................................................................10
2.2.2.1 Parallel High Side Switch Configuration...........................................10
2.2.2.2 Serial High Side Switch Configuration..............................................11
2.2.2.3 Low Side Switch Current PWM ........................................................12
3 Closed Loop Current Control together with GPTA.......................................13
3.1 Usage of Global Timer Cell Array................................................................15
3.2 Usage of Local Timer Cell Array.................................................................. 17
3.3 Overview about the complete generated Waveforms..................................19
4 System Partitioning......................................................................................22
4.1 The Peripheral Control Processor (PCP).....................................................22
4.1.1 PCP Initialization .................................................................................23
4.1.2 The PCP Program File......................................................................... 23
4.1.2.1 PCP Sections ...................................................................................24
4.1.2.2 Start Address of a Channel Program................................................24
4.1.2.3 PCP Context.....................................................................................25
4.1.2.4 Variables and Constants in PCP Parameter RAM............................27
4.1.3 PCP Debugging and Test....................................................................28
5 Software Application Example.....................................................................29
5.1 Overview of configurable Parameters..........................................................30
5.2 Used GPTA Resources for the Peak&Hold Generation............................... 32
5.3 Connection to PC Terminal Program...........................................................33
6 Conclusion...................................................................................................34
7 Appendix......................................................................................................35
7.1 Related Documentation and SW Package ..................................................35
7.2 List of Figures..............................................................................................35
7.3 List of Tables...............................................................................................35
7.4 Abbreviations...............................................................................................36