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.

PGA2311: MSP430 sample code to interface with PGA2311

Part Number: PGA2311
Other Parts Discussed in Thread: TPA3245

Hi,

My customer would like to design an amplifier system with a MSP430 MCU, PGA2311 and a TPA3245 Class D amp.

Is there any MSP430 sample code to interface with the PGA2311 through the serial interface ?

Thanks,

C M HO.

  • Hi C M HO,
    I am not aware of any MSP430 sample code for the PGA2311. However, the PGA2311 uses a fairly simple 3-wire protocol, similar to SPI. Configuration only requires 2 bytes - the first byte configures the right channel gain (MSB first), and the second byte configures the left channel gain (again MSB first). There isn't any special configuration required (in terms of a write command or register address) to set these values, so the code should be pretty basic, even if the protocol has to be bit-banged.
  • Hi Alex,

    Thanks for the advise.
    Will ask customer just to bit bang the two registers in.


    Regards,
    C M HO.