QE16 A/D

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

QE16 A/D

388 Views
Julian99
Contributor II

I am using ProcessorExpert to configure the A/D converter on a QE16CFT (Latest version of CodeWarrior). The ADC appears in the components window and I can select it in the Component Inspector. I have configured it for 10-bit single channel continuous conversion (No interrupt) and Port PTA1 as the analog input.

Under the Methods tab all functions are listed, but the Start and Stop methods are not available - they are Greyed out (showing "don't generate code").

What am I doing wrong? It is hardly surprising that I don't get a "Conversion Complete" flag if I can't even start the facility.

0 Kudos
Reply
1 Reply

328 Views
Pablo_Ramos
NXP Employee
NXP Employee

Hi @Julian99,

Could you share how you are configuring the Method tab for the ADC?

If you click on don't generate code, you should be able to change it to generate code.

Pablo_Ramos_0-1763067529046.png

Are you able to make this modification?

Best Regards,
Pablo

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2202899%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EQE16%20A%2FD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202899%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20using%20ProcessorExpert%20to%20configure%20the%20A%2FD%20converter%20on%20a%20QE16CFT%20(Latest%20version%20of%20CodeWarrior).%20The%20ADC%20appears%20in%20the%20components%20window%20and%20I%20can%20select%20it%20in%20the%20Component%20Inspector.%20I%20have%20configured%20it%20for%2010-bit%20single%20channel%20continuous%20conversion%20(No%20interrupt)%20and%20Port%20PTA1%20as%20the%20analog%20input.%3C%2FP%3E%3CP%3EUnder%20the%20Methods%20tab%20all%20functions%20are%20listed%2C%20but%20the%20Start%20and%20Stop%20methods%20are%20not%20available%20-%20they%20are%20Greyed%20out%20(showing%20%22don't%20generate%20code%22).%3C%2FP%3E%3CP%3EWhat%20am%20I%20doing%20wrong%3F%20It%20is%20hardly%20surprising%20that%20I%20don't%20get%20a%20%22Conversion%20Complete%22%20flag%20if%20I%20can't%20even%20start%20the%20facility.%3C%2FP%3E%3C%2FLINGO-BODY%3E