BTCU LIST Configuration

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

BTCU LIST Configuration

Jump to solution
7,241 Views
GaneshBhagwat
Contributor IV

I am facing an issue understanding the list of the BTCU. Currently, I can retrieve values in the DMA buffer, but they are not uniform. The values appear cyclic, making it difficult to map ADC values to specific indices. Additionally, the values vary, though some match the expected ADC values.

This issue primarily occurs when using two different ADC instances. In this example, I am using ADC1 and ADC0:

  • ADC1: S21_ChanNum45 and S8_ChanNum32
  • ADC0: S10_ChanNum34

Question:

  1. I understand that the "Last Channel" is used to indicate the next list if a different trigger is present. I want to confirm whether this applies only to a different trigger or also to the same trigger occurring in the next cycle.

1.png

Q2. Regarding the values, they are not consistent, as I mentioned earlier. Can you explain how this works and how I can achieve stable and consistent values?2.png3.png

As you can see, even without changing the voltage, the values sometimes rotate and appear in a different order

4.png5.png6.png7.png

Q3) I have encountered this issue of misinterpreting the BTCU list in multiple examples. For instance, I tested this example: [https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-PIT-BTCU-ADC-DMA-DS3-4-RTD100/ta-p/...], which includes a BTCU list. I noticed that the same channel appears twice, but I don’t understand the reason for this or how it maps to the BctuDmaFifo1. Could you please explain?

8.png

Q4) Additionally, could you explain the significance of the 'Watermark Value'

9.png

 

Q5) A more detailed explanation of the BTCU list would be very helpful. In terms of configuration, I believe I have set it up correctly, but the values do not appear at the expected indexes and do not match the BTCU list.

0 Kudos
Reply
1 Solution
7,084 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if 2 ADCs are triggered by BCTU (ADC0 and ADC1 in your case as target mask is 3) then a list should contain even number of items, ADCs are sampled parallelly as below  

PetrS_0-1739199374004.png

You should add another item for ADC1 conversion and mark it as last channel.
Moreover set watermark to 3.

BR, Petr

View solution in original post

8 Replies
7,232 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

pictures are very blurred, hard to read anything.
But lets try...

1) the CL operation is clearly described in chapters 64.3.2.1-3 of the RM, regarding NEXT and LAST option. If multiple ADCs are triggered then list items are taken in pairs (triplets), see more in chapter  64.3.4
2-3) cannot comment here, share complete BCTU setting in visible form.
4) FIFO Watermark specifies the FIFO watermark levels. If the number of active FIFO entries exceeds the watermark level, a DMA or interrupt request can be generated. Usually set based on BCTU list entries, if for example contains 6 items, watermark is set to 5. Means once 6 results are stored in FIFO interrupt is called and you can read those 6 results in callback. In case of DMA, the DMA reads the RXFIFO and fill user buffer and callback is called again.
5) refer e.g to https://community.nxp.com/t5/S32K/How-BCTU-LIST-items-works/m-p/1570114#M19447
Or share your config/code in readable form, or simplified project.

BR, Petr 

0 Kudos
Reply
7,222 Views
GaneshBhagwat
Contributor IV

I have attached a higher-resolution image along with a .zip file containing my configuration, which is focused solely on this functionality.1.png2.png3.png4.png5.png6.png7.png8.png9.png

0 Kudos
Reply
7,109 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it looks pretty the same, sorry. Also why you show list with 3 item at first then with 6 items. What is your need in fact? Then, no picture shows BCTU trigger setting, is it for single ADC or more?
Rather share your simplified project or explain more.

BR, Petr

0 Kudos
Reply
7,094 Views
GaneshBhagwat
Contributor IV

Can you consider only the below settings and provide comments based on that?

I have set up the ADC to obtain the following results:

  • Result[0] → ADC1, channel S21
  • Result[1] → ADC0, channel S10
  • Result[2] → ADC1, channel S8

However, is not appearing as expected.

I have reviewed the reference manual as you suggested. . I had some basic understanding issue regarding the same. 

Picture4.png

Regarding point 6 (the last point), does this mean I cannot sample ADC1 channels S8 and S21 simultaneously? Will the value update in the next trigger of BctuWatermarkNotification? Could this be the reason why the result is not updating as I expected?

I would appreciate it if you could clarify this behavior. If there are any corrections needed, please let me know. In my actual system, I have multiple ADCs, so I want to ensure I understand the behavior correctly with this basic example.

Rest of the configuration I think is okay.

Picture1.pngPicture2.pngPicture3.png

0 Kudos
Reply
7,089 Views
GaneshBhagwat
Contributor IV

Picture1.pngPicture2.png

