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.

CC2530如何同时使用两个串口

基于3.0.2 light协议栈例程,目前ZTOOL_P1(P0.2和P0.3)是可以使用的,

如果想同时使用ZTOOL_P1和ZTOOL_P2(P0.4和P0.4),需要再做哪些配置?

条件编译里要加上ZTOOL_P2吧?如下,其他还有什么地方要配置的吗?IO口分配和中断还是DMA?

ZTOOL_P1
ZTOOL_P2
MT_TASK
xMT_APP_FUNC
xMT_SYS_FUNC
xMT_ZDO_FUNC
xMT_ZDO_MGMT
xMT_APP_CNF_FUNC