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.

HA1.2 上电或复位,串口自动打印一串无效数据

Other Parts Discussed in Thread: CC2530, Z-STACK

协议栈:HA1.2.2A

芯片:CC2530

预编译:

ZTOOL_P2
MT_TASK
MT_SYS_FUNC
MT_ZDO_FUNC
xLCD_SUPPORTED=DEBUG
NV_RESTORE
HAL_UART=TRUE
ISR_KEYINTERRUPT
RXF2401_PA

注释掉部分:

#ifdef MT_UART_DEFAULT_PORT
//HalUARTWrite ( MT_UART_DEFAULT_PORT, msg_ptr, len );
#endif

#ifdef MT_UART_DEFAULT_PORT
// HalUARTWrite(MT_UART_DEFAULT_PORT, msgPtr, dataLen + SPI_0DATA_MSG_LEN);
#endif

描述:上电或复位后并没有进行任何 HalUARTWrite()操作。可是每次都会自动打印出一串无效的数据

无效数据: HEX显示:   89 81 10 10 10 10 10 10 00       字符串显示: