Example MPC5674F eQADC+eDMA-Single+Differential+GAIN CW210

File uploaded by David Tosenovjan Employee on Oct 4, 2017Last modified by David Tosenovjan Employee on Oct 4, 2017
Version 3Show Document
  • View in full screen mode

********************************************************************************
* Detailed Description:
* Initializes eQADC module for differnential single scan mode (with choosen GAIN
* factor), converts specified command queue and displays results into terminal
* window when EOQ is reached.
* Differential analog input DAN0+:DAN0- needs to be connect externally between
* pins ANA_0 and ANA_1 to see some valid numbers.
* EVB potentiomenters can be used for the purpose.
* As differential mode has been used, eQADC does not required to be calibrated.            
*
* ------------------------------------------------------------------------------
* Test HW:         XPC567XKIT516 - MPC5674ADAT516 Rev.C, MPC567XEVBFXMB Rev.B
* MCU:             PPC5674FMVYA264
* Terminal:        19200-8-no parity-1 stop bit-no flow control on eSCI_A
* Fsys:            264/200/150/60 MHz
* Debugger:        Lauterbach Trace32
*                  PeMicro USB-ML-PPCNEXUS
* Target:          RAM, internal_FLASH
* EVB connection:  Potentiometers     --> ADC inputs
*                  USER_DEV_RV2(J4-7) --> ANA_0 (J18-3) DAN0+
*                  USER_DEV_RV3(J4-8) --> ANA_1 (J18-4) DAN0-
*
*                    Buttons            --> ADC triggers
*                    USER_DEV_1D(J4-2)  --> TPU_A0 (J22-1)                 
********************************************************************************

Outcomes