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.

how to enable the "MT“ function via UART in "Gateway project" (CC2538+CC3000)

Other Parts Discussed in Thread: CC2538

i'm study the "gateway" solution , now the demo could works .

but in order to learn more about this solution , we want to open the MT function .

my steps as bellow : [ zstack 1.1.0, z-tools2.0, usb to serial cable]

1> add preprocessor symbles in the"gateway"  project options.

       ewarm
SECURE=1
HAL_UART=TRUE
ZTOOL_P1
MT_TASK
MT_SYS_FUNC
MT_ZDO_FUNC
MT_UART
MT_UTIL_FUNC
MT_AF_FUNC
MT_NWK_FUNC
LCD_SUPPORTED=DEBUG
CC2538_USE_ALTERNATE_INTERRUPT_MAP=1
HAL_LCD=FALSE
SELECT_TEST

2> disable the flowcontrol in the file MT_UART.c

        #if 0

         #ifdef ZNP_UART_TEST
         uartConfig.flowControl          = FALSE;
         #else
         uartConfig.flowControl          = TRUE;
         #endif
#else
         uartConfig.flowControl          = FALSE;
#endif
3> compile and download the binary into CC2538

4> open the Ztool2.0 with " datebits:8 rate:38400 parity:none handshake:none stopbits:1 " , but it can't find the devices at all.

so could anyone help to check if there were something wrong ? and what's the right settings for "gateway" to enable|open MT function

thank you .

x 出现错误。请重试或与管理员联系。