Peter Becher

PE ADC "High" Level Component Problem for 56F827xx

Discussion created by Peter Becher on Feb 13, 2017
Latest reply on Feb 27, 2017 by Peter Becher

Hi All

I am setting up a PE ADC High level component and am having a problem with the Internal Trigger, Trigger Input settings.  This is for a 56F82748 DSC and using the 12 Bit Cyclic ADC.

I get the following error in the ADC Component setttings.

and in the Problems it shows the following Errors.

The strange thing is that the ADC_LDD driver that the ADC High level component is using is happy

  and it is set to the same TA0_OUT as shown below (set automatically from the ADConv component).

The error message seems to indicate that the XBARA is not set up properly.  So I added that component and the "Automatic" settings show that the timer I want to use is routed to the ADC.

Also the Pin Settings component shows the ADCA Trigger Input connected to TA0_OUT.

To me this seems like a bug but maybe I missed something.

The only other thing I see that may be a clue is the errors showing up -

"ERROR: Internal signal "TA0_OUT" is selected. Device "TMR0_CNTR" of linked bean "TMR0_pwm" is not interconnected with device "ADC"!"

and "Routing peripheral is not selected/specified (Trigger input)"

 - but not sure why it is saying that since they seem to be connected through the XBARA.

Thanks for your Help!  (I tried on the PE Community but no responses)