Tool/software:
"7.3.1.14.2 Activating the SPI Interface
To activate SPI communication, perform the following steps in order:
1. Enable SPI by writing 1 to the SPI_EN bit in the DIG_IF_CTRL register.
2. Enable the digital interface by writing 1 to the IF_SEL bit in the MICRO_INTERFACE_CONTROL register.
3. If the SPI master is to communicate to the PGA970 device with the microprocessor in reset, reset the microprocessor by writing 1 to the MICRO_RESET bit in the MICRO_INTERFACE_CONTROL register. If the SPI master is to communicate with the PGA970 device while the microprocessor is running, then the COMBUF registers are used for communication."
- So now I have the following Questions:Can I write the DIG_IF_CTRL and the MICRO_INTERFACE_CONTROL Registers over SPI even if SPI isn't activated or have I to perform this via OWI or Firmware?
- If SPI then is activated is it possible to write Firmware to the device via SPI? Because I read in the datasheet, that Access to the whole Memory of the device is possible, if the microcontroller is in RESET state.
- Also some another About the PGA970: How big is the maximum Voltage the PGA can generate for the excitation of the primary coil. In the datasheet the DAC range is specified with 1.25 V. That means in Theory, the DAC can generate a Voltage between 0 and 1.25 V. But the differential Offset has to be adjusted between 0.82 V and 0.88 V. So I guess the maximum Amplitude I can reach is 1.25 V - 0.82 V = 0.43 V. So after the gain stage with maximum 1.67 V/V it's possible to reach an Amplitude of 0.43 V * 1.67 V/V = 0.71 Vp which results in 1.43 Vpp in differential mode. DIFF_VOCM_CTRL will define the DC Offset of this AC voltage.
So far, please tell me if if I wellunderstood the function of the waveform Generator.
Then, is it also possible to us the full DAC range for an Amplitude of 1.25 V / 2 = 0.625 Vp which should result in an Amplitude of 1.04 Vp after the gain stage?
I'm glad to to hear from you.
Joel