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: CC2530 Z-Stack Mesh UART communication

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK,

Hi,

I am trying to configure the CC2530 Z-stack with UART 1 on P1_6 & P1_7. 

I am using the Z-Stack 1.0 genericAPP application.I am not getting any output at P_6. and how to get the RX data ? do I need to add an event or any other method ? 

Below is my UART 1 configuration code.

char theMessageData[] = "Hello ";

halUARTCfg_t uartConfig;
uartConfig.configured = TRUE;
uartConfig.baudRate = HAL_UART_BR_115200; //HAL_UART_BR_1M;
uartConfig.flowControl = FALSE;
uartConfig.flowControlThreshold = 48;
uartConfig.rx.maxBufSize = 128; //max if DMA gets enabled, don't think it is, but just in case
uartConfig.tx.maxBufSize = 128;
uartConfig.idleTimeout = 6;
uartConfig.intEnable = TRUE;
uartConfig.callBackFunc = UartProcessData;

PERCFG &=~0x02;

HalUARTOpen (HAL_UART_PORT_1, &uartConfig);


HalUARTWrite (HAL_UART_PORT_1, theMessageData, 5);