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.

How to output cc2540 32k crystal signal to an pin for measurement?

Other Parts Discussed in Thread: CC2540, CC2640, Z-STACK

I want test the 32k crystal accuracy about my cc2540 board.
I found cc2640 can use following code to output 32k clock to an PIN for measure. Can some one tell me how to output cc2540 32k crystal to an PIN?
-----------------------------------------------------------------
HWREG(0x40094010) = 0; // Enable clock output to AON_32k
HWREG(0x40081000 + 4*IOID_27) |= 7; // Connect IOID27 (LED2 on 7x7) to AON_CLK32K (works for any IOID)

Thanks.