PHY_665A causing DET

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

PHY_665A causing DET

2,180 次查看
pjadhav21
Contributor II

Hello team,

I am integrating TPL module for my project on SPI 1 and 2. I have configured SPI device as well as configured PHY_665A and BMS_Common, Bcc_772a, Bcc_774a components. But I am getting below error stack:

Det_EndlessLoop()
Det_ReportError(:ModuleId = 255, :InstanceId = 0, :ApiId = 172, :ErrorId = 30)
Phy_665a_SpiVariantInit()
Phy_665a_Init(:McuIfProtocol = PHY_665A_SPI)
RE_ManageLED(:self = 0)
Os_Task_ApplicationTask()
Os_TrapIsrEpilogue()

tried to debug everyway possible in PHY_665A but somehow I believe, when Phy_665a_Init is called I am not able to enter SPI ISRs as well. 

Let me know if any supporting project or files needed. 


0 项奖励
回复
7 回复数

2,111 次查看
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

I have posted the description of your issue to a SW team. So far I haven't received an answer. As soon as I will receive an answer, I will definitely reply to you.

Thank you for your patience.

With Best Regards,

Jozef

0 项奖励
回复

2,072 次查看
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

unfortunately there is still no answer from the software team. As soon as I will receive an one, I will definitely reply to you.

Thank you for your patience.

With Best Regards,

Jozef

0 项奖励
回复

2,029 次查看
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

I apologize for the delay. I have just checked our internal community, but there is still no answer from the SW team. I have just sent them a reminder. As soon as they will answer me, I will definitely reply to you.

Thank you for your patience.

With Best Regards,

Jozef

0 项奖励
回复

2,019 次查看
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

please see below an answer from the SW team I have just received. 

DESCRIPTION

It might be an initialization issue? Are the dependency drivers initialized (SPI, GPT,ICU, MCL, MCU).

With Best Regards,

Jozef

0 项奖励
回复

2,020 次查看
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

please see below another answer from the SW team I have just received. 

DESCRIPTION

Please inform us about which version of BMS SDK and RTD drivers are you using.

Please make sure to have all the MCAL-layer drivers initialized prior to Phy_665a initialization: (Icu, Mcu, Mcl, Spi, Gpt, OsIf, Platform, Port, Rm). You can use an Tresos/S32DS example as a reference.

Please make sure you have the interrupts configured as specified in the user manual and that the interrupt controller is initialized and working.

Spi driver shall be configured to work in asynchronous mode.

With Best Regards,

Jozef

0 项奖励
回复

1,977 次查看
pjadhav21
Contributor II

Thank you so much for the response team. I was able to fix the issue, it was more of MCAL initialization sequence issue.

1,940 次查看
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Pratik,

great. I am glad, that your issue is solved. Thank you for letting me know. I will inform the SW team.

Have a nice day.

With Best Regards,

Jozef

0 项奖励
回复