Other Parts Discussed in Thread: CC1310
从手册上可知CC1310有一个UART,在CCS平台上可以通过<ti/drivers/UART.h>进行应用。
而在SCS - Sensor Controller Studio又可以通过UART emulator模拟UART。
如果我们在CCS上调用一个UART、而又在SCS上模拟一个UART,是不是可以让CC1310有2个UART呢?
望高手帮忙回答一下!谢谢!
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.
从手册上可知CC1310有一个UART,在CCS平台上可以通过<ti/drivers/UART.h>进行应用。
而在SCS - Sensor Controller Studio又可以通过UART emulator模拟UART。
如果我们在CCS上调用一个UART、而又在SCS上模拟一个UART,是不是可以让CC1310有2个UART呢?
望高手帮忙回答一下!谢谢!
您好,
您是对的。
硬件上是只有一个UART,但是可以用SCS再模拟出一个。
需要注意的是:这些模拟的接口可能无法完全复制物理 UART 接口的所有功能;实际使用时,需要确保这些虚拟的 UART 通信接口不会相互干扰或引起冲突。
请参阅技术参考手册,里面提供了设备串口的相关用法: https://www.ti.com/lit/swcu117