Calculating Adc Sampling time in Seconds AURIX TC3xx

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MohMMahfouz
Level 1
Level 1
First reply posted First question asked Welcome!

Hello,

I am using TriCore AURIX TC3xx microcontroller.

I'm looking to calculate the sampling time in seconds for my Adc module, but I believe I'm missing something

For now I calculated the Adc Frequency, which as far as I understand is the same as McuClockReferencePointFrequency1, from the following equation before any bypassing "Fpll =( (Fosc * (McuNDivider + 1)) / ((McuK2Divider+1)*(McuPDivider+1)))"
I then have the sampling time in clock cycles configured, let's call it STadc

I try to calculate the time by the following equation "STadc/Fpll", but I feel like I'm missing a step. I get very high sampling rates for an Adc module and I wanted smaller ones.
What am I missing here?

Thank you

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

dw_0-1669020280082.png

Above example is in user manual, and fADC = 160MHz for your reference.

View solution in original post

0 Likes
3 Replies
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

dw_0-1669020280082.png

Above example is in user manual, and fADC = 160MHz for your reference.

0 Likes

Would you mind linking me to the user manual, I can't seem to find it

0 Likes