文库网
ImageVerifierCode 换一换
首页 文库网 > 资源分类 > PDF文档下载
分享到微信 分享到微博 分享到QQ空间

汽车编程-Using the TASKING Pin Mapper for AURIX.pdf

  • 资源ID:6256831       资源大小:672.10KB        全文页数:24页
  • 资源格式: PDF       下载:注册后免费下载
微信登录下载
快捷下载 游客一键下载
账号登录下载
三方登录下载: QQ登录 微博登录
二维码
扫码关注公众号登录
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
验证码:   换一换

加入VIP,免费下载
 
账号:
密码:
验证码:   换一换
  忘记密码?
    
友情提示
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

汽车编程-Using the TASKING Pin Mapper for AURIX.pdf

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

26、 of the views are discussed in thefollowing sections.4Using the TASKING Pin Mapper for AURIX2.2.1.TASKING Pin Mapper Editor ViewThe TASKING Pin Mapper Editor view is the main area where you can make changes to your configuration.Port example5Getting Started with the TASKING Pin MapperPeripheral exam

27、pleThe following toolbar icons are available:DescriptionActionIconSolve conflicts with pin mappings. See Section 2.2.3, Pin Conflicts View.Solve Pin ConflictsGenerate the source code and add it to your project. See Section 2.5,Generating and Using the Source Code.Generate CodeSave the pin mapper con

28、figuration in a file with comma-separated values(CSV). See Section 2.6, Generate CSV File.Generate CSV FileSelect another package for your device. For example, from BGA to QFPor vice versa.SelectDevice/PackageImport pin configurations from a file and merge it with the currentconfiguration.Import Pin

29、ConfigurationLaunch Altium Designer with the pin configurations. See Section 2.7,Launch Altium Designer.Launch AltiumDesigner6Using the TASKING Pin Mapper for AURIXSelect Device/PackageWith the Select Device/Package drop-down menu () you change the package for your device. Forexample:After the packa

30、ge switch you still keep the current configuration settings. If the same pin mapping canbe used on the new device/package, the pin mapper automatically applies the mapping. For mappingparts which cannot be applied, the pin mapper issues a warning message.Import Pin ConfigurationYou can import saved

31、pin configurations and merge it with the current configuration.This can be useful,for example, when you have a set of configurations for ports and peripherals that you want to use inseveral projects.1.Click the Import Pin Configuration button ().The Import Pin Configurations from File dialog appears

32、.2.Type the full path name of the configuration file (.pincfg), or use the Workspace button to selecta configuration from one of your project directories, or use the File System button to select one fromany directory.The imported configuration will be merged with the current configuration.If the cur

33、rent configuration already has settings for a pin or peripheral and the imported configuration hasother settings, pin conflicts errors or warnings may occur.Pin SelectionIn the left pane the port pins, peripherals and other pins are listed. Port pins can be logically grouped indifferent ways. Each o

34、f these groupings defines a tree view. Groups can be logically grouped into higher7Getting Started with the TASKING Pin Mapperlevel groups as long as the overall structure can be represented as a mathematical tree.The leafs of thetree are references to port pins, peripherals or peripheral sub-module

35、s.The tree structure of the grouping allows you to expand and collapse the view.In the type filter text edit field, you can add a port pin selection filter in order to reduce the numberof visible port pins.The filter is case insensitive. For example, type an to only show pins that have anin their na

36、me.Wildcards are allowed.Pin ConfigurationWhen you click on a port or module in the left pane, the configuration appears in the right pane.Thefollowing information can be present: Module name - The name of the selected module or port pin. Alias - An alias for the module name. Description - The descr

37、iption of the selected module or port pin. Pad class - The assignment of a port pin to one of the pad classes. Reset state - The state of the pin after reset. For example, PU (Pull-up) or PD (Pull-down). Power domain - The power domain the pin uses. Symbolic name - You can assign a user-defined symb

