MPC5777C Decimation filter timestamp issue

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

MPC5777C Decimation filter timestamp issue

263 Views
ux987
Contributor I

I need guidance for one of the issue which I am facing currently with the decimation filter module.

We have requirement to configure DF devices for trigger based ADC channels, which are configured with timestamp feature.

1. eQADC configured for timestamp feature. ADC0/1_TBSEL[0:1] , EQADC_STACCCR configured for SRV2

2. Conversion commands are enabled with TSR bit (Time Stamp Request)

3. To move RFIFO results to DF devices ACR1 is configured = ACR1 = 0x0040 0030

4. Alternate conversion command is also configured w.r.t ACR1.

5. DEST field is updated for DF device. DF device A is configured as Head block and B as tail block.

6. Respective DF devices are configured as below, coefficient registers are updated

TMODE 0

TORE 0

EDME 0

OBIE 0

IBIE 0

DSEL 0

SDIE 0

DEC_RATE 0

MIXM 0

ISEL 0

SAT 0

IDIS 0

SCAL 01

FTYPE 01

ERREN 0

ODEN 0

IDEN 0

CASCAD 01

SRES 1

FRZ 0

FREN 0

MDIS 0

With this I am able to see TAP registers are updating and I am able to see ADC counts in RAM result FIFO.

But I am not able to see timestamp getting updated.

Where as same triggered based ADC channel without DF , I can see time stamp getting updated.

Request to direct me further what configuration I might be missing .

0 Kudos
1 Reply

239 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

You are selecting STAC server for timestamps what points only to eTPU counters on this device. See Table 37-2. Do you have eTPU running?

I made two examples which could possibly help to you to configure it properly:

Timestamp:
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5777C-eQADC-Simple-Calibration-Timest...

Decimation filter:
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5676R-eQADC-DECFILTER-integrator-eTPU...

0 Kudos