TEF82XX RF init failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

TEF82XX RF init failed

4,993 次查看
WenChao
Contributor II

MCU:S32R45,RF :TEF82XX   SDK:S32R45_RSDK__1.0.0 function:AppRfeInit(0, RSDK_RFE_STANDALONE);

Error code error was reported during RF initialization.

Error code info: 65795/**< ADC calibration timeout failure .could you help with it?what should I do?

0 项奖励
回复
11 回复数

4,862 次查看
WenChao
Contributor II

thank U very much. It helps me a lot.My question are that :

1. ADC calibration is only internal error reporting of TFF82. This design only provides external 40MHz crystal oscillator, is it related to this crystal oscillator? Or does it have to do with RF routing?

 

0 项奖励
回复

4,840 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

1. ADC calibration is only internal error reporting of TFF82. This design only provides external 40MHz crystal oscillator, is it related to this crystal oscillator? Or does it have to do with RF routing?

Ahh, ok now I see. I get it all wrong.

The issue is not from uC but from AFE.

The ADC calibration of TEF82xx is described in TEF82xx reference manual:

The details on ADC calibration are in chapter 4.7.1 ADC calibration

petervlna_0-1684826490976.png

Since I am not familiar with RSDK background calibration, its hard to say, but I expect there must be some parameters set for calibration.

Could you share how you do the background calibration?

Apart from this, it is always good to submit a ticket at NXP web page as then you can get in touch with RADAR team directly.

Best regards,

Peter

 

0 项奖励
回复

4,829 次查看
WenChao
Contributor II

HI~ I used rsdk_1.1.0 and I didn't change any REF setting value, the REF setting value is in C:\NXP\S32R45_RSDK__1.1.0\RFE_abstract\RFE_driver\src\tef82xx\bc\inc\bc_conf.h, 

WenChao_0-1684897874902.png

when I change the ADC calibration bigger,It still reported the same error code .what should I do?

2  how to submit a ticket at NXP web page as then you can get in touch with RADAR team?

3 .sometimes it reported   RSDK_TEF82XX_SYS_MCLK_INTEGRITY_FAILED,             /**< MCLK for serializer(LVDS/MIPI) is not within range, is it relate to ADC calibration error?

0 项奖励
回复

4,824 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Ok, I am not sure here what is wrong as you have your own design.

Best would be to rise ticket for RADAR team.

Here is the simple guide:

https://community.nxp.com/t5/HomeTest-Knowledge-Base/How-to-submit-a-new-question-for-NXP-Support/ta...

Best regards,

Peter

0 项奖励
回复

4,817 次查看
WenChao
Contributor II
0 项奖励
回复

4,809 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

OK, there must be some issue with your firewall or so.

As the guidance is on the same community as this thread.

Here is the basic screenshot where to find ticket:

petervlna_0-1684913253838.png

Best regards,

Peter

0 项奖励
回复

4,979 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you share more info on the issue?

Is the HW from NXP or custom design?

The calibration is described in reference manual:

petervlna_0-1684314695576.png

What is the outcome of debugging? CALFAIL flag is set? etc...

Best regards,

Peter

 

0 项奖励
回复

4,973 次查看
WenChao
Contributor II

(1)HW :custom design,2 TEF82XX  cascade

(2)if calstat reg fail,how can I fix it?

0 项奖励
回复

4,945 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

(1)HW :custom design,2 TEF82XX  cascade

Does the calibration fails on multiple devices or on just one?

(2)if calstat reg fail,how can I fix it?

MSR[CALFAIL] = 1 means a calibration fail and a determined calibration value is out of internal defined limits. It also means that the ADC health may not be good and may not meet specifications.

I would first confirm that issue is present on multiple samples.

If yes, the check the steps to see where the fail happen.

The results of individual steps are also updated in CALSTAT register (CALSTAT[STAT_n]). The result of the last failed step is dynamically updated in the same register.

Best regards,

Peter

0 项奖励
回复

4,933 次查看
WenChao
Contributor II

(1)Does the calibration fails on multiple devices or on just one?

calibration fails on multiple devices.

(2) I have tried S32R45_RSDK_1.1.0, the error code is  RSDK_TEF82XX_ADC_CALIBRATIONFAILED,   /**< ADC calibration failure */

So does it mean that the ADC health may not be good and may not meet specifications?

I am researching The reg CALSTAT register .

Best regards,

0 项奖励
回复

4,912 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

So does it mean that the ADC health may not be good and may not meet specifications?

Yes, that could be the case.

Please get in touch with NXP engineer who did your design review to confirm if your custom board is according to specification.

Also are all the voltages in datasheet specified range, when the calibration is started?

Best regards,

Peter

0 项奖励
回复