Example MPC5676R-eQADC_DECFILTER_integrator_eTPU CW210

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example MPC5676R-eQADC_DECFILTER_integrator_eTPU CW210

Example MPC5676R-eQADC_DECFILTER_integrator_eTPU CW210

********************************************************************************
* Detailed Description:
* Initializes eQADC module, performs calibration and cyclically converts PMC
* internal channel as specified by macros CHOOSEN_PMC_ADC_CHNL,
* CHOOSEN_PMC_ADC_SCALE and CHOOSEN_PMC_ADC_COMMAND to check particular voltage
* level, displaying it into terminal window.
* Example configures decimation filter to scale signal down by 1/16, this is
* achieved by FIR filter (user could choose real filter by proper coeficient
* selection).
* Example also sums filtered samples by integrator that is configured to be
* triggered and zeroed by eTPU signal (for simplicity it uses general purpose
* outputs). Integrated values are displayed in terminal window as well.
* No external connection required excluding terminal via eSCI.
* ------------------------------------------------------------------------------
* Test HW:         XPC567XKIT516 - MPC567xADAT516 Rev.D, MPC567XEVBFXMB Rev.C
* MCU:             PPC5676RDMVY1 3N23A
* Terminal:        19200-8-no parity-1 stop bit-no flow control on eSCI_A
* Fsys:            180MHz
* Debugger:        Lauterbach Trace32
*                  PeMicro USB-ML-PPCNEXUS
* Target:          RAM, internal_FLASH
* EVB connection:  default
********************************************************************************
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1129041%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5676R-eQADC_DECFILTER_integrator_eTPU%20CW210%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1129041%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CPRE%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%20Initializes%20eQADC%20module%2C%20performs%20calibration%20and%20cyclically%20converts%20PMC%20%3CBR%20%2F%3E*%20internal%20channel%20as%20specified%20by%20macros%20CHOOSEN_PMC_ADC_CHNL%2C%20%3CBR%20%2F%3E*%20CHOOSEN_PMC_ADC_SCALE%20and%20CHOOSEN_PMC_ADC_COMMAND%20to%20check%20particular%20voltage%20%3CBR%20%2F%3E*%20level%2C%20displaying%20it%20into%20terminal%20window.%3CBR%20%2F%3E*%20Example%20configures%20decimation%20filter%20to%20scale%20signal%20down%20by%201%2F16%2C%20this%20is%3CBR%20%2F%3E*%20achieved%20by%20FIR%20filter%20(user%20could%20choose%20real%20filter%20by%20proper%20coeficient%20%3CBR%20%2F%3E*%20selection).%3CBR%20%2F%3E*%20Example%20also%20sums%20filtered%20samples%20by%20integrator%20that%20is%20configured%20to%20be%20%3CBR%20%2F%3E*%20triggered%20and%20zeroed%20by%20eTPU%20signal%20(for%20simplicity%20it%20uses%20general%20purpose%20%3CBR%20%2F%3E*%20outputs).%20Integrated%20values%20are%20displayed%20in%20terminal%20window%20as%20well.%20%3CBR%20%2F%3E*%20No%20external%20connection%20required%20excluding%20terminal%20via%20eSCI.%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20XPC567XKIT516%20-%20MPC567xADAT516%20Rev.D%2C%20MPC567XEVBFXMB%20Rev.C%3CBR%20%2F%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5676RDMVY1%203N23A%3CBR%20%2F%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20eSCI_A%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20180MHz%3CBR%20%2F%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3CBR%20%2F%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20RAM%2C%20internal_FLASH%3CBR%20%2F%3E*%20EVB%20connection%3A%26nbsp%3B%20default%3CBR%20%2F%3E********************************************************************************%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1129041%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%20Initializes%20eQADC%20module%2C%20performs%20calibration%20and%20cyclically%20converts%20PMC%20%3CBR%20%2F%3E*%20internal%20channel%20as%20specified%20by%20macros%20CHOOSEN_PMC_ADC_CHNL%2C%20%3CBR%20%2F%3E*%20CHOOSEN_PMC_ADC_SCALE%20and%20CHOOSEN_PMC_ADC_COMMAND%20to%20check%20particular%20voltage%20%3CBR%20%2F%3E*%20level%2C%20displaying%20it%20into%20terminal%20window.%3CBR%20%2F%3E*%20Example%20configures%20decimation%20filter%20to%20scale%20signal%20down%20by%201%2F16%2C%20this%20is%3CBR%20%2F%3E*%20achieved%20by%20FIR%20filter%20(user%20could%20choose%20real%20filter%20by%20proper%20coeficient%20%3CBR%20%2F%3E*%20selection).%3CBR%20%2F%3E*%20Example%20also%20sums%20filtered%20samples%20by%20integrator%20that%20is%20configured%20to%20be%20%3CBR%20%2F%3E*%20triggered%20and%20zeroed%20by%20eTPU%20signal%20(for%20simplicity%20it%20uses%20general%20purpose%20%3CBR%20%2F%3E*%20outputs).%20Integrated%20values%20are%20displayed%20in%20terminal%20window%20as%20well.%20%3CBR%20%2F%3E*%20No%20external%20connection%20required%20excluding%20terminal%20via%20eSCI.%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20XPC567XKIT516%20-%20MPC567xADAT516%20Rev.D%2C%20MPC567XEVBFXMB%20Rev.C%3CBR%20%2F%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5676RDMVY1%203N23A%3CBR%20%2F%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20eSCI_A%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20180MHz%3CBR%20%2F%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3CBR%20%2F%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20RAM%2C%20internal_FLASH%3CBR%20%2F%3E*%20EVB%20connection%3A%26nbsp%3B%20default%3CBR%20%2F%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-TEASER%3E
No ratings
Version history
Last update:
‎11-30-2022 08:02 AM
Updated by: