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.

CC2541: Gpio pin high at power up

Part Number: CC2541

Hi all,

i'm developing using simple ble peripheral project on CC2541.

I have noted that all gpio pins, at power up of my device are high (so i have a buzzer beep and this is not the case).

How can i disable those pins while powering up? I wrote these instructions at  the beginning of simpleBLEperipheral_Init function but they doesnt work

P1SEL = 0 // Configure port 1 as GPIO

P1DIR = 0XFF // port 1 as output

P1_6 = 0; // i am interested only about P1_6

Anyone can help please?

Regards,

Vito