0 Kudos
Reply
7,085 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if 2 ADCs are triggered by BCTU (ADC0 and ADC1 in your case as target mask is 3) then a list should contain even number of items, ADCs are sampled parallelly as below  

PetrS_0-1739199374004.png

You should add another item for ADC1 conversion and mark it as last channel.
Moreover set watermark to 3.

BR, Petr

7,062 Views
GaneshBhagwat
Contributor IV

Thanks a lot for this! I was missing that detail. It's working fine now—I updated the peripherals and code as per your recommendation. I hadn’t realized that the BCTU list[ADC0,ADC1,ADC0,ADC1] sequence maps directly to the ADC sequence.Capture.PNGPicture5.png

0 Kudos
Reply
7,210 Views
GaneshBhagwat
Contributor IV
 
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2039949%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBTCU%20LIST%20%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2039949%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20facing%20an%20issue%20understanding%20the%20list%20of%20the%20BTCU.%20Currently%2C%20I%20can%20retrieve%20values%20in%20the%20DMA%20buffer%2C%20but%20they%20are%20not%20uniform.%20The%20values%20appear%20cyclic%2C%20making%20it%20difficult%20to%20map%20ADC%20values%20to%20specific%20indices.%20Additionally%2C%20the%20values%20vary%2C%20though%20some%20match%20the%20expected%20ADC%20values.%3C%2FP%3E%3CP%3EThis%20issue%20primarily%20occurs%20when%20using%20two%20different%20ADC%20instances.%20In%20this%20example%2C%20I%20am%20using%20ADC1%20and%20ADC0%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3EADC1%3C%2FSTRONG%3E%3A%20S21_ChanNum45%20and%20S8_ChanNum32%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EADC0%3C%2FSTRONG%3E%3A%20S10_ChanNum34%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSTRONG%3EQuestion%3A%3C%2FSTRONG%3E%3C%2FP%3E%3COL%3E%3CLI%3EI%20understand%20that%20the%20%22Last%20Channel%22%20is%20used%20to%20indicate%20the%20next%20list%20if%20a%20different%20trigger%20is%20present.%20I%20want%20to%20confirm%20whether%20this%20applies%20only%20to%20a%20different%20trigger%20or%20also%20to%20the%20same%20trigger%20occurring%20in%20the%20next%20cycle.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%221.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%221.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322894i1B958803E2491FBC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%221.png%22%20alt%3D%221.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EQ2.%20Regarding%20the%20values%2C%20they%20are%20not%20consistent%2C%20as%20I%20mentioned%20earlier.%20Can%20you%20explain%20how%20this%20works%20and%20how%20I%20can%20achieve%20stable%20and%20consistent%20values%3F%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322893i043D3AD6071795CA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%222.png%22%20alt%3D%222.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%223.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322895i6EBBB512D9073136%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%223.png%22%20alt%3D%223.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAs%20you%20can%20see%2C%20even%20without%20changing%20the%20voltage%2C%20the%20values%20sometimes%20rotate%20and%20appear%20in%20a%20different%20order%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%224.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%224.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322896iFBB77057918304D1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%224.png%22%20alt%3D%224.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%225.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322898i2EFCB1436CC60200%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%225.png%22%20alt%3D%225.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%226.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%226.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322899i9E6E25B26A8D5916%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%226.png%22%20alt%3D%226.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%227.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%227.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322897i95CF19C224BEFC88%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%227.png%22%20alt%3D%227.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EQ3)%20I%20have%20encountered%20this%20issue%20of%20misinterpreting%20the%20BTCU%20list%20in%20multiple%20examples.%20For%20instance%2C%20I%20tested%20this%20example%3A%20%5B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FExample-S32K344-PIT-BTCU-ADC-DMA-DS3-4-RTD100%2Fta-p%2F1435324%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FExample-S32K344-PIT-BTCU-ADC-DMA-DS3-4-RTD100%2Fta-p%2F1435324%3C%2FA%3E%5D%2C%20which%20includes%20a%20BTCU%20list.%20I%20noticed%20that%20the%20same%20channel%20appears%20twice%2C%20but%20I%20don%E2%80%99t%20understand%20the%20reason%20for%20this%20or%20how%20it%20maps%20to%20the%20%3CSTRONG%3EBctuDmaFifo1%3C%2FSTRONG%3E.%20Could%20you%20please%20explain%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%228.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%228.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322900iA9B7EC9FB4310368%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%228.png%22%20alt%3D%228.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EQ4)%20Additionally%2C%20could%20you%20explain%20the%20significance%20of%20the%20'Watermark%20Value'%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%229.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%229.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322901i616EA8AD71FF0B6A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%229.png%22%20alt%3D%229.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EQ5)%20A%20more%20detailed%20explanation%20of%20the%20BTCU%20list%20would%20be%20very%20helpful.%20In%20terms%20of%20configuration%2C%20I%20believe%20I%20have%20set%20it%20up%20correctly%2C%20but%20the%20values%20do%20not%20appear%20at%20the%20expected%20indexes%20and%20do%20not%20match%20the%20BTCU%20list.%3C%2FP%3E%3CDIV%20class%3D%22%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F52961%22%20target%3D%22_blank%22%3E%40PetrS%3C%2FA%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2041031%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20BTCU%20LIST%20%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2041031%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20a%20lot%20for%20this!%20I%20was%20missing%20that%20detail.%20It's%20working%20fine%20now%E2%80%94I%20updated%20the%20peripherals%20and%20code%20as%20per%20your%20recommendation.%20I%20hadn%E2%80%99t%20realized%20that%20the%20BCTU%20list%5BADC0%2CADC1%2CADC0%2CADC1%5D%20sequence%20maps%20directly%20to%20the%20ADC%20sequence.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Capture.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Capture.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323194i139A2BF88F4D7F11%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Capture.PNG%22%20alt%3D%22Capture.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Picture5.png%22%20style%3D%22width%3A%20504px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Picture5.png%22%20style%3D%22width%3A%20504px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323195iD331C5DA357DB812%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture5.png%22%20alt%3D%22Picture5.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2040988%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20BTCU%20LIST%20%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2040988%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3Eif%202%20ADCs%20are%20triggered%20by%20BCTU%20(ADC0%20and%20ADC1%20in%20your%20case%20as%20target%20mask%20is%203)%20then%20a%20list%20should%20contain%20even%20number%20of%20items%2C%20ADCs%20are%20sampled%20parallelly%20as%20below%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PetrS_0-1739199374004.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PetrS_0-1739199374004.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323189iBA852E13039D9402%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22PetrS_0-1739199374004.png%22%20alt%3D%22PetrS_0-1739199374004.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EYou%20should%20add%20another%20item%20for%20ADC1%20conversion%20and%20mark%20it%20as%20last%20channel.%3CBR%20%2F%3EMoreover%20set%20watermark%20to%203.%3C%2FP%3E%0A%3CP%3EBR%2C%20Petr%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2040973%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20BTCU%20LIST%20%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2040973%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Picture1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Picture1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323185i2254E0B6EF08BC6F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture1.png%22%20alt%3D%22Picture1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Picture2.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Picture2.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323186i69F093B2865239CA%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture2.png%22%20alt%3D%22Picture2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2040963%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20BTCU%20LIST%20%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2040963%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECan%20you%20consider%20only%20the%20below%20settings%20and%20provide%20comments%20based%20on%20that%3F%3C%2FP%3E%3CP%3EI%20have%20set%20up%20the%20ADC%20to%20obtain%20the%20following%20results%3A%3C%2FP%3E%3CUL%3E%3CLI%3EResult%5B0%5D%20%E2%86%92%20ADC1%2C%20channel%20S21%3C%2FLI%3E%3CLI%3EResult%5B1%5D%20%E2%86%92%20ADC0%2C%20channel%20S10%3C%2FLI%3E%3CLI%3EResult%5B2%5D%20%E2%86%92%20ADC1%2C%20channel%20S8%3C%2FLI%3E%3C%2FUL%3E%3CP%3EHowever%2C%20is%20not%20appearing%20as%20expected.%3C%2FP%3E%3CP%3EI%20have%20reviewed%20the%20reference%20manual%20as%20you%20suggested.%20.%20I%20had%20some%20basic%20understanding%20issue%20regarding%20the%20same.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Picture4.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Picture4.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323180i50CB56B3B0558E28%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture4.png%22%20alt%3D%22Picture4.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ERegarding%20point%206%20(the%20last%20point)%2C%20does%20this%20mean%20I%20cannot%20sample%20ADC1%20channels%20S8%20and%20S21%20simultaneously%3F%20Will%20the%20value%20update%20in%20the%20next%20trigger%20of%20BctuWatermarkNotification%3F%20Could%20this%20be%20the%20reason%20why%20the%20result%20is%20not%20updating%20as%20I%20expected%3F%3C%2FP%3E%3CP%3EI%20would%20appreciate%20it%20if%20you%20could%20clarify%20this%20behavior.%20If%20there%20are%20any%20corrections%20needed%2C%20please%20let%20me%20know.%20In%20my%20actual%20system%2C%20I%20have%20multiple%20ADCs%2C%20so%20I%20want%20to%20ensure%20I%20understand%20the%20behavior%20correctly%20with%20this%20basic%20example.%3C%2FP%3E%3CP%3ERest%20of%20the%20configuration%20I%20think%20is%20okay.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Picture1.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Picture1.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323177i91F764579B67CA67%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture1.png%22%20alt%3D%22Picture1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Picture2.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Picture2.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323178iB2A01C640D8F8F87%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture2.png%22%20alt%3D%22Picture2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Picture3.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Picture3.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F323179iA607D07A247CA1D1%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture3.png%22%20alt%3D%22Picture3.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2040839%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20BTCU%20LIST%20%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2040839%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3Eit%20looks%20pretty%20the%20same%2C%20sorry.%20Also%20why%20you%20show%20list%20with%203%20item%20at%20first%20then%20with%206%20items.%20What%20is%20your%20need%20in%20fact%3F%20Then%2C%20no%20picture%20shows%20BCTU%20trigger%20setting%2C%20is%20it%20for%20single%20ADC%20or%20more%3F%3CBR%20%2F%3ERather%26nbsp%3B%3CSPAN%3Eshare%20your%20simplified%20project%20or%20explain%20more.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBR%2C%20Petr%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2040053%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20BTCU%20LIST%20%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2040053%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2040051%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20BTCU%20LIST%20%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2040051%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20attached%20a%20higher-resolution%20image%20along%20with%20a%20.zip%20file%20containing%20my%20configuration%2C%20which%20is%20focused%20solely%20on%20this%20functionality.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%221.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%221.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322926i7FDC2434FBBA777D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%221.png%22%20alt%3D%221.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322928i3D1FCBF0F5D2E670%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222.png%22%20alt%3D%222.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%223.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322929iEE3BD6ED11C8364E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%223.png%22%20alt%3D%223.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%224.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%224.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322927i670FFDAB2D7C360A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%224.png%22%20alt%3D%224.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%225.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%225.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322930i1FAAF78BEEE19C8A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%225.png%22%20alt%3D%225.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%226.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%226.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322931iA22A7E83C182126E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%226.png%22%20alt%3D%226.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%227.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%227.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322932i464EF91169F6760A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%227.png%22%20alt%3D%227.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%228.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%228.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322933i11A0A390A5484827%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%228.png%22%20alt%3D%228.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%229.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%229.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322934iF0EB20E5AD81F370%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%229.png%22%20alt%3D%229.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2039981%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20BTCU%20LIST%20%20Configuration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2039981%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3Epictures%20are%20very%20blurred%2C%20hard%20to%20read%20anything.%3CBR%20%2F%3EBut%20lets%20try...%3C%2FP%3E%0A%3CP%3E1)%20the%20CL%20operation%20is%20clearly%20described%20in%20chapters%2064.3.2.1-3%20of%20the%20RM%2C%20regarding%20NEXT%20and%20LAST%20option.%20If%20multiple%20ADCs%20are%20triggered%20then%20list%20items%20are%20taken%20in%20pairs%20(triplets)%2C%20see%20more%20in%20chapter%26nbsp%3B%2064.3.4%3CBR%20%2F%3E2-3)%20cannot%20comment%20here%2C%20share%20complete%20BCTU%20setting%20in%20visible%20form.%3CBR%20%2F%3E4)%20FIFO%20Watermark%26nbsp%3Bspecifies%20the%20FIFO%20watermark%20levels.%20If%20the%20number%20of%20active%20FIFO%20entries%20exceeds%20the%20watermark%20level%2C%20a%20DMA%20or%20interrupt%20request%20can%20be%20generated.%20Usually%20set%20based%20on%20BCTU%20list%20entries%2C%20if%20for%20example%20contains%206%20items%2C%20watermark%20is%20set%20to%205.%20Means%20once%206%20results%20are%20stored%20in%20FIFO%20interrupt%20is%20called%20and%20you%20can%20read%20those%206%20results%20in%20callback.%20In%20case%20of%20DMA%2C%20the%20DMA%20reads%20the%20RXFIFO%20and%20fill%20user%20buffer%20and%20callback%20is%20called%20again.%3CBR%20%2F%3E5)%20refer%20e.g%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FHow-BCTU-LIST-items-works%2Fm-p%2F1570114%23M19447%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FHow-BCTU-LIST-items-works%2Fm-p%2F1570114%23M19447%3C%2FA%3E%3CBR%20%2F%3EOr%20share%20your%20config%2Fcode%20in%20readable%20form%2C%20or%20simplified%20project.%3C%2FP%3E%0A%3CP%3EBR%2C%20Petr%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E