工具/软件:TI-RTOS
我想根据 我们的定制板来更改 UART 3终端的引脚分配、但我应该编辑哪种 Vision SDK 源代码?
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.
工具/软件:TI-RTOS
我想根据 我们的定制板来更改 UART 3终端的引脚分配、但我应该编辑哪种 Vision SDK 源代码?
您好!
我的差。 未看到您正在使用 TDA3xx。 您应该更改 bsp_boardTda3xx.c
在 VSDK 中、引脚多路复用是作为默认系统初始化(system_init)的一部分完成的
-System_BspInit
--bsp_platformInit
--bsp_platformTda3xxInit
--bsp_platformTda3xxSetPinMux
和 bord 多路复用器作为 UART 初始化的一部分完成、位于 links_fW/src/rtos/utils_common/src/utils_uart.c 中、使用 bsp_boardSelectDevice (bsp_DRV_ID_UART、bsp_device_UART_INST_ID_1);
现在、对于您的电路板、您可以使用 bsp_device_UART_INST_ID_3更改 bsp_boardSetPinMux 并调用 bsp_boardSetPinMux、或者直接更改 bsp_platformTda3xxSetPinMux。
希望这对您有所帮助。