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.

Help on MSP430G2233

Other Parts Discussed in Thread: MSP430G2233

Hi,

I have msp430G2233, I have a task just not sure where to start.  I have a result of (0 to 100) and I wan to send to port 1.3(ADC10CLK, VRef, VEref).  So the port 1.3 will receive the sum of pulse resulting 0 to 100.  Any answer is much appreciated

  • Yoke Wee Lau said:
    ... I have a task just not sure where to start...

    To count all the pulses, you need to start counting before the first pulse arrives, and you need to stop counting after the last pulse arrives. This is not easy unless you have some idea about what period of time the pulses are arriving.   

  • OCY, can you translate? Sorry Yoke, but I do not understand what you are planning to do.

    You want to count pulses? But how is that related to ADC10CLK, Vref and Veref? Or do you just mean the pin P1.3 and the datasheet says that this pin has those functions, as well? When counting pulses you should use a pin that can be routed to a timer module. But P1.3 is cannot.
    Please tell a little bit more about your project.

    Dennis

  • Hi Dennis,

    Sorry for some misunderstanding here.

    I might need change the pin in order to use UART.

    Basically the project is about the measuring frequency and got the result from 0 to 100.  When device pressed read value, sensor will wake up to read current value and send to the device. 

    My problem now, how to send the value to the device.  8 bits UART?

    Thank you

  • Due to language barriers that also seems to change the order of the words in sentences it's hard to understand what you want.
    Is there a product out there that is very similar to what you want, that you can link to it?
  • " I have a task just not sure where to start."
    Break the problem down into smaller steps. Like this:

    I have an input signal.
    I measure its freuquency/voltage/pulse distance
    I turn this result into a value of 0..10 for lower to higher end of the supported signal range
    I have an actor that takes this result.
    The actor wants the result as voltage/current/PWM duty cycle/serial (UART) data

    Don't try to describe the whole project, its parameters and your problem into a single sentence.

**Attention** This is a public forum