S32K312 bctu multiple parallel conversions

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

S32K312 bctu multiple parallel conversions

Jump to solution
1,553 Views
Vandarkholme
Contributor III

hello! refer to post "Example S32K312 PIT BTCU parallel ADC FIFO DMA DS3.5 RTD300 - NXP Community" I write my adc demo,  my question is:

can I set bctu list like this rule(channel of adc0 is more than adc1, there is 10 adc0 channels and 2 adc1 channels)?

  1. adc0-p0
  2. adc0-p1
  3. adc0-p2
  4. ..........
  5. adc0-p9(last channel)
  6. adc1-p0
  7. adc1-p1(last channel)

or bctu mpc list must set like:

  1. adc0-p0
  2. adc1-p0
  3. adc0-p1
  4. adc1-p1(last channel)
  5. adc0-p2
  6. .........
  7. adc0-p10(last channel)

thanks!

0 Kudos
Reply
1 Solution
1,534 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you set a trigger to do MPC (multiple parallel conversions), means you set more ADCSELx bits in TRGCFG then subsequent n items in your list specifies channels parallelly converted. So second option you outlined is correct

PetrS_0-1729847231737.png

BR, Petr

View solution in original post

0 Kudos
Reply
1 Reply
1,535 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you set a trigger to do MPC (multiple parallel conversions), means you set more ADCSELx bits in TRGCFG then subsequent n items in your list specifies channels parallelly converted. So second option you outlined is correct

PetrS_0-1729847231737.png

BR, Petr

0 Kudos
Reply