Other Parts Discussed in Thread: SYSCONFIG
问:您能否提供一个示例,以说明如何使用 dev.ti.com 中的 SysConfig/Pinmux 工具为外设添加 Pinmux?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
答:让我们尝试使用一个示例来了解为外设添加 PinMux 的过程。
在电路板库中修改 PinMux
1.访问 https://dev.ti.com/ 并启动 PinMux 工具。
2.加载 mcu_adc.syscfg,这提供了有关如何对 MCU 域的 ADC 进行引脚多路复用的示例。
3.要获得全景信息,请在工具中加载 SDK.syscfg。
重要说明:如果特定信号的 SoC 焊盘有多个选项,请检查您的硬件原理图,以了解实际的引脚输出。
如何加载 SysConfig 工程
要加载 *.syscfg 文件,请从 dev.ti.com 打开 pinmux 工具,然后依次点击“File”->“Open”->“Upload”(这是一个小型云符号)-> 浏览您的 PC 并选择 *.syscfg 文件。
/cfs-file/__key/communityserver-discussions-components-files/791/pinmux_5F00_tool_5F00_projects.zip
重建电路板库
进行更新之后,运行以下命令:
cd pdk/packages/ti/build
/* Clean the board library, this cleans the ti.board.aer5f at pdk/packages/ti/board/lib/j721e/r5f/release/ti.board.aer5f */
make board_clean -sj
/* rebuild the board library, this will rebuild the ti.board.aer5f, you can verify by checking the time stamp of this */
make board -sj
如果您在使用 SDK,则不需要任何其他资源。但是,如果您在 SDK 外部使用该库,而在此处则需要明确链接该库,则应链接新的 ti.board.aer5f。
有关 Linux 器件树中的 PinMux,请参阅 https://e2e.ti.com/support/processors/f/791/t/927526