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);