AnsweredAssumed Answered

Using Codewarrior and PE on FRDM board, getting ADC and DAC to work

Question asked by Steven Cohen on Dec 1, 2012
Latest reply on Dec 2, 2012 by filipsobczak

1.  In trying to get a simple ADC function to work using adc and PE typical example code, the code doesn't compile.  One variable doesn't seem to be defined.

If someone has a working PE example of a single channel conversion that would be great.


2.  For a simple DAC example using CW and PE, when trying to execute

Error = dim_voltage_SetValue(MyDACDataPtr, 0xffff);  which is basically sending a value to the DAC output, the debugger goes to:




  /* This code can be changed using the CPU component property "Build Options / Unhandled int code" */



what causes this, and if its an unhandled interrupt how do I find out what caused it?