TI中文支持网
TI专业的中文技术问题搜集分享网站

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

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.

Normal07.8 pt02falsefalsefalseEN-USZH-CNX-NONEMicrosoftInternetExplorer4


       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 .

VV:

Guohua,

Your setting seems ok.

Please verify the MT function on SmartRF06EB+CC2538EM platform.

 

赞(0)
未经允许不得转载:TI中文支持网 » how to enable the "MT“ function via UART in "Gateway project" (CC2538+CC3000)
分享到: 更多 (0)