Pga Driver Applications - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

5.11.4

PGA Driver Applications

There is onee sample applications demonstrating how PGA module can be used in a user
application. The supported DEMO boards for PGA sample application are MC56F8006DEMO.
5.11.4.1
pga_demo
{DSP56800E_Quick_Start Source}\..\sample_applications\MC56F8006DEMO\pga_demo
The demo application is using the PWM module to generate two analog signals. The analog
signals are connected to the PGA module input.The PGA module is triggered by Software every 8
PWM cycles. Converted analog value is readed and stored in ADC interrupt rutine.
In FreeMASTER are shown actual values of PWM outputs and actual converted ADC values.
PWM output 1 generates a sawtooth signal and PWM output 2 generates a reverse sawtooth
signal. In FreeMASTER it is possible to change amplifier gain. Another possibility is automatic
amplifier gain - amplifier gain depends on actual input voltage value.
There are 6 LED diodes on this board. The led diodes PWM0 and PWM1 indicate values of PWM
outputs.
LED diode PWM5 indicates that the main loop is working correctly.
LED diode PWM4 indicates that the PWM module is reloading correctly.
LED diode PWM3 indicates that the ADC module is convering correctly.
5-478
Targeting 56F8xxx Platform
FREESCALE SEMICONDUCTOR

Advertisement

Table of Contents
loading

Table of Contents