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.

PGA900/CCS

Part Number: PGA900
Other Parts Discussed in Thread: , USB2ANY

Hello,

I have some questions about the PGA900 and Code Composer Studio.

For information, my configuration is: PGA900EVM board/ USB2ANY / PGA900 EVM 3.3.0.0 / CCS 8.0.0.00016

Q1: We have downloaded the example firmware on the TI website. Is .hex file usable on PGA900 directly after compiling or do we need to change the C code before?

Q2: After loading the hex file, activing REMAP bit and switching to MICROCONTROLER mode, we do not have any output signal. EEPROM is also empty. Is there anything to check or to change on the main code?

Q3: How can we know if the program runs well in the PGA900, in MICROCONTROLER mode ?

Q4: What are the data expected in the 128 bit EEPROM? coeff "ho" in page 1, coeff "go" in page 2, coeff "no" in page 3, etc. ? Lower or higher bytes first?

Q5: Would it be possible to send us a screenshot showing the EEPROM expected with default coefficients values: h0@004F, go@2C48, no@FFCB, h1@0007, etc. We have seen that we need to multiply the values by 2^14 before EEPROM storage.

Q6: Finally I have some warnings after building the project. Please advise if some are critical:

  • "#179-D variable "i" was declared but never referenced"
  • "warning: section PGA900;out(text) was padded by 2 to a size of 2276 to satisfy" 
  • "This project was created using version of compiler that is not currently installed - 5.1.1(ARM) [...]

Many thanks for your feedback

Regards

Corentin

  • Hi Corentin,

    Yes, you should be able to use the hex file immediately. It may not have all the functionality you need, but it will at least connect the ADC input to the DAC output so that you can see the analog outputs working.

    I will look into why this may not be working properly for you, and address your other questions by the end of the week.

    Regards,
  • Hello Scott,

    Well, thank you for answering, i'm waiting for you and for your questions to give you more details to understand why it's not working for me.

    Regards,

    Corentin

  • Hello Scott,

    You told me that you will address me questions by the end of the week about the PGA900, but i still haven't news about you.

    So i call you back to know if you looked into why this may not be working for me.

    Regards,

    Corentin

  • Hi Corentin,

    My apologies for the delay. Looking into the error codes you have shown, my first thought is that your issues are stemming from not having the correct compiler version when you build the project.

    The version that was used to create the reference firmware is 5.2.6. To install this you will have to go to the Help menu on CCS, choose "Install new software" and search all available sites for the ARM compiler tools as shown below:

    Make sure to deselect "Show only the latest versions of available software".

    Once you have installed the compiler you can follow the steps outlined in the Software quickstart guide to build the project: 

    You will need to set the EEPROM settings. The EEPROM is not configured in the reference firmware.

    Additionally, the remap button should be enabled BEFORE loading the DEVRAM.

    Please start with these suggestions and let me know if you have additional questions.


    Regards,

  • Hi Scott,

    As you said, i installed the good firmware (2.5.6), i did the same as it's said in the quick start guide and 1 warning about the version has disappeared than you.

    But when you said "set the EEPROM settings" i don't understand well, am i supposed to set the EEPROM settings on Code Composer Studio or on PGA900 GUI ?

    PS: I have nothing at all at the VOUT... Maybe it's because of the EEPROM settings as you mentionned.

    Regards,

    Corentin
  • Hi Corentin,

    You will need to set the EEPROM settings using the PGA900GUI. This must be written using one of the digital interfaces (SPI, I2C, OWI), so it can be done using any method you wish, but you will need some external microcontroller (like the MSP430 on the PGA900EVM) to send the commands to write the EEPROM.

    Regards,
  • Hi Scott,

    So it's with PGA900GUI that we have to set the EEPROM settings right. But which page ?

    This one ?

    Or this one ?

    Regards,

    Corentin