Use the S32K396 SDADC Error problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Use the S32K396 SDADC Error problem

130件の閲覧回数
barrywang
Contributor I

hi

我们在使用S32K396 SDADC转换做旋变测量,发现结果和实际相差较大,大约有100MV。该结果已经过偏置和增益增益标定,计算公式使用的是·(Vin/5V)*32767。使能DSP后误差变得更大,大约300mv。大家有遇到过类似的问题吗?该如何处理?

We used S32K396 SDADC conversion to measure the rotation, and found that the result was quite different from the actual one, about 100MV. The results have been calibrated for bias and gain gain using the formula ·(Vin/5V)*32767. After DSP is enabled, the error becomes larger, about 300mv. Have you ever had a similar problem? How to deal with it?

タグ(1)
0 件の賞賛
返信
3 返答(返信)

94件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

Please share your complete project in a zip, as we as HW (board connections) & SW (IDE and RTD versions) installation details in order to reproduce your issue from our side, like plug & play. Feel free to share any details to speed up the test and therefore the resolution of the problem.

Have a nice day!

0 件の賞賛
返信

44件の閲覧回数
barrywang
Contributor I

thanks Leo. demo and sch as attached.

The development board I use is S32K396-LQFP-DC, and the filtering circuits of SDADC0 AN0 and AN1 channels are shown in the following figure.

barrywang_0-1727229206222.png

I am testing the AN2 and AN3 channels of SDADC0, and the input circuit is shown below:

barrywang_1-1727229379893.png

I use the FIFO interrupt of SDADC to transfer the collected data into the data array, and the FIR filter is not enabled in SDADC. I measured a 2V, 10kHz sinusoidal signal and the resulting data array is plotted in the following image.

barrywang_2-1727229522750.png

In this case, SDADC works fine; However, after the FIR filter is enabled, there are problems with the output data. The filtered converted data appears incomplete, with an abnormal downward shift in the signal, as shown in the figure below.

barrywang_3-1727229596986.png

 

 

 

 

タグ(1)
0 件の賞賛
返信

22件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Thanks for the details.

Seems the same issue that this thread:

https://community.nxp.com/t5/S32K/S32K396-SDADC-measurement-of-AC-signals-shows-attenuation/td-p/195...

The inconvenience is that you are using the S32K396-LQFP-DC, and we do not have access to said board, because it is not available in our NXP page, and therefore we cannot debug your issue on our side.

Please check if this issue is reproducible in the S32K396-BGA-DC1? And how?

If not, I'll need to ask you to contact your NXP representative or whoever provided you with the S32K396-LQFP-DC to follow up with your issue please. An apology for the inconvenience.

Have a nice day!

0 件の賞賛
返信