Z-Stack firmware for CC2530 can have UART configured to two different sets of pins:
3731.Z-Stack ZNP Interface Specification.pdf
Main configuration:
- TX:
P1.6 (pin 38)
- RX:
P1.7 (pin 37)
Alternative configuration:
- TX:
P0.3 (pin 16)
- RX:
P0.2 (pin 17)
The ZNP Kit uses the "alternative" configuration. This is also used by the firmware provided by the https://github.com/Koenkk/Z-Stack-firmware which defines the ZTOOL_P1 macro to use HAL_UART_PORT_0.

Z-Stack Configuration
Macros ZTOOL_P1 and ZTOOL_P2 are used to enable either HAL_UART_PORT_0 or HAL_UART_PORT_1 per this research.
Z-Stack firmware for CC2530 can have UART configured to two different sets of pins:
3731.Z-Stack ZNP Interface Specification.pdf
Main configuration:
P1.6(pin 38)P1.7(pin 37)Alternative configuration:
P0.3(pin 16)P0.2(pin 17)The ZNP Kit uses the "alternative" configuration. This is also used by the firmware provided by the https://github.com/Koenkk/Z-Stack-firmware which defines the
ZTOOL_P1macro to useHAL_UART_PORT_0.Z-Stack Configuration
Macros
ZTOOL_P1andZTOOL_P2are used to enable eitherHAL_UART_PORT_0orHAL_UART_PORT_1per this research.