Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

PGA460PSM-EVM: USE SPI PROTOCOL ON PGA460PSM-EVM.

Part Number: PGA460PSM-EVM
Other Parts Discussed in Thread: ENERGIA, PGA460, MSP430F5529

Hi there,

I'm using UART protocol now, but I want to use SPI protocol. I'm using demo code that is  "PGA460 Energia Library and Code Example (Version 1.0.9) (Rev. I)". I run the code with Energia and I watched all measured dimensions. But when I select communication mode=3 (SPI), it never measured dimensions, I read "No object" on COM always. My settings as follows. I'm using also MSP430 Launchpad

Why cannot I read correct dimension? What is my fault? I connected MSP430's P3.2 pin to PGA460's SCLK pin, MSP430's P3.0 pin to PGA460's RXD pin, MSP430's P3.1 pin to PGA460's TXD pin. Is it correct? I applied external 7.7V to PGA460's PWR pin.

  • Hi Lacin,

    The PGA460 Energia library uses the secondary SPI port specific to the MSP430F5529 LaunchPad because the pins used for the primary SPI port are reserved for the PGA460's TCI interface . Here are the required connections for PGA460 SPI --> MSP430F5529 LaunchPad when using the PGA460 Energia library:

    • PGA460_SCLK --> P4.3 (SCK)
    • PGA460_RXD --> P4.1 (MOSI)
    • PGA460_TXD --> P4.2 (MISO)
    • PGA460_GND --> GND on LaunchPad
    • VPWR --> external PSU of 6-28V

    Also, in your sketch's execution input prompt, choose a Clock Divider (MHz) that will result in <=8MHz (i.e. "4=16/16"). The PGA460's SPI mode only supports up to 8MHz, so the "0" option for 16MHz will result in corrupt data.

  • Thanks Akeem, you're the best!