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: Using Arduino MEGA2560

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

I don't have PGA460-Q1. Can I use Arduino MEGA2560 to comunicate with PGA460PSM-EVM? If yes, how can I do it? How is the pinout configuration?

Hope to hear from you soon.

Best Regards,

Gabriel Onzi

  • Hi Gabriel,

    Yes, you can use the Arduino MEGA2560 to interface to the PGA460PSM-EVM through UART or SPI.

    For UART communication to the PGA460PSM-EVM, you will need to connect:

    • Supply voltage of 7-28V at the VPWR pin of the PGA460PSM-EVM
    • GND of MCU to GND of PGA460PSM-EVM
    • UART-TX from the master to the UART-RX of the PGA460PSM-EVM
    • UART-RX from the master to the UART-TX of the PGA460PSM-EVM

    For SPI communication to the PGA460PSM-EVM, you will need to connect:

    • Supply voltage of 7-28V at the VPWR pin of the PGA460PSM-EVM
    • GND of MCU to GND of PGA460PSM-EVM
    • SPI-MOSI from the master to the UART-RX of the PGA460PSM-EVM
    • SPI-MISO from the master to the UART-TX of the PGA460PSM-EVM
    • SPI-SCLK from the master to the UART-SCLK of the PGA460PSM-EVM
    • (Note, there is no SPI-NCS pin on the PGA460)

    If you are to use a 5V logic level microcontroller such as an Arduino, you must connect a 100kOhm pull-up resistor from the PGA460 TEST pin to an external 5V rail. If the PGA460 TEST pin is floating, then the device will assume 3.3V logic level operation. See the PGA460 datasheet section "7.3.12 TEST Pin Functionality" for details on enabling 5V logic level interfacing for UART or SPI.

    The PGA460 Energia Library and Code Example is available and can be easily ported into Arduino.