38、ol name to the port pin.You can make thesymbol names visible in the Package view. Comment - Any user comments you can add here. Pin function - You can configure some pins as digital or analog. Direction - You can specify if a pin must be configured as an input pin or an output pin. Pad level - Here

39、you can select CMOS/Automotive or TTL. Pad strength - For an output pin you can specify the Speed grade. Mode - The chip input or output mode. For chip input this can be Pull-up, Pull-down or Tri-state. Forchip output this can be Push-pull or Open drain. Other properties allow you to make a pin conn

40、ection. See Section 2.3, Configuring the Pins for moreinformation.When you make a selection a * can appear in front of other selectable pin names.When you select apin name with a *, this results in an error.Lock/UnlockWhen you want to be certain that the port settings cannot be changed anymore, you

41、can click the button to lock the current settings.You can always click the button to unlock the settings again.8Using the TASKING Pin Mapper for AURIXTagsYou can assign a tag name to a connection.When you click the (Edit tags) button, you can edit thetag field to the right of the (Follow connection)

42、 button.You can use it the way you want. For example,to tag connections of the same type.Undo/RedoYou can undo (Ctrl+Z) or redo (Ctrl+Y) one or more actions.Back/ForwardWith the (Back) and (Forward) buttons you can navigate to a previously opened pin configuration.SaveFrom the File menu, select Save

43、 (Ctrl+S) or click to save the configuration.2.2.2. Package ViewThe Package view shows a graphical representation of the package. For example, it shows the individualpins in a Ball Grid Array.A square around a pin marks the selected pin. In the package above P00_0 is selected. A green checkmark indi

44、cates that the pin has a valid connection; P00_0 and P01_6 in the package above. A red cross9Getting Started with the TASKING Pin Mapperindicates an error; P21_3 in the package above. A triangle with exclamation mark indicates a warning;P14_4 in the package above.When you click on a pin, the pin app

45、ears in the editor. If the pin containsan error, you can see what is wrong in the Pin Conflicts view.Zoom in / Zoom outWith and you can zoom in or zoom out on the package view. Use the drop-down menu next to to select a zoom factor directly.Background ColorBy default, the background colors of the pi

46、ns indicate the connection status. But you can change the colorproperties of the view to show static configuration items (Pad class, Power domain or Reset state), ordynamic configuration items (Direction, Pad level, Pad strength, Mode or Pin function). Use the drop-downmenu next to to switch color p

47、roperties. Some examples:10Using the TASKING Pin Mapper for AURIX11Getting Started with the TASKING Pin MapperLabelsWith the drop-down menu next to you can switch between module names and symbol names.Quad Flat PackageIf you have selected a Quad Flat Package, the Package view may look similar to:2.2

48、.3. Pin Conflicts ViewPotentially conflicting pin assignments are reported in the Pin Conflicts view. For example, if multiplevirtual pins are assigned to the same port pin then there is a potential conflict. Also, if the same virtualpin is assigned to multiple port pins then there is a potential co

49、nflict.When you double-click on a conflict the corresponding pin configuration will be visible in the Editor view.See Section 2.4, Solving Pin Conflicts for information how to solve pin conflicts.See Section 2.9, Errors and Warnings for a list of errors and warnings.12Using the TASKING Pin Mapper fo

50、r AURIX2.3. Configuring the PinsBasically you can connect pins in two different ways.The first way is to select a port pin and then assigna peripheral virtual pin (function) to it.The second way is to select a peripheral virtual pin (function) andthen assign a port pin to it.You can choose between i


注意事项

本文(汽车编程-Using the TASKING Pin Mapper for AURIX.pdf)为本站会员(软件交流联系1171677800)主动上传,文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知文库网(点击联系客服),我们立即给予删除!




关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

文库网用户QQ群:731843829  微博官方号:文库网官方   知乎号:文库网

Copyright© 2025 文库网 wenkunet.com 网站版权所有世界地图

经营许可证编号:粤ICP备2021046453号   营业执照商标

1.png 2.png 3.png 4.png 5.png 6.png 7.png 8.png 9.png 10.png