BCTU triggering: The delay of 8.039us ADC result received & trigger channel flag generation

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

BCTU triggering: The delay of 8.039us ADC result received & trigger channel flag generation

444 Views
nkarthik
Contributor III

hi NXP Team,

I am facing the delay of 8.039us observed between the ADC result received in FIFO and trigger channel flag generation.Micro : S32K344(EVal Board). Application: Motor control.

Please find attached doc for the details.Please provide your feedback to reduce the delay time.

 

0 Kudos
Reply
1 Reply

381 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

1. First, please refer to the 60.3.18 Conversion time section of S32K3XXRM, which has an example:
The total time for the three conversions = [(0 + 22 + (4×13) + 2) × 3] + 1 = 229 cycles ~= 2.862 μs

2024-12-11_12-49-44.jpg

 

2. I see that you set the Watermark value to 4. Does the total time for the four conversions calculated based on your CORE_CLK frequency and ADC configuration match the measured results?

BctuResultFifos Watermark value BctuWatermarkNotification.png
I see that you set the Adc Prescaler Value to 2, so the ADC controller clock is equal to half of the module clock

Adc Prescaler Value 2.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply