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.

Ble hal gpio programming

Other Parts Discussed in Thread: CC2540

I've got my ble program working on cc2540 and it can now talk to android mobile phone.  But now  I try to control p2_0 on the smartrf module by setting

1. P2 to GPIO mode

2. P2 to output mode

3. P2_0 =0x1

But p2 output remains low

Why?