Other Parts Discussed in Thread: Z-STACK
I am trying to get the ZNP firmware working on the CC2530. I want to use ZigBee by sending commands to the CC2530 over the serial port. The problem is that the CC2530 does not respond to serial communication.
This is what I tried:
- I download and install Z-Stack 3.0.0 (www.ti.com/.../Z-STACK).
- I flash the chip with Projects/zstack/ZNP/CC253x/bin/CC2530ZNP-SB.hex.
- I set RESET_N to low, then to high.
- I wait 60 seconds for the bootloader to expire.
- I send fe0141000141 (SYS_RESET_REQ).
- I expect a response within a few seconds, but don't receive one.
I connected the CC2530 according to the "Alternate pin configuration" as described in Documents/API/Z-Stack ZNP Interface Specification.pdf.
CC2530 | UART | ||
P0_2 | RX | <--> | TX |
P0_3 | TX | <--> | RX |
P0_4 | CT | <--> | RTS |
P0_5 | RT | <--> | CTS |
I use a baud rate of 115200. I did not connect CFG0 or CFG1.
Why doesn't the CC2530 respond on the serial port? How can I solve this?
Is CC2530ZNP-SB.hex the correct firmware to use? Does it indeed contain the bootloader that runs the main code after a minute? The documentation describes several pin configurations, which one should I use? Do I need to do anything with CFG0 or CFG1? Does the firmware by default use UART or SPI communication?