Part Number:CC2650STKOther Parts Discussed in Thread:CC2650
能写一份有关cc2650launpad uart接受和发送的程序吗?我在uart例程上改了好久,说是IDO-3,ID0-2系统默认打不开
Kevin Qiu1:
例程中已经有了UART_read和UART_write的示例
串口引脚的定义在CC2650_LAUNCHXL.h中:
/* UART Board */#define Board_UART_RX IOID_2 /* RXD */#define Board_UART_TX IOID_3 /* TXD */#define Board_UART_CTS IOID_19 /* CTS */#define Board_UART_RTS IOID_18 /* RTS */
,
?? ?:
调了挺久的呢,能不能帮忙给一份打开串口IDO3,2的例程,rx接受不到数据,usb转ttl串口助手也搜不到数据,能给一份打开串口接受数据,串口调试助手接收数据的例程嘛,非常感谢呢。
,
Kevin Qiu1:
对于特定的应用,需要自己修改代码,参考下面的说明文档:
https://dev.ti.com/tirex/content/simplelink_cc2640r2_sdk_5_30_00_03/docs/tidrivers/doxygen/html/_u_a_r_t_8h.html