汽车编程-Using the TASKING Pin Mapper for AURIX.pdf
《汽车编程-Using the TASKING Pin Mapper for AURIX.pdf》由会员分享,可在线阅读,更多相关《汽车编程-Using the TASKING Pin Mapper for AURIX.pdf(24页珍藏版)》请在文库网上搜索。
1、Using the TASKING PinMapper for AURIXMA160-870 (v1.0) November 13, 2017Copyright 2017 TASKING BV.All rights reserved.You are permitted to print this document provided that (1) the use of such is for personal use onlyand will not be copied or posted on any network computer or broadcast in any media,
2、and (2) no modifications of thedocument is made. Unauthorized duplication, in whole or part, of this document by any means, mechanical or electronic,including translation into another language, except for brief excerpts in published reviews, is prohibited without theexpress written permission of TAS
3、KING BV. Unauthorized duplication of this work may also be prohibited by localstatute.Violators may be subject to both criminal and civil penalties, including fines and/or imprisonment. Altium,TASKING, and their respective logos are registered trademarks of Altium Limited or its subsidiaries. All ot
4、her registeredor unregistered trademarks referenced herein are the property of their respective owners and no trademark rights tothe same are claimed.Table of Contents1. Introduction . 11.1. Port Pin . 11.2. Peripheral . 11.3. Connection . 11.4. Package . 22. Getting Started with the TASKING Pin Map
5、per . 32.1. Adding a Pin Mapper Document to an Existing Project . 32.2. TASKING Pin Mapper Perspective . 42.2.1. TASKING Pin Mapper Editor View . 52.2.2. Package View . 92.2.3. Pin Conflicts View . 122.3. Configuring the Pins . 132.4. Solving Pin Conflicts . 142.5. Generating and Using the Source Co
6、de . 162.6. Generate CSV File . 172.7. Launch Altium Designer . 182.8. Pin Mapper Preferences . 182.9. Errors and Warnings . 18iii软件下载:https:/ 提取码:uo1z ivUsing the TASKING Pin Mapper for AURIXChapter 1. IntroductionNowadays many microcontrollers are equipped with a large number of on-chip peripheral
7、 modules.Thesemicrocontrollers are made available in surface mount packages with various numbers of physical pins.The number of pins usually does not allow all peripheral modules to be used simultaneously. Hardwareregisters on the microcontroller allow for configurable assignment of peripheral modul
8、e signals to physicalpins.This means that you have to select the proper device for your application and properly initializehardware registers from software.The purpose of the TASKING Pin Mapper is to assist you in performingthose tasks.1.1. Port PinThe basic entity of the TASKING Pin Mapper is the p
9、ort pin. Port pins are physical pins of the chip. A portpin name typically consists of a port identifier and, if the port identifier is shared by multiple pins, asequential pin number, for example TMS, AN4 or P10_2. A port pin name is not package specific. Eachpackage has its own specific assignment
10、 of port pin names to package pin numbers.The basic configuration item of a port pin is its function (which in most cases is determined by the signalassigned to it). Some ports have dedicated functions, mostly related to power supply or chip infrastructure.Other ports have configurable functionality
11、 (ultimately defined by run-time register settings).The requiredfunction is application specific.A port function definition consists of a symbolic name, a direction and a description.The TASKING PinMapper distinguishes between input functions and output functions. Functions are listed by their symbo
12、licnames (which are mostly signal names, for example ASCLK3).Port pins can have a number of other chip specific properties. Such properties can be fixed (for examplethe type of pad the port is connected to) or configurable (for example the pad state). Port pins are visiblein the Package view.You can
13、 assign a user-defined symbol name to the port pin and you can make thesymbol names visible in the Package view.You can use filters in pin selection views or you can useproperty values as background color codes in the Package view.You can change the configurable propertyvalues.1.2. PeripheralAURIX d
14、evices, such as the TC27xC, have support for several on-chip peripherals, such as serialcontrollers, timer units, and analog-to-digital converters.1.3. ConnectionThe TASKING Pin Mapper allows you to define connections between modules, where a module is eithera port pin or a peripheral.You can connec
15、t port pin modules to peripheral modules by selecting the pins Direction and its Chipinput function or its Chip output function.The peripheral module side of a connection is referred to as avirtual pin. Some peripheral modules can also be connected to other peripheral modules. Such a connection1is m
16、ade between two virtual pins.Virtual pins are internal to the chip and are not visible in the Packageview. However, virtual pin conflicts are reported in the Pin Conflicts view, for example when you try toconnect a GTM virtual output pin to a physical port pin and at the same time to a virtual input
17、 pin of anADC peripheral module.If you have defined a connection (either valid or invalid) the follow the connection button () becomesavailable and you can navigate from one side of the connection to the other side.This applies to virtualpins as well as physical pins.Virtual pins usually do not have
18、 a configurable direction.They are eitherInput or Output (and some virtual pins are bidirectional).See Section 2.3, Configuring the Pins for a step-by-step example.1.4. PackageWhen you create a new pin mapper document, as explained in Section 2.1, Adding a Pin Mapper Documentto an Existing Project,
19、you first select a processor (family), for example TC27XC, and a package, forexample BGA292.This selection defines the package pin numbers and the linking of package pins toport pins. It is possible that a port pin is linked to a single package pin multiple times by means of portpin aliases, for exa
20、mple AN39 and P40_9.For QFP (Quad Flat Package) type packages the pin number consists of the package identifier and asequential pin number. For BGA (Ball Grid Array) type packages the pin number consists of the packageidentifier and a matrix cell number.2Using the TASKING Pin Mapper for AURIXChapter
21、 2. Getting Started with the TASKINGPin MapperThe TASKING Pin Mapper is the graphical interface to configure the pins and modules in a package.2.1. Adding a Pin Mapper Document to an Existing ProjectTo configure the pins and modules of a package you need to create a project and add a Pin Mapperdocum
22、ent.1.If you have no existing C project, follow the steps to create a new C project, as explained in theGetting Started with the TASKING VX-toolset for TriCore.In the following steps we assume you have an existing TriCore TC27xC C project named myproject.2.From the File menu, select New TASKING Pin
23、Mapper Document.The New TASKING Pin Mapper Document wizard appears.3.Select the Project folder for the Pin Mapper document: type the name of your project (myproject)or click the Browse button to select a project.4.In the File name field, enter a name for the Pin Mapper document, for example myprojec
24、t.pincfgand click Next.The Device and Package page appears.35.Select the processor, for example TC27xC, and package, for example BGA292, for which you wantto make a pin configuration and click Finish.A pin configuration file with extension .pincfg is added to the existing project. Because the TASKIN
25、GC/C+ perspective is still active, Eclipse asks to open the TASKING Pin Mapper perspective.6.Optionally, enable the option Remember my decision and click Yes.The TASKING Pin Mapper perspective is opened.2.2.TASKING Pin Mapper PerspectiveThe TASKING Pin Mapper perspective contains several views. Each
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 汽车编程-Using the TASKING Pin Mapper for AURIX 汽车 编程 Using