adc_pal configuration for group convertion with EMIOS hardware trigger

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

adc_pal configuration for group convertion with EMIOS hardware trigger

988 Views
LyncLin
Contributor III

Hi,

I'm using ADC_PAL component of processor expert to configure for a EQADC conversion group triggered by EMIOS edge. When there are 4 adc channels in the group, the hardware trigger and conversion works fine. However, when I add another channel and there are 5 channels in the same group, it can't sample and conversion correctly.

Then I try to use software trigger to do the same test. It works fine with 4channels, but return STATUS_BUSY status with 5 channels. Enclosed with the project I'm using.

Is there any limitation in the number of conversions in one group?

0 Kudos
3 Replies

951 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, there no such limitation there, at least in case eQADC commands are being filled by DMA continuously. Are yo using streaming mode?

I am going to check your attachment as soon as possible.

0 Kudos

941 Views
LyncLin
Contributor III

Thanks for your reply. 

I check the RM of MPC5777C, the ADC fifo depth is four, is it root cause for this case?

What should I do if I want sample more than 4 channels in a single trigger, should I activate streaming mode?

0 Kudos

911 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Certainly not, but you may use up to 8 command entries with streaming mode, in case configuration used does not continuously push command to the CFIFO (by DMA).

0 Kudos