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:
PE_ISR(Cpu_Interrupt)
{
/* This code can be changed using the CPU component property "Build Options / Unhandled int code" */
PE_DEBUGHALT();
what causes this, and if its an unhandled interrupt how do I find out what caused it?