Example MPC5644A eQADC channel 146 conversion+calibration CW210

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

Example MPC5644A eQADC channel 146 conversion+calibration CW210

Example MPC5644A eQADC channel 146 conversion+calibration CW210

********************************************************************************

* Detailed Description:

* Initializes eQADC module, performs calibration and converts channel 146

* (voltage level of VDD) to check core voltage level and displays it into

* terminal window. No external connection required excluding terminal via eSCI.

*

* ------------------------------------------------------------------------------

* Test HW:        XPC564AKIT208S and XPC564AKIT324S

* MCU:            SPC5644AMMG1,0M14X and SPC5644AMVZ1,0M14X

* Fsys:           150/132/120/12 MHz

* Debugger:       Lauterbach Trace32

*                 PeMicro USB-ML-PPCNEXUS

* Target:         RAM, internal_FLASH

* Terminal:       19200-8-no parity-1 stop bit-no flow control on eSCI_A

* EVB connection: default

*

********************************************************************************

Labels (1)
Attachments
Comments

What needs to be modified in this example to read and convert AN17, channel 17?  Just the following?

PUSH_TO_CFIFO0( CAL |
                EOQ |
                MESSAGE_TAG(RFIFO0) |
                CHANNEL(17) );

%3CLINGO-SUB%20id%3D%22lingo-sub-1120291%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5644A%20eQADC%20channel%20146%20conversion%2Bcalibration%20CW210%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1120291%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%20Initializes%20eQADC%20module%2C%20performs%20calibration%20and%20converts%20channel%20146%3C%2FP%3E%3CP%3E*%20(voltage%20level%20of%20VDD)%20to%20check%20core%20voltage%20level%20and%20displays%20it%20into%3C%2FP%3E%3CP%3E*%20terminal%20window.%20No%20external%20connection%20required%20excluding%20terminal%20via%20eSCI.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20XPC564AKIT208S%20and%20XPC564AKIT324S%3C%2FP%3E%3CP%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%20SPC5644AMMG1%2C0M14X%20and%20SPC5644AMVZ1%2C0M14X%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20150%2F132%2F120%2F12%20MHz%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%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%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20RAM%2C%20internal_FLASH%3C%2FP%3E%3CP%3E*%20Terminal%3A%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%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%20default%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1120291%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%20Initializes%20eQADC%20module%2C%20performs%20calibration%20and%20converts%20channel%20146%3C%2FP%3E%3CP%3E*%20(voltage%20level%20of%20VDD)%20to%20check%20core%20voltage%20level%20and%20displays%20it%20into%3C%2FP%3E%3CP%3E*%20terminal%20window.%20No%20external%20connection%20required%20excluding%20terminal%20via%20eSCI.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20XPC564AKIT208S%20and%20XPC564AKIT324S%3C%2FP%3E%3CP%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%20SPC5644AMMG1%2C0M14X%20and%20SPC5644AMVZ1%2C0M14X%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20150%2F132%2F120%2F12%20MHz%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%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%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20RAM%2C%20internal_FLASH%3C%2FP%3E%3CP%3E*%20Terminal%3A%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%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%20default%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1120291%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1120292%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Example%20MPC5644A%20eQADC%20channel%20146%20conversion%2Bcalibration%20CW210%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1120292%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWhat%20needs%20to%20be%20modified%20in%20this%20example%20to%20read%20and%20convert%20AN17%2C%20channel%2017%3F%20%26nbsp%3BJust%20the%20following%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%20PUSH_TO_CFIFO0(%20CAL%20%7C%20%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20EOQ%20%7C%20%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20MESSAGE_TAG(RFIFO0)%20%7C%20%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20style%3D%22font-family%3A%20'courier%20new'%2C%20courier%2C%20monospace%3B%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20CHANNEL(17)%20)%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎08-07-2014 04:55 AM
Updated by: