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 enable/disable a pin in ez430-RF2500

Other Parts Discussed in Thread: MSP430F2274

Hi.

I'm a novice with ez430-RF2500 and I did some experiments about sensor temperatura.

In this kit, there are some development pins (18) and I would like to access this pins.

For example:I would like to connect a fan in this kit. There are two wires in this fan. One wire is connected in GNC and another wire is connected in PIN 4, for example. is there possible to enable/disable the energy of PPN number 4? If yes, how would I do this? What is the configuration to enable this pin, for example?

Thanks for help.

Orlewilson Maia.

 

 

  • Orlewilson Maia said:

    There are two wires in this fan. One wire is connected in GNC and another wire is connected in PIN 4, for example. is there possible to enable/disable the energy of PPN number 4?

    What pin of the MSP430F2274 are you referencing?  Or is your "PPN number 4" denoting one of the test point designators on the schematic depicted in the eZ430-RF2500 Development Tool User's Guide (SLAU227)?
    If you are using one of the General Purpose I/Os which are routed to the 18 test points P1-P18, then yes, it is possible to enable that Port/Pin combination and control it from your application software.

     

    Orlewilson Maia said:

    If yes, how would I do this? What is the configuration to enable this pin, for example?

    I would suggest reviewing the MSP430F2274 datasheet available on the Product Folder, as well as the MSP430x2xx Family User's Guide (SLAU144).  This will provide information on how to configure the various pins to enable General Purpose I/O access.

    Is your fan input expecting just an ON/OFF signal, or should this be a Pulse Width Modulated signal?  If PWM, then I would suggest you target one of the pins of the MSP430F2274 that an the output of the Timer.  This can then be used as a PWM signal to the fan.  There is an Application Note that describes how to use the TimerA as a PWM output.