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.

PGA460: Source Code for PGA460Q1 EVM

Part Number: PGA460
Other Parts Discussed in Thread: ENERGIA, , , MSP-EXP430F5529LP, UNIFLASH, USB2ANY, MSP430F5529, MSP-FET,

Hi

I am using PGA460Q1 EVM as a reference for one of the applications. MSP430F5529LP board requires for evaluate PGA460EVM using GUI and the firmware .bat file is provided when we install the GUI but I could not find the source code for the same. I need the source code as I have to add driver for RS485 communication protocol and some extra functionality and use the final code with another micro-controller in the final application. Where can I get it ?

Thanks

With Regards

  • Hi Dipanshu,

    The GUI source code is not available to the public. Instead, the PGA460 Energia Library and Code Examples ( www.ti.com/.../slac741 ) and PGA460-Q1 Software Development Guide ( www.ti.com/.../slaa730 ) should be used as an example for master controller implementation and programming guidelines. The example runs on the Energia IDE when using any of the TI LaunchPad development kits, including the MSP-EXP430F5529LP base of the PGA460-Q1 EVM. Therefore, the PGA460-Q1 EVM can be used to run the GUI or Energia sketches. Modify the Energia sketch to meet the system requirements of the end solution.
  • Hi Akeem

    "The GUI source code is not available to the public", by this you mean that the source code of the firmware .bat file used to flash program the MSP-EXP430F5529LP is not available?? We do not want the source code for the GUI but the one for flash programming the MSP as we need to get the same results and accuracy which we got while using the EVM with the GUI. We need to add certain piece of code to the existing source code in order to make it communicate with master controller without the need of GUI. We are actually paying customers and have been using TI's products in our designs for a long time. We are using the TI's PGA460 IC in our design and it will be of great help if we can get that source code.

    Thanks

    With regards

  • Hi Akeem

    We do not want the source code for the GUI but the one for flash programming the MSP (firmware .bat file) as we need to get the same results and accuracy which we got while using the EVM with the GUI. We need to add certain piece of code to the existing source code in order to make it communicate with master controller without the need of GUI. The end application in which we are using the PGA460 chip is an ultrasonic sensor which will be used as an object avoidance, anti-collision detection equipment. This product will communicate with a master controller on the main vehicle over RS485 protocol. Basically it will simply send the measured distance over RS485 whenever the master controller needs to know the distance data. No GUI will be used in this application. That is why we need the source code of the .bat file used to flash program the MSP-EXP430F5529LP. It will be of great help if we can get that source code.

    Thanks

    With regards

  • Hi Dipanshu,

    The EVM-GUI firmware is batch flashed programmed onto the MSP-EXP430F5529LP based on TI's UNIFLASH tool. The online version of the tool can be found at:
    dev.ti.com/.../

    When using the online tool, you can specify your targeted MCU (i.e. MSP430F5529). When configuring the UNIFLASH package, you will need to import a .OUT file into the setup. This .OUT file is generated by your Code Composer Studio project after a successful build. It is this CCS project for which we are not able to share the source code for with regard to the PGA460-Q1 EVM given it contains proprietary TI USB2ANY code. However, if you have created your own MSP430 code in CCS, then you can load your .OUT file instead.

    Once you've finalized your configuration, you will be able to export a Windows, OSX, or Linux based batch firmware programmer. You should find these instructions in the "Standalone Command Line" section of the Uniflash page:
    Instructions (Windows Package):
    Click 'Generate Package' button to generate uniflash_windows_64.zip
    Save and Extract the package on your local machine.
    Run one_time_setup.bat to install the necessary files on your machine to use your device [Show More]
    Run dslite.bat to configure and connect to your device. [Show More]

    If you have any additional questions on Uniflash, please create a separate post.
  • Hi Akeem,

    I'm a novice for develop the PGA460 for distance sensing, so i need more detail information about the PGA460 chip itself, for example i need to get the detail PGA460 chip user manual, usually we need to know the detailed registor definitions. could you tell me where it is?

    Thanks and best regards,
    Benny Xie
  • Hi Benny,
    Please refer to the "PGA460-Q1 Automotive Ultrasonic Signal Processor and Transducer Driver datasheet" ( www.ti.com/.../pga460-q1 ) section "7.6 Register Maps" for the detailed register definitions. To better understand the registers settings in an application demo, refer to the "Ultrasonic Sensing with the PGA460-Q1 video training" series at training.ti.com/ultrasonic-sensing-pga460-q1 .
  • Hi Akeem

    Thank you for the clarification about the uniflash. I will try using energia sketches with my custom code for the microcontroller. I have one more question, say my custom design includes the entire circuitry for the BOOSTXLPGA460Q1 EVM and the circuitry for MSP430F5529LP microcontroller on a single board with a USB connector, would I still be able to use GUI with this design? So out of the MSP-EXP430F5529LP EVM I have the circuitry for microcontroller in my design plus the BOOSTXL EVM circuitry. I did not implement the USB hub and EZ-FET circuitry. Would I still be able to flash program my board via GUI and use to test it for functionality? If not then what would be the method of programming? I have pinouts for JTAG and BSL on the board.

    Thanks

    With regards

  • Dipanshu,

    You will need to use the JTAG or BSL to program the MSP430F5529. I have used the MSP-FET430UIF or MSP-FET for JTAG programming and debugging through Code Composer Studio. Because the MSP430F5529 has a built-in USB PHY, there is also support for BSL programming.

    The PGA460 GUI operates through the integrated MSP430F5529's USB-PHY directly, so no additional USB circuitry is necessary once the device is programmed with the PGA460 GUI specific firmware. As long as you find a way to flash program the "U2A_PGA46x.out" from the PGA460 GUI install files at: "\Documents\BOOSTXL-PGA460\user_files\images", your custom hardware should be compatible with the GUI.