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.

MSP430FR2355: How SAC2DAT affects SAC2output . How Much value i should keep in SACxDAT for Cacading SAC2 with SAC0

Part Number: MSP430FR2355



SAC2DAC = DACSREF_0 + DACLSEL_0; // Select internal Vref as DAC reference, DAC latch loads when DACDAT written
SAC2DAC |= DACEN; // Enable SAC2 DAC
SAC2OA = NMUXEN + PMUXEN + PSEL_1 + NSEL_0; // Select positive and negative input: positive-DAC, negative-P3.2
SAC2OA |= SACEN + OAEN; // Enable SAC2 and OA2
SAC0PGA |= MSEL_0;
SAC2DAT = 1500; // Set SAC2 DAC output = 600/4095*2000mV = 293mV

// Configure SAC0 as PGA inverting amplifier mode
SAC0DAC = DACSREF_0 + DACLSEL_0; // Select internal Vref as DAC reference,DAC latch loads when DACDAT written
SAC0DAC |= DACEN; // Enable SAC0 DAC
SAC0DAT = 1500; // Set SAC0 DAC output = 0.75V
SAC0OA = NMUXEN + PMUXEN + PSEL_1 + NSEL_1; // Select positive and negative input: positive-DAC, negative-paired OA output
SAC0PGA = MSEL_3; // Set negative input as paired OA output - SAC2
SAC0PGA |= GAIN0 + GAIN1 + GAIN2; // set PGA gain to 32

SAC0OA |= SACEN + OAEN; // Enable SAC1 and OA1

SAC Data changes the Sac output . how to reduce noise with the help of SACDATA. 

**Attention** This is a public forum