PE ADC "High" Level Component Problem for 56F827xx

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

PE ADC "High" Level Component Problem for 56F827xx

607 Views
dynapb
Contributor IV

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.

176195_176195.jpgPE-ADC_HighLevelComponentProb01.jpg

and in the Problems it shows the following Errors.

176196_176196.jpgPE-ADC_HighLevelComponentProb02.jpg

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

176197_176197.jpgPE-ADC_HighLevelComponentProb03.jpg

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

176198_176198.pngpastedImage_5.png

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.

176199_176199.pngpastedImage_7.png

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

176200_176200.pngpastedImage_2.png

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)

Pete

Labels (1)
0 Kudos
3 Replies

373 Views
dynapb
Contributor IV

All

Just to let everyone know the status of this bug.  The following is correspondence.

Dear Peter Becher,

I think it is the PE bug for MC56F82xxx, as a workaround, I think you can write register directly so that the PIT or quadTimer can trigger ADC. for example, if you want to use TA0 to trigger ADC: XBARA_SEL6=14; initailize the TA0 module so that it can generate the signal at the sample cycle time. 

Thank you for your interest in NXP Semiconductor products and 

for the opportunity to serve you. 

Best regards,

Xiangjun

Technical Support

NXP Semiconductor

Hi Xiangjun, 

Do you submit bugs to PE so they can be fixed or is there a way that I can submit them? 

It would be nice to get it fixed in future releases. 

Thanks, 

Pete

Hi, Pete,

I will submit a bug report to PE team, thank you for your understanding.

BR

Xiangjun Rong

0 Kudos

373 Views
dynapb
Contributor IV

Hi Xiangjun

Thanks for the reply.  You set up a Logical Device Driver (LDD).   The problem occurs when the component is a High Level driver that uses the LDD (I want to use that one because it can do multiple samples and averaging).  This image shows what driver I am using.  Can you select that one and see what the results are?

ADC_HighLevelDrvrSelect.png

When that component is set to the Internal Trigger Input that is when it cannot resolve the setting.

Is there any documentation that shows what "Routing peripheral is not selected/specified" is refering to in PE?

Also I did set up a separate project with just the ADC High level component and had the same problem.  If I disable the Internal Trigger then it is happy again but I want to trigger it off a timer.

Thanks,

Pete

0 Kudos

373 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I have tried to configure the ADC bean which simulate your PE setting, it seems that I have not problem:

Can you try to remove the other quadTimer beans and only keep one TA0 quadTimer bean and have a try?

It seems that the PE version is different for my CW for mcu tools.

BR

Xiangjun Rong

pastedImage_1.png

0 Kudos