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.

CC2530 - Configuring Port0 as II/O

Other Parts Discussed in Thread: CC2530

Hey guys,

I'm trying to configure PORT0 as output general purpose pin. My main goal is to write a logic one to a pin and test with a scope that it actually changes.

I'm using the following code at the moment:

    //config General-Purpose I/O
    P0SEL = 0;       //Port 0 function-select register
    P0DIR = 0;       //Port 0 direction register

could you please let me what i'm doing wrong.

Thanks,

Reza