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.

MSP-TS430PW24: MSP430AFE253 code examples

Part Number: MSP-TS430PW24
Other Parts Discussed in Thread: MSP430AFE253, , ENERGIA

Hi, 

I am new to CCS and MSP Modules. I need example codes for msp430afe253 or msp-ts430pw24. 

Please help with this.

i have free rial version Of CODE COMPOSER STUDIO. hence i dont have access to source codes.

  • Hi Raghu,

    You can find code examples for the MSP430AFE253 here:
    www.ti.com/.../toolssoftware

    Under the section titled software, you'll find a link to the code examples for this device.

    Also, Code Composer Studio is now free to use and all examples are available to the public via the TI Resource Explorer:
    processors.wiki.ti.com/.../Download_CCS
    dev.ti.com/.../

    Best regards,
    Caleb Overbay
  • thank you sir... :)
  • Hello sir,
    CAN i have two pairs of differential inputs for ADC in #MSP432P401R.
    I need to measure input smaller quantities of voltage and current.

    Please answer this one. I am thinking to choose MSP432P401R over MSP430AFE253 for this application.
  • Hello sir,
    CAN i have two pairs of differential inputs for ADC in #MSP432P401R.
    I need to measure input smaller quantities of voltage and current.

    Please answer this one. I am thinking to choose MSP432P401R over MSP430AFE253 for this application.
  • Hi Raghu,

    You can find MSP432 examples in TI Resource Explorer as well as the MSP432 SimpleLink SDK:
    www.ti.com/.../SIMPLELINK-MSP432-SDK
    dev.ti.com/.../

    Can you provide more information on your application so I can help you choose the best device?

    Best regards,
    Caleb Overbay
  • Hello Caleb sir,,

    My requirement is:
    1)Measure the input Voltage and Current on ADC channels.
    2)For a fixed amount of time, my device should provide Constant Voltage and Cuttent.

    inshort:-
    to control the output current and voltage . voltage should rise from minimum to 5 Volts and Output Current should be constant.


    Please give me advice whether MSP432P401R is suitable for this application?
    This is my first project in MSP modules.

    Your help will be greatly appreciated.

    Application is (Digitally) Current and Voltage control meter. User should input the desired Output voltage and Current in this meter.

  • Hi Raghu,

    I'm still having some trouble understanding what you're trying to accomplish, but here are the my comments on the ADC:

    1. How fast do you need to sample with the ADC?
      1. Also, how many bits of accuracy do you need?
      2. How many ADC channels do you need?

    Most MSP430's with an ADC can measure differential inputs. I think an MSP432 may be a little too much for this application but the answers to the above questions will tell. 

    raghu rajput said:
    to control the output current and voltage . voltage should rise from minimum to 5 Volts and Output Current should be constant.

    Are you trying to make the device output and analog voltage? In this case you would need a device with a DAC. However, the MSP430 has a max VCC of ~3.6V so the 5V target isn't achievable. Also, I would not recommend sourcing anything from and MSP430 GPIO pin. I would recommend creating some kind of external circuitry that is controlled by the MSP430 instead. 

    Best regards, 
    Caleb Overbay

  • yes sir i will use amplifying circuitry to achieve 5V.

    I want to accomplish CC / CV DIGITAL METER. Where output voltage / Output Current should be Constant as per user's inputs.
    I will try to make it more clear..
    pls read this sir..

    User enters throught Keypad the values which he needs as output of my CC/CV METER DEVICE which shows those values on LCD.

    Say he enters as outputs are::-- V = 5volts. & I = 1mA. and the time duration T=5minutes for which he needs that as output. (AH he decides)
    My device is getting inputs of few volts as analog. .


    This device alraeady exists using MSP430AFE253.
    I want to accomplish this using MSP432P401R.

    I will come back to you with exact details soon sir...

  • Hi Raghu,

    Thank you for the additional information. My question was more directed at what does the MCU need to do in your application rather than a higher level view of the application.

    From what you've provided it looks like the MSP430 needs to take inputs from buttons, control an LCD, control external circuitry to generate 5V and constant current, and take ADC readings. Is that correct? Also can you provide answers to the ADC questions I asked in my previous post.

    Finally, what is the need to update this device to a new MSP430 and why are you focusing on the MSP432?

    Best regards,
    Caleb Overbay
  • Hi Caleb sir,

    you are Right, thats all my requirement is. I need two ADC channels as i want to measure Voltage and Current.

    And i have just seen a device working like this which is based on MSP430AFE253 MCU. And we are trying to make similar device sir.

    We are freshers and startup ,so i find programming MSP432 launch pad easy compared to AFE253.

    I was thinking whether i can develop product using energia IDE , if not i will use CCS.

    Trying to make it as easy as possible.

    So i wanted to make sure that am i doing correct or not ?

    U suggest me sir, what would be correct bit accuracy to measure Current and Voltage .

    i will again come back to you with further details.

    Thank you for ur answers. Will seek again.

**Attention** This is a public forum