Adc Driver Applications - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

5.10.4

ADC Driver Applications

There is onee sample applications demonstrating how ADC module can be used in a user
application. The supported DEMO boards for ADC sample application are MC56F8006DEMO.
5.10.4.1
adc_demo
{DSP56800E_Quick_Start Source}\..\sample_applications\MC56F8006DEMO\adc_demo
The demo application is using the PWM module to generate two analog signals. The analog
signals are connected to the ADC module ANA7 and ANA9 inputs. The ADC module is triggered
by Software when AD conversion is completed. Converted analog value is readed and stored in
the ADC interrupt rutine.
In FreeMASTER are shown actual values of PWM outputs and actual converted ADC value.
PWM output 1 generates a sawtooth signal and PWM output 2 can by set by user. In
FreeMASTER it is possible to change reference voltage. Another possibility is possibility to
select conversion 8bit/10bit/12bit mode
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.
FREESCALE SEMICONDUCTOR
Targeting 56F8xxx Platform
5-455

Advertisement

Table of Contents
loading

Table of Contents