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.

CCS/PGA970EVM: EVM has no function and no activity on any pins (PGA970_FW_Release_1_5_Generic)

Part Number: PGA970EVM
Other Parts Discussed in Thread: USB2ANY, PGA970,

Tool/software: Code Composer Studio

Hello,

I'm trying to run the PGA970EVM. I have started last year with PGA GUI and USB2ANY, but I've never seen activity on any pin of the PGA970 (except SPI-lines): The only thing that happens is when using the Low Level Configuration I'm able to set a GPIO or the DAC output voltage for example - but NO firmware activity. I don't get any signal at the primary drive (TP45 and TP71). I have loaded the reference firmware (PGA970_FW_Release_1_5) several times, enabled the remapping and un-reset the processor - but nothing happens. Verifying of the DEVRAM was ok. Because I have no indication that the firmware is doing anything I have orderd a XDS200-Debugger. With the debugger I can step over some assembler code - but when initializing the C-variables an unexpected interrupt occurs and Fault_ISR() is entered (at position PC = 0x4D4 - see below). The compilation runs without errors, but the startup code seems to be corrupt (or there is a hardware problem ...).

$C$L9:
000004d2: 2300 movs r3, #0
000004d4: 7013 strb r3, [r2]
000004d6: 3201 adds r2, #1
000004d8: 3901 subs r1, #1
000004da: D1FA bne $C$L9
000004dc: 2101 movs r1, #1
000004de: 4468 add r0, sp, r0
000004e0: 2220 movs r2, #0x20
000004e2: 02C9 lsls r1, r1, #0xb

If it is helpful, I can provide more details like screen dumps etc. - thanks in advance.

Stephan Hotz

  • Hi Stephan,

    The reason why the Firmware is not performing any functions when you load it as is, is because all functions inside the example firmware have been switched OFF. Please look into the pga970_switch.h file for enabling different functions related to this firmware.

    Further, for PGA970 Evaluation you don't need to start with the firmware immediately, the GUI alone can also be used to evaluate the device.

    In the PGA970 GUI, after placing the device in "Digital Interface" mode, at the "ADC Settings" section and then:

    1. Enable VREF Buffer = Enabled, Analog Power = Out of ShutDown Mode

    3. Depending on what ADC will you be monitoring you can select ADC1 or ADC2 on the Tabs (Let's will assume ADC1)

    4. DEMOD1 Enable = Enabled, TestMux Enable = Enabled, Interfaces& Deci Clk = Enabled

    5. Sigma Delta Modulators = Not Reset, Modulator Clock = Not Reset, VCM Enable = Enabled, Output Rate should match Low Pass Filter Output Period

    6. All other according to your needs. Also Band-Pass Filter Center Frequency needs to match WFM Frequency at the Waveform Generation tab.

    7. On the Right Hand side is where you will generate your output Waveform. Select your options and click the "Populate Waveform Table" button.

    8. As values will appear in the table based on your settings, click Write to write these Waveform Samples to the PGA970 device.

    9. Click Generate below and the waveform will appear at the P1A and P2A pins on the EVM.

    At this point if you have LVDT sensor connected to your EVM, you can click the READ ADC button and get the demodulated voltage based on the position of the LVDT core.

    Please see the attached picture for the settings that I have used.

    Regards,

    Viktor.

  • Dear Viktor,

    thank you for your fast reply.

    Today I have installed the GUI on a new computer - now the GUI is working - GREAT !
    I did the same steps on two other computers before - but it seems that the GUI is not compatible with (the old) Windows XP ...

    Tomorrow I hope that I can continue with the XDS200 debugger. I have already tested to load firmware with some functions switched on - but it seems that the processor always hangs up ...
    I will try to use CCS7, but I don't believe that this is a problem of  "Windows XP" (with CCS6).

    Best regards
    Stephan