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.

Interrupts for CC2530ZNP Mini Development Kit's UART interface



Hello,

I am trying to have the coordinator forwarding PC's commands for the end devices, so I would like to know if it is possible to have an interrupt triggered when data arrive by the UART interface with the PC, in a similar manner that it is possible to have an interrupt when a ZigBee message arrive. If it is possible, do you have a pointer on how it is done.

Regards,
ARJANEN Loïc

  • I found how to do it...In IAR, create an interrupt, indicating its interrupt vector with #pragma vector=USCIAB0RX_VECTOR. Like the "Debug console interrupt service routine" is declared in the CC2530ZNP Mini Kit's code examples, in hal_cc2530znp_target_board.c