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.

[参考译文] TMS320F280025C:将 printf 函数定向到配置为 SCI 的 LIN

Guru**** 2434370 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1034935/tms320f280025c-directing-printf-function-to-lin-configured-as-sci

器件型号:TMS320F280025C

在我的项目中、我保留了 LINB 接口作为调试端口。  SCI 接口被保留用于与其它器件的通信。 因为我们使用的是串行终端、所以我们已经为 SCI 操作配置了 LINB 接口。 我想知道是否可以将 printf 函数定向到此 LINB 接口? 如果是、请提供一些指南。  如果我们无法将 printf 指向 LINB、则很难发送调试日志。