I have cc2530 + cc2591 .
I compiled Project named CC2530-TestHex placed in C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\ZNP by enabling macro HAL_PA_LNA to support
I have connected CC2530 UART_0 to PC via level translator. The pins which are connected are TX,RX and GND.
After reset of CC2530 , I am expecting SYS_RESET_IND message from CC2530 to PC. But I am getting junk value. SOP = 0xFE itself is not available.
The serial port setting which i used are,
Baudrate - 38400
Databits - 8
Parity - none
Stop bits - 1
Flow control - none (since only TX and RX is connected to PC)
My question is there any changes in zstack code needed,
1.To support UART_0 of CC2530?
2. To disable flow control of UART?
3.How to test Z-stack on CC2530 communicating to PC via UART properly?
Thanks in advance....
Maybe your UART settings are not correct.
The following UART configuration is supported:• Baud rate: 115200• Hardware (RTS/CTS) flow control.• 8-N-1 byte format.
(from CC2530ZNP Interface Specification.pdf)
Thanks Cheng Meng ...
Ya , You are right about UART setting.. I set baud rate as 115200.. I set No flow control... I modified Z_stack code for making no flow control...
The modified code,
In znp_app.c , npInit() function changed uartConfig.flowcontrol = TRUE to uartConfig.flowcontrol = FALSE..
Now I am communicating to CC2530 Z-stack via Z-TOOL using serial port pin only RX and TX..
